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\DriveLabels;
|
---|
19 |
|
---|
20 | class GoogleAppsDriveLabelsV2Field extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $appliedCapabilitiesType = GoogleAppsDriveLabelsV2FieldAppliedCapabilities::class;
|
---|
23 | protected $appliedCapabilitiesDataType = '';
|
---|
24 | /**
|
---|
25 | * @var string
|
---|
26 | */
|
---|
27 | public $createTime;
|
---|
28 | protected $creatorType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
29 | protected $creatorDataType = '';
|
---|
30 | protected $dateOptionsType = GoogleAppsDriveLabelsV2FieldDateOptions::class;
|
---|
31 | protected $dateOptionsDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $disableTime;
|
---|
36 | protected $disablerType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
37 | protected $disablerDataType = '';
|
---|
38 | protected $displayHintsType = GoogleAppsDriveLabelsV2FieldDisplayHints::class;
|
---|
39 | protected $displayHintsDataType = '';
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $id;
|
---|
44 | protected $integerOptionsType = GoogleAppsDriveLabelsV2FieldIntegerOptions::class;
|
---|
45 | protected $integerOptionsDataType = '';
|
---|
46 | protected $lifecycleType = GoogleAppsDriveLabelsV2Lifecycle::class;
|
---|
47 | protected $lifecycleDataType = '';
|
---|
48 | protected $lockStatusType = GoogleAppsDriveLabelsV2LockStatus::class;
|
---|
49 | protected $lockStatusDataType = '';
|
---|
50 | protected $propertiesType = GoogleAppsDriveLabelsV2FieldProperties::class;
|
---|
51 | protected $propertiesDataType = '';
|
---|
52 | protected $publisherType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
53 | protected $publisherDataType = '';
|
---|
54 | /**
|
---|
55 | * @var string
|
---|
56 | */
|
---|
57 | public $queryKey;
|
---|
58 | protected $schemaCapabilitiesType = GoogleAppsDriveLabelsV2FieldSchemaCapabilities::class;
|
---|
59 | protected $schemaCapabilitiesDataType = '';
|
---|
60 | protected $selectionOptionsType = GoogleAppsDriveLabelsV2FieldSelectionOptions::class;
|
---|
61 | protected $selectionOptionsDataType = '';
|
---|
62 | protected $textOptionsType = GoogleAppsDriveLabelsV2FieldTextOptions::class;
|
---|
63 | protected $textOptionsDataType = '';
|
---|
64 | /**
|
---|
65 | * @var string
|
---|
66 | */
|
---|
67 | public $updateTime;
|
---|
68 | protected $updaterType = GoogleAppsDriveLabelsV2UserInfo::class;
|
---|
69 | protected $updaterDataType = '';
|
---|
70 | protected $userOptionsType = GoogleAppsDriveLabelsV2FieldUserOptions::class;
|
---|
71 | protected $userOptionsDataType = '';
|
---|
72 |
|
---|
73 | /**
|
---|
74 | * @param GoogleAppsDriveLabelsV2FieldAppliedCapabilities
|
---|
75 | */
|
---|
76 | public function setAppliedCapabilities(GoogleAppsDriveLabelsV2FieldAppliedCapabilities $appliedCapabilities)
|
---|
77 | {
|
---|
78 | $this->appliedCapabilities = $appliedCapabilities;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return GoogleAppsDriveLabelsV2FieldAppliedCapabilities
|
---|
82 | */
|
---|
83 | public function getAppliedCapabilities()
|
---|
84 | {
|
---|
85 | return $this->appliedCapabilities;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param string
|
---|
89 | */
|
---|
90 | public function setCreateTime($createTime)
|
---|
91 | {
|
---|
92 | $this->createTime = $createTime;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return string
|
---|
96 | */
|
---|
97 | public function getCreateTime()
|
---|
98 | {
|
---|
99 | return $this->createTime;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
103 | */
|
---|
104 | public function setCreator(GoogleAppsDriveLabelsV2UserInfo $creator)
|
---|
105 | {
|
---|
106 | $this->creator = $creator;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
110 | */
|
---|
111 | public function getCreator()
|
---|
112 | {
|
---|
113 | return $this->creator;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param GoogleAppsDriveLabelsV2FieldDateOptions
|
---|
117 | */
|
---|
118 | public function setDateOptions(GoogleAppsDriveLabelsV2FieldDateOptions $dateOptions)
|
---|
119 | {
|
---|
120 | $this->dateOptions = $dateOptions;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return GoogleAppsDriveLabelsV2FieldDateOptions
|
---|
124 | */
|
---|
125 | public function getDateOptions()
|
---|
126 | {
|
---|
127 | return $this->dateOptions;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setDisableTime($disableTime)
|
---|
133 | {
|
---|
134 | $this->disableTime = $disableTime;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getDisableTime()
|
---|
140 | {
|
---|
141 | return $this->disableTime;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
145 | */
|
---|
146 | public function setDisabler(GoogleAppsDriveLabelsV2UserInfo $disabler)
|
---|
147 | {
|
---|
148 | $this->disabler = $disabler;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
152 | */
|
---|
153 | public function getDisabler()
|
---|
154 | {
|
---|
155 | return $this->disabler;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param GoogleAppsDriveLabelsV2FieldDisplayHints
|
---|
159 | */
|
---|
160 | public function setDisplayHints(GoogleAppsDriveLabelsV2FieldDisplayHints $displayHints)
|
---|
161 | {
|
---|
162 | $this->displayHints = $displayHints;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return GoogleAppsDriveLabelsV2FieldDisplayHints
|
---|
166 | */
|
---|
167 | public function getDisplayHints()
|
---|
168 | {
|
---|
169 | return $this->displayHints;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param string
|
---|
173 | */
|
---|
174 | public function setId($id)
|
---|
175 | {
|
---|
176 | $this->id = $id;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return string
|
---|
180 | */
|
---|
181 | public function getId()
|
---|
182 | {
|
---|
183 | return $this->id;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param GoogleAppsDriveLabelsV2FieldIntegerOptions
|
---|
187 | */
|
---|
188 | public function setIntegerOptions(GoogleAppsDriveLabelsV2FieldIntegerOptions $integerOptions)
|
---|
189 | {
|
---|
190 | $this->integerOptions = $integerOptions;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return GoogleAppsDriveLabelsV2FieldIntegerOptions
|
---|
194 | */
|
---|
195 | public function getIntegerOptions()
|
---|
196 | {
|
---|
197 | return $this->integerOptions;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param GoogleAppsDriveLabelsV2Lifecycle
|
---|
201 | */
|
---|
202 | public function setLifecycle(GoogleAppsDriveLabelsV2Lifecycle $lifecycle)
|
---|
203 | {
|
---|
204 | $this->lifecycle = $lifecycle;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return GoogleAppsDriveLabelsV2Lifecycle
|
---|
208 | */
|
---|
209 | public function getLifecycle()
|
---|
210 | {
|
---|
211 | return $this->lifecycle;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @param GoogleAppsDriveLabelsV2LockStatus
|
---|
215 | */
|
---|
216 | public function setLockStatus(GoogleAppsDriveLabelsV2LockStatus $lockStatus)
|
---|
217 | {
|
---|
218 | $this->lockStatus = $lockStatus;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @return GoogleAppsDriveLabelsV2LockStatus
|
---|
222 | */
|
---|
223 | public function getLockStatus()
|
---|
224 | {
|
---|
225 | return $this->lockStatus;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @param GoogleAppsDriveLabelsV2FieldProperties
|
---|
229 | */
|
---|
230 | public function setProperties(GoogleAppsDriveLabelsV2FieldProperties $properties)
|
---|
231 | {
|
---|
232 | $this->properties = $properties;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @return GoogleAppsDriveLabelsV2FieldProperties
|
---|
236 | */
|
---|
237 | public function getProperties()
|
---|
238 | {
|
---|
239 | return $this->properties;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
243 | */
|
---|
244 | public function setPublisher(GoogleAppsDriveLabelsV2UserInfo $publisher)
|
---|
245 | {
|
---|
246 | $this->publisher = $publisher;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
250 | */
|
---|
251 | public function getPublisher()
|
---|
252 | {
|
---|
253 | return $this->publisher;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @param string
|
---|
257 | */
|
---|
258 | public function setQueryKey($queryKey)
|
---|
259 | {
|
---|
260 | $this->queryKey = $queryKey;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @return string
|
---|
264 | */
|
---|
265 | public function getQueryKey()
|
---|
266 | {
|
---|
267 | return $this->queryKey;
|
---|
268 | }
|
---|
269 | /**
|
---|
270 | * @param GoogleAppsDriveLabelsV2FieldSchemaCapabilities
|
---|
271 | */
|
---|
272 | public function setSchemaCapabilities(GoogleAppsDriveLabelsV2FieldSchemaCapabilities $schemaCapabilities)
|
---|
273 | {
|
---|
274 | $this->schemaCapabilities = $schemaCapabilities;
|
---|
275 | }
|
---|
276 | /**
|
---|
277 | * @return GoogleAppsDriveLabelsV2FieldSchemaCapabilities
|
---|
278 | */
|
---|
279 | public function getSchemaCapabilities()
|
---|
280 | {
|
---|
281 | return $this->schemaCapabilities;
|
---|
282 | }
|
---|
283 | /**
|
---|
284 | * @param GoogleAppsDriveLabelsV2FieldSelectionOptions
|
---|
285 | */
|
---|
286 | public function setSelectionOptions(GoogleAppsDriveLabelsV2FieldSelectionOptions $selectionOptions)
|
---|
287 | {
|
---|
288 | $this->selectionOptions = $selectionOptions;
|
---|
289 | }
|
---|
290 | /**
|
---|
291 | * @return GoogleAppsDriveLabelsV2FieldSelectionOptions
|
---|
292 | */
|
---|
293 | public function getSelectionOptions()
|
---|
294 | {
|
---|
295 | return $this->selectionOptions;
|
---|
296 | }
|
---|
297 | /**
|
---|
298 | * @param GoogleAppsDriveLabelsV2FieldTextOptions
|
---|
299 | */
|
---|
300 | public function setTextOptions(GoogleAppsDriveLabelsV2FieldTextOptions $textOptions)
|
---|
301 | {
|
---|
302 | $this->textOptions = $textOptions;
|
---|
303 | }
|
---|
304 | /**
|
---|
305 | * @return GoogleAppsDriveLabelsV2FieldTextOptions
|
---|
306 | */
|
---|
307 | public function getTextOptions()
|
---|
308 | {
|
---|
309 | return $this->textOptions;
|
---|
310 | }
|
---|
311 | /**
|
---|
312 | * @param string
|
---|
313 | */
|
---|
314 | public function setUpdateTime($updateTime)
|
---|
315 | {
|
---|
316 | $this->updateTime = $updateTime;
|
---|
317 | }
|
---|
318 | /**
|
---|
319 | * @return string
|
---|
320 | */
|
---|
321 | public function getUpdateTime()
|
---|
322 | {
|
---|
323 | return $this->updateTime;
|
---|
324 | }
|
---|
325 | /**
|
---|
326 | * @param GoogleAppsDriveLabelsV2UserInfo
|
---|
327 | */
|
---|
328 | public function setUpdater(GoogleAppsDriveLabelsV2UserInfo $updater)
|
---|
329 | {
|
---|
330 | $this->updater = $updater;
|
---|
331 | }
|
---|
332 | /**
|
---|
333 | * @return GoogleAppsDriveLabelsV2UserInfo
|
---|
334 | */
|
---|
335 | public function getUpdater()
|
---|
336 | {
|
---|
337 | return $this->updater;
|
---|
338 | }
|
---|
339 | /**
|
---|
340 | * @param GoogleAppsDriveLabelsV2FieldUserOptions
|
---|
341 | */
|
---|
342 | public function setUserOptions(GoogleAppsDriveLabelsV2FieldUserOptions $userOptions)
|
---|
343 | {
|
---|
344 | $this->userOptions = $userOptions;
|
---|
345 | }
|
---|
346 | /**
|
---|
347 | * @return GoogleAppsDriveLabelsV2FieldUserOptions
|
---|
348 | */
|
---|
349 | public function getUserOptions()
|
---|
350 | {
|
---|
351 | return $this->userOptions;
|
---|
352 | }
|
---|
353 | }
|
---|
354 |
|
---|
355 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
356 | class_alias(GoogleAppsDriveLabelsV2Field::class, 'Google_Service_DriveLabels_GoogleAppsDriveLabelsV2Field');
|
---|