1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\OSConfig;
|
---|
19 |
|
---|
20 | class InventorySoftwarePackage extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $aptPackageType = InventoryVersionedPackage::class;
|
---|
23 | protected $aptPackageDataType = '';
|
---|
24 | protected $cosPackageType = InventoryVersionedPackage::class;
|
---|
25 | protected $cosPackageDataType = '';
|
---|
26 | protected $googetPackageType = InventoryVersionedPackage::class;
|
---|
27 | protected $googetPackageDataType = '';
|
---|
28 | protected $qfePackageType = InventoryWindowsQuickFixEngineeringPackage::class;
|
---|
29 | protected $qfePackageDataType = '';
|
---|
30 | protected $windowsApplicationType = InventoryWindowsApplication::class;
|
---|
31 | protected $windowsApplicationDataType = '';
|
---|
32 | protected $wuaPackageType = InventoryWindowsUpdatePackage::class;
|
---|
33 | protected $wuaPackageDataType = '';
|
---|
34 | protected $yumPackageType = InventoryVersionedPackage::class;
|
---|
35 | protected $yumPackageDataType = '';
|
---|
36 | protected $zypperPackageType = InventoryVersionedPackage::class;
|
---|
37 | protected $zypperPackageDataType = '';
|
---|
38 | protected $zypperPatchType = InventoryZypperPatch::class;
|
---|
39 | protected $zypperPatchDataType = '';
|
---|
40 |
|
---|
41 | /**
|
---|
42 | * @param InventoryVersionedPackage
|
---|
43 | */
|
---|
44 | public function setAptPackage(InventoryVersionedPackage $aptPackage)
|
---|
45 | {
|
---|
46 | $this->aptPackage = $aptPackage;
|
---|
47 | }
|
---|
48 | /**
|
---|
49 | * @return InventoryVersionedPackage
|
---|
50 | */
|
---|
51 | public function getAptPackage()
|
---|
52 | {
|
---|
53 | return $this->aptPackage;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @param InventoryVersionedPackage
|
---|
57 | */
|
---|
58 | public function setCosPackage(InventoryVersionedPackage $cosPackage)
|
---|
59 | {
|
---|
60 | $this->cosPackage = $cosPackage;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @return InventoryVersionedPackage
|
---|
64 | */
|
---|
65 | public function getCosPackage()
|
---|
66 | {
|
---|
67 | return $this->cosPackage;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @param InventoryVersionedPackage
|
---|
71 | */
|
---|
72 | public function setGoogetPackage(InventoryVersionedPackage $googetPackage)
|
---|
73 | {
|
---|
74 | $this->googetPackage = $googetPackage;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @return InventoryVersionedPackage
|
---|
78 | */
|
---|
79 | public function getGoogetPackage()
|
---|
80 | {
|
---|
81 | return $this->googetPackage;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @param InventoryWindowsQuickFixEngineeringPackage
|
---|
85 | */
|
---|
86 | public function setQfePackage(InventoryWindowsQuickFixEngineeringPackage $qfePackage)
|
---|
87 | {
|
---|
88 | $this->qfePackage = $qfePackage;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @return InventoryWindowsQuickFixEngineeringPackage
|
---|
92 | */
|
---|
93 | public function getQfePackage()
|
---|
94 | {
|
---|
95 | return $this->qfePackage;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @param InventoryWindowsApplication
|
---|
99 | */
|
---|
100 | public function setWindowsApplication(InventoryWindowsApplication $windowsApplication)
|
---|
101 | {
|
---|
102 | $this->windowsApplication = $windowsApplication;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @return InventoryWindowsApplication
|
---|
106 | */
|
---|
107 | public function getWindowsApplication()
|
---|
108 | {
|
---|
109 | return $this->windowsApplication;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @param InventoryWindowsUpdatePackage
|
---|
113 | */
|
---|
114 | public function setWuaPackage(InventoryWindowsUpdatePackage $wuaPackage)
|
---|
115 | {
|
---|
116 | $this->wuaPackage = $wuaPackage;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @return InventoryWindowsUpdatePackage
|
---|
120 | */
|
---|
121 | public function getWuaPackage()
|
---|
122 | {
|
---|
123 | return $this->wuaPackage;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @param InventoryVersionedPackage
|
---|
127 | */
|
---|
128 | public function setYumPackage(InventoryVersionedPackage $yumPackage)
|
---|
129 | {
|
---|
130 | $this->yumPackage = $yumPackage;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @return InventoryVersionedPackage
|
---|
134 | */
|
---|
135 | public function getYumPackage()
|
---|
136 | {
|
---|
137 | return $this->yumPackage;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @param InventoryVersionedPackage
|
---|
141 | */
|
---|
142 | public function setZypperPackage(InventoryVersionedPackage $zypperPackage)
|
---|
143 | {
|
---|
144 | $this->zypperPackage = $zypperPackage;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @return InventoryVersionedPackage
|
---|
148 | */
|
---|
149 | public function getZypperPackage()
|
---|
150 | {
|
---|
151 | return $this->zypperPackage;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @param InventoryZypperPatch
|
---|
155 | */
|
---|
156 | public function setZypperPatch(InventoryZypperPatch $zypperPatch)
|
---|
157 | {
|
---|
158 | $this->zypperPatch = $zypperPatch;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @return InventoryZypperPatch
|
---|
162 | */
|
---|
163 | public function getZypperPatch()
|
---|
164 | {
|
---|
165 | return $this->zypperPatch;
|
---|
166 | }
|
---|
167 | }
|
---|
168 |
|
---|
169 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
170 | class_alias(InventorySoftwarePackage::class, 'Google_Service_OSConfig_InventorySoftwarePackage');
|
---|