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\Apigee;
|
---|
19 |
|
---|
20 | class GoogleCloudApigeeV1ApiProduct extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'scopes';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $apiResources;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $approvalType;
|
---|
31 | protected $attributesType = GoogleCloudApigeeV1Attribute::class;
|
---|
32 | protected $attributesDataType = 'array';
|
---|
33 | /**
|
---|
34 | * @var string
|
---|
35 | */
|
---|
36 | public $createdAt;
|
---|
37 | /**
|
---|
38 | * @var string
|
---|
39 | */
|
---|
40 | public $description;
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $displayName;
|
---|
45 | /**
|
---|
46 | * @var string[]
|
---|
47 | */
|
---|
48 | public $environments;
|
---|
49 | protected $graphqlOperationGroupType = GoogleCloudApigeeV1GraphQLOperationGroup::class;
|
---|
50 | protected $graphqlOperationGroupDataType = '';
|
---|
51 | protected $grpcOperationGroupType = GoogleCloudApigeeV1GrpcOperationGroup::class;
|
---|
52 | protected $grpcOperationGroupDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $lastModifiedAt;
|
---|
57 | /**
|
---|
58 | * @var string
|
---|
59 | */
|
---|
60 | public $name;
|
---|
61 | protected $operationGroupType = GoogleCloudApigeeV1OperationGroup::class;
|
---|
62 | protected $operationGroupDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string[]
|
---|
65 | */
|
---|
66 | public $proxies;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $quota;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $quotaCounterScope;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $quotaInterval;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $quotaTimeUnit;
|
---|
83 | /**
|
---|
84 | * @var string[]
|
---|
85 | */
|
---|
86 | public $scopes;
|
---|
87 |
|
---|
88 | /**
|
---|
89 | * @param string[]
|
---|
90 | */
|
---|
91 | public function setApiResources($apiResources)
|
---|
92 | {
|
---|
93 | $this->apiResources = $apiResources;
|
---|
94 | }
|
---|
95 | /**
|
---|
96 | * @return string[]
|
---|
97 | */
|
---|
98 | public function getApiResources()
|
---|
99 | {
|
---|
100 | return $this->apiResources;
|
---|
101 | }
|
---|
102 | /**
|
---|
103 | * @param string
|
---|
104 | */
|
---|
105 | public function setApprovalType($approvalType)
|
---|
106 | {
|
---|
107 | $this->approvalType = $approvalType;
|
---|
108 | }
|
---|
109 | /**
|
---|
110 | * @return string
|
---|
111 | */
|
---|
112 | public function getApprovalType()
|
---|
113 | {
|
---|
114 | return $this->approvalType;
|
---|
115 | }
|
---|
116 | /**
|
---|
117 | * @param GoogleCloudApigeeV1Attribute[]
|
---|
118 | */
|
---|
119 | public function setAttributes($attributes)
|
---|
120 | {
|
---|
121 | $this->attributes = $attributes;
|
---|
122 | }
|
---|
123 | /**
|
---|
124 | * @return GoogleCloudApigeeV1Attribute[]
|
---|
125 | */
|
---|
126 | public function getAttributes()
|
---|
127 | {
|
---|
128 | return $this->attributes;
|
---|
129 | }
|
---|
130 | /**
|
---|
131 | * @param string
|
---|
132 | */
|
---|
133 | public function setCreatedAt($createdAt)
|
---|
134 | {
|
---|
135 | $this->createdAt = $createdAt;
|
---|
136 | }
|
---|
137 | /**
|
---|
138 | * @return string
|
---|
139 | */
|
---|
140 | public function getCreatedAt()
|
---|
141 | {
|
---|
142 | return $this->createdAt;
|
---|
143 | }
|
---|
144 | /**
|
---|
145 | * @param string
|
---|
146 | */
|
---|
147 | public function setDescription($description)
|
---|
148 | {
|
---|
149 | $this->description = $description;
|
---|
150 | }
|
---|
151 | /**
|
---|
152 | * @return string
|
---|
153 | */
|
---|
154 | public function getDescription()
|
---|
155 | {
|
---|
156 | return $this->description;
|
---|
157 | }
|
---|
158 | /**
|
---|
159 | * @param string
|
---|
160 | */
|
---|
161 | public function setDisplayName($displayName)
|
---|
162 | {
|
---|
163 | $this->displayName = $displayName;
|
---|
164 | }
|
---|
165 | /**
|
---|
166 | * @return string
|
---|
167 | */
|
---|
168 | public function getDisplayName()
|
---|
169 | {
|
---|
170 | return $this->displayName;
|
---|
171 | }
|
---|
172 | /**
|
---|
173 | * @param string[]
|
---|
174 | */
|
---|
175 | public function setEnvironments($environments)
|
---|
176 | {
|
---|
177 | $this->environments = $environments;
|
---|
178 | }
|
---|
179 | /**
|
---|
180 | * @return string[]
|
---|
181 | */
|
---|
182 | public function getEnvironments()
|
---|
183 | {
|
---|
184 | return $this->environments;
|
---|
185 | }
|
---|
186 | /**
|
---|
187 | * @param GoogleCloudApigeeV1GraphQLOperationGroup
|
---|
188 | */
|
---|
189 | public function setGraphqlOperationGroup(GoogleCloudApigeeV1GraphQLOperationGroup $graphqlOperationGroup)
|
---|
190 | {
|
---|
191 | $this->graphqlOperationGroup = $graphqlOperationGroup;
|
---|
192 | }
|
---|
193 | /**
|
---|
194 | * @return GoogleCloudApigeeV1GraphQLOperationGroup
|
---|
195 | */
|
---|
196 | public function getGraphqlOperationGroup()
|
---|
197 | {
|
---|
198 | return $this->graphqlOperationGroup;
|
---|
199 | }
|
---|
200 | /**
|
---|
201 | * @param GoogleCloudApigeeV1GrpcOperationGroup
|
---|
202 | */
|
---|
203 | public function setGrpcOperationGroup(GoogleCloudApigeeV1GrpcOperationGroup $grpcOperationGroup)
|
---|
204 | {
|
---|
205 | $this->grpcOperationGroup = $grpcOperationGroup;
|
---|
206 | }
|
---|
207 | /**
|
---|
208 | * @return GoogleCloudApigeeV1GrpcOperationGroup
|
---|
209 | */
|
---|
210 | public function getGrpcOperationGroup()
|
---|
211 | {
|
---|
212 | return $this->grpcOperationGroup;
|
---|
213 | }
|
---|
214 | /**
|
---|
215 | * @param string
|
---|
216 | */
|
---|
217 | public function setLastModifiedAt($lastModifiedAt)
|
---|
218 | {
|
---|
219 | $this->lastModifiedAt = $lastModifiedAt;
|
---|
220 | }
|
---|
221 | /**
|
---|
222 | * @return string
|
---|
223 | */
|
---|
224 | public function getLastModifiedAt()
|
---|
225 | {
|
---|
226 | return $this->lastModifiedAt;
|
---|
227 | }
|
---|
228 | /**
|
---|
229 | * @param string
|
---|
230 | */
|
---|
231 | public function setName($name)
|
---|
232 | {
|
---|
233 | $this->name = $name;
|
---|
234 | }
|
---|
235 | /**
|
---|
236 | * @return string
|
---|
237 | */
|
---|
238 | public function getName()
|
---|
239 | {
|
---|
240 | return $this->name;
|
---|
241 | }
|
---|
242 | /**
|
---|
243 | * @param GoogleCloudApigeeV1OperationGroup
|
---|
244 | */
|
---|
245 | public function setOperationGroup(GoogleCloudApigeeV1OperationGroup $operationGroup)
|
---|
246 | {
|
---|
247 | $this->operationGroup = $operationGroup;
|
---|
248 | }
|
---|
249 | /**
|
---|
250 | * @return GoogleCloudApigeeV1OperationGroup
|
---|
251 | */
|
---|
252 | public function getOperationGroup()
|
---|
253 | {
|
---|
254 | return $this->operationGroup;
|
---|
255 | }
|
---|
256 | /**
|
---|
257 | * @param string[]
|
---|
258 | */
|
---|
259 | public function setProxies($proxies)
|
---|
260 | {
|
---|
261 | $this->proxies = $proxies;
|
---|
262 | }
|
---|
263 | /**
|
---|
264 | * @return string[]
|
---|
265 | */
|
---|
266 | public function getProxies()
|
---|
267 | {
|
---|
268 | return $this->proxies;
|
---|
269 | }
|
---|
270 | /**
|
---|
271 | * @param string
|
---|
272 | */
|
---|
273 | public function setQuota($quota)
|
---|
274 | {
|
---|
275 | $this->quota = $quota;
|
---|
276 | }
|
---|
277 | /**
|
---|
278 | * @return string
|
---|
279 | */
|
---|
280 | public function getQuota()
|
---|
281 | {
|
---|
282 | return $this->quota;
|
---|
283 | }
|
---|
284 | /**
|
---|
285 | * @param string
|
---|
286 | */
|
---|
287 | public function setQuotaCounterScope($quotaCounterScope)
|
---|
288 | {
|
---|
289 | $this->quotaCounterScope = $quotaCounterScope;
|
---|
290 | }
|
---|
291 | /**
|
---|
292 | * @return string
|
---|
293 | */
|
---|
294 | public function getQuotaCounterScope()
|
---|
295 | {
|
---|
296 | return $this->quotaCounterScope;
|
---|
297 | }
|
---|
298 | /**
|
---|
299 | * @param string
|
---|
300 | */
|
---|
301 | public function setQuotaInterval($quotaInterval)
|
---|
302 | {
|
---|
303 | $this->quotaInterval = $quotaInterval;
|
---|
304 | }
|
---|
305 | /**
|
---|
306 | * @return string
|
---|
307 | */
|
---|
308 | public function getQuotaInterval()
|
---|
309 | {
|
---|
310 | return $this->quotaInterval;
|
---|
311 | }
|
---|
312 | /**
|
---|
313 | * @param string
|
---|
314 | */
|
---|
315 | public function setQuotaTimeUnit($quotaTimeUnit)
|
---|
316 | {
|
---|
317 | $this->quotaTimeUnit = $quotaTimeUnit;
|
---|
318 | }
|
---|
319 | /**
|
---|
320 | * @return string
|
---|
321 | */
|
---|
322 | public function getQuotaTimeUnit()
|
---|
323 | {
|
---|
324 | return $this->quotaTimeUnit;
|
---|
325 | }
|
---|
326 | /**
|
---|
327 | * @param string[]
|
---|
328 | */
|
---|
329 | public function setScopes($scopes)
|
---|
330 | {
|
---|
331 | $this->scopes = $scopes;
|
---|
332 | }
|
---|
333 | /**
|
---|
334 | * @return string[]
|
---|
335 | */
|
---|
336 | public function getScopes()
|
---|
337 | {
|
---|
338 | return $this->scopes;
|
---|
339 | }
|
---|
340 | }
|
---|
341 |
|
---|
342 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
343 | class_alias(GoogleCloudApigeeV1ApiProduct::class, 'Google_Service_Apigee_GoogleCloudApigeeV1ApiProduct');
|
---|