source: vendor/google/apiclient-services/src/Cloudchannel/GoogleCloudChannelV1alpha1Entitlement.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 7.0 KB
Line 
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
18namespace Google\Service\Cloudchannel;
19
20class GoogleCloudChannelV1alpha1Entitlement extends \Google\Collection
21{
22 protected $collection_key = 'suspensionReasons';
23 /**
24 * @var int
25 */
26 public $assignedUnits;
27 protected $associationInfoType = GoogleCloudChannelV1alpha1AssociationInfo::class;
28 protected $associationInfoDataType = '';
29 /**
30 * @var string
31 */
32 public $billingAccount;
33 /**
34 * @var string
35 */
36 public $channelPartnerId;
37 protected $commitmentSettingsType = GoogleCloudChannelV1alpha1CommitmentSettings::class;
38 protected $commitmentSettingsDataType = '';
39 /**
40 * @var string
41 */
42 public $createTime;
43 /**
44 * @var int
45 */
46 public $maxUnits;
47 /**
48 * @var string
49 */
50 public $name;
51 /**
52 * @var int
53 */
54 public $numUnits;
55 /**
56 * @var string
57 */
58 public $offer;
59 protected $parametersType = GoogleCloudChannelV1alpha1Parameter::class;
60 protected $parametersDataType = 'array';
61 /**
62 * @var string
63 */
64 public $priceReferenceId;
65 protected $provisionedServiceType = GoogleCloudChannelV1alpha1ProvisionedService::class;
66 protected $provisionedServiceDataType = '';
67 /**
68 * @var string
69 */
70 public $provisioningState;
71 /**
72 * @var string
73 */
74 public $purchaseOrderId;
75 /**
76 * @var string[]
77 */
78 public $suspensionReasons;
79 protected $trialSettingsType = GoogleCloudChannelV1alpha1TrialSettings::class;
80 protected $trialSettingsDataType = '';
81 /**
82 * @var string
83 */
84 public $updateTime;
85
86 /**
87 * @param int
88 */
89 public function setAssignedUnits($assignedUnits)
90 {
91 $this->assignedUnits = $assignedUnits;
92 }
93 /**
94 * @return int
95 */
96 public function getAssignedUnits()
97 {
98 return $this->assignedUnits;
99 }
100 /**
101 * @param GoogleCloudChannelV1alpha1AssociationInfo
102 */
103 public function setAssociationInfo(GoogleCloudChannelV1alpha1AssociationInfo $associationInfo)
104 {
105 $this->associationInfo = $associationInfo;
106 }
107 /**
108 * @return GoogleCloudChannelV1alpha1AssociationInfo
109 */
110 public function getAssociationInfo()
111 {
112 return $this->associationInfo;
113 }
114 /**
115 * @param string
116 */
117 public function setBillingAccount($billingAccount)
118 {
119 $this->billingAccount = $billingAccount;
120 }
121 /**
122 * @return string
123 */
124 public function getBillingAccount()
125 {
126 return $this->billingAccount;
127 }
128 /**
129 * @param string
130 */
131 public function setChannelPartnerId($channelPartnerId)
132 {
133 $this->channelPartnerId = $channelPartnerId;
134 }
135 /**
136 * @return string
137 */
138 public function getChannelPartnerId()
139 {
140 return $this->channelPartnerId;
141 }
142 /**
143 * @param GoogleCloudChannelV1alpha1CommitmentSettings
144 */
145 public function setCommitmentSettings(GoogleCloudChannelV1alpha1CommitmentSettings $commitmentSettings)
146 {
147 $this->commitmentSettings = $commitmentSettings;
148 }
149 /**
150 * @return GoogleCloudChannelV1alpha1CommitmentSettings
151 */
152 public function getCommitmentSettings()
153 {
154 return $this->commitmentSettings;
155 }
156 /**
157 * @param string
158 */
159 public function setCreateTime($createTime)
160 {
161 $this->createTime = $createTime;
162 }
163 /**
164 * @return string
165 */
166 public function getCreateTime()
167 {
168 return $this->createTime;
169 }
170 /**
171 * @param int
172 */
173 public function setMaxUnits($maxUnits)
174 {
175 $this->maxUnits = $maxUnits;
176 }
177 /**
178 * @return int
179 */
180 public function getMaxUnits()
181 {
182 return $this->maxUnits;
183 }
184 /**
185 * @param string
186 */
187 public function setName($name)
188 {
189 $this->name = $name;
190 }
191 /**
192 * @return string
193 */
194 public function getName()
195 {
196 return $this->name;
197 }
198 /**
199 * @param int
200 */
201 public function setNumUnits($numUnits)
202 {
203 $this->numUnits = $numUnits;
204 }
205 /**
206 * @return int
207 */
208 public function getNumUnits()
209 {
210 return $this->numUnits;
211 }
212 /**
213 * @param string
214 */
215 public function setOffer($offer)
216 {
217 $this->offer = $offer;
218 }
219 /**
220 * @return string
221 */
222 public function getOffer()
223 {
224 return $this->offer;
225 }
226 /**
227 * @param GoogleCloudChannelV1alpha1Parameter[]
228 */
229 public function setParameters($parameters)
230 {
231 $this->parameters = $parameters;
232 }
233 /**
234 * @return GoogleCloudChannelV1alpha1Parameter[]
235 */
236 public function getParameters()
237 {
238 return $this->parameters;
239 }
240 /**
241 * @param string
242 */
243 public function setPriceReferenceId($priceReferenceId)
244 {
245 $this->priceReferenceId = $priceReferenceId;
246 }
247 /**
248 * @return string
249 */
250 public function getPriceReferenceId()
251 {
252 return $this->priceReferenceId;
253 }
254 /**
255 * @param GoogleCloudChannelV1alpha1ProvisionedService
256 */
257 public function setProvisionedService(GoogleCloudChannelV1alpha1ProvisionedService $provisionedService)
258 {
259 $this->provisionedService = $provisionedService;
260 }
261 /**
262 * @return GoogleCloudChannelV1alpha1ProvisionedService
263 */
264 public function getProvisionedService()
265 {
266 return $this->provisionedService;
267 }
268 /**
269 * @param string
270 */
271 public function setProvisioningState($provisioningState)
272 {
273 $this->provisioningState = $provisioningState;
274 }
275 /**
276 * @return string
277 */
278 public function getProvisioningState()
279 {
280 return $this->provisioningState;
281 }
282 /**
283 * @param string
284 */
285 public function setPurchaseOrderId($purchaseOrderId)
286 {
287 $this->purchaseOrderId = $purchaseOrderId;
288 }
289 /**
290 * @return string
291 */
292 public function getPurchaseOrderId()
293 {
294 return $this->purchaseOrderId;
295 }
296 /**
297 * @param string[]
298 */
299 public function setSuspensionReasons($suspensionReasons)
300 {
301 $this->suspensionReasons = $suspensionReasons;
302 }
303 /**
304 * @return string[]
305 */
306 public function getSuspensionReasons()
307 {
308 return $this->suspensionReasons;
309 }
310 /**
311 * @param GoogleCloudChannelV1alpha1TrialSettings
312 */
313 public function setTrialSettings(GoogleCloudChannelV1alpha1TrialSettings $trialSettings)
314 {
315 $this->trialSettings = $trialSettings;
316 }
317 /**
318 * @return GoogleCloudChannelV1alpha1TrialSettings
319 */
320 public function getTrialSettings()
321 {
322 return $this->trialSettings;
323 }
324 /**
325 * @param string
326 */
327 public function setUpdateTime($updateTime)
328 {
329 $this->updateTime = $updateTime;
330 }
331 /**
332 * @return string
333 */
334 public function getUpdateTime()
335 {
336 return $this->updateTime;
337 }
338}
339
340// Adding a class alias for backwards compatibility with the previous class name.
341class_alias(GoogleCloudChannelV1alpha1Entitlement::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1alpha1Entitlement');
Note: See TracBrowser for help on using the repository browser.