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\Directory;
19
20class User extends \Google\Collection
21{
22  protected $collection_key = 'nonEditableAliases';
23  /**
24   * @var array
25   */
26  public $addresses;
27  /**
28   * @var bool
29   */
30  public $agreedToTerms;
31  /**
32   * @var string[]
33   */
34  public $aliases;
35  /**
36   * @var bool
37   */
38  public $archived;
39  /**
40   * @var bool
41   */
42  public $changePasswordAtNextLogin;
43  /**
44   * @var string
45   */
46  public $creationTime;
47  /**
48   * @var array[]
49   */
50  public $customSchemas;
51  /**
52   * @var string
53   */
54  public $customerId;
55  /**
56   * @var string
57   */
58  public $deletionTime;
59  /**
60   * @var array
61   */
62  public $emails;
63  /**
64   * @var string
65   */
66  public $etag;
67  /**
68   * @var array
69   */
70  public $externalIds;
71  /**
72   * @var array
73   */
74  public $gender;
75  /**
76   * @var string
77   */
78  public $hashFunction;
79  /**
80   * @var string
81   */
82  public $id;
83  /**
84   * @var array
85   */
86  public $ims;
87  /**
88   * @var bool
89   */
90  public $includeInGlobalAddressList;
91  /**
92   * @var bool
93   */
94  public $ipWhitelisted;
95  /**
96   * @var bool
97   */
98  public $isAdmin;
99  /**
100   * @var bool
101   */
102  public $isDelegatedAdmin;
103  /**
104   * @var bool
105   */
106  public $isEnforcedIn2Sv;
107  /**
108   * @var bool
109   */
110  public $isEnrolledIn2Sv;
111  /**
112   * @var bool
113   */
114  public $isMailboxSetup;
115  /**
116   * @var array
117   */
118  public $keywords;
119  /**
120   * @var string
121   */
122  public $kind;
123  /**
124   * @var array
125   */
126  public $languages;
127  /**
128   * @var string
129   */
130  public $lastLoginTime;
131  /**
132   * @var array
133   */
134  public $locations;
135  protected $nameType = UserName::class;
136  protected $nameDataType = '';
137  /**
138   * @var string[]
139   */
140  public $nonEditableAliases;
141  /**
142   * @var array
143   */
144  public $notes;
145  /**
146   * @var string
147   */
148  public $orgUnitPath;
149  /**
150   * @var array
151   */
152  public $organizations;
153  /**
154   * @var string
155   */
156  public $password;
157  /**
158   * @var array
159   */
160  public $phones;
161  /**
162   * @var array
163   */
164  public $posixAccounts;
165  /**
166   * @var string
167   */
168  public $primaryEmail;
169  /**
170   * @var string
171   */
172  public $recoveryEmail;
173  /**
174   * @var string
175   */
176  public $recoveryPhone;
177  /**
178   * @var array
179   */
180  public $relations;
181  /**
182   * @var array
183   */
184  public $sshPublicKeys;
185  /**
186   * @var bool
187   */
188  public $suspended;
189  /**
190   * @var string
191   */
192  public $suspensionReason;
193  /**
194   * @var string
195   */
196  public $thumbnailPhotoEtag;
197  /**
198   * @var string
199   */
200  public $thumbnailPhotoUrl;
201  /**
202   * @var array
203   */
204  public $websites;
205
206  /**
207   * @param array
208   */
209  public function setAddresses($addresses)
210  {
211    $this->addresses = $addresses;
212  }
213  /**
214   * @return array
215   */
216  public function getAddresses()
217  {
218    return $this->addresses;
219  }
220  /**
221   * @param bool
222   */
223  public function setAgreedToTerms($agreedToTerms)
224  {
225    $this->agreedToTerms = $agreedToTerms;
226  }
227  /**
228   * @return bool
229   */
230  public function getAgreedToTerms()
231  {
232    return $this->agreedToTerms;
233  }
234  /**
235   * @param string[]
236   */
237  public function setAliases($aliases)
238  {
239    $this->aliases = $aliases;
240  }
241  /**
242   * @return string[]
243   */
244  public function getAliases()
245  {
246    return $this->aliases;
247  }
248  /**
249   * @param bool
250   */
251  public function setArchived($archived)
252  {
253    $this->archived = $archived;
254  }
255  /**
256   * @return bool
257   */
258  public function getArchived()
259  {
260    return $this->archived;
261  }
262  /**
263   * @param bool
264   */
265  public function setChangePasswordAtNextLogin($changePasswordAtNextLogin)
266  {
267    $this->changePasswordAtNextLogin = $changePasswordAtNextLogin;
268  }
269  /**
270   * @return bool
271   */
272  public function getChangePasswordAtNextLogin()
273  {
274    return $this->changePasswordAtNextLogin;
275  }
276  /**
277   * @param string
278   */
279  public function setCreationTime($creationTime)
280  {
281    $this->creationTime = $creationTime;
282  }
283  /**
284   * @return string
285   */
286  public function getCreationTime()
287  {
288    return $this->creationTime;
289  }
290  /**
291   * @param array[]
292   */
293  public function setCustomSchemas($customSchemas)
294  {
295    $this->customSchemas = $customSchemas;
296  }
297  /**
298   * @return array[]
299   */
300  public function getCustomSchemas()
301  {
302    return $this->customSchemas;
303  }
304  /**
305   * @param string
306   */
307  public function setCustomerId($customerId)
308  {
309    $this->customerId = $customerId;
310  }
311  /**
312   * @return string
313   */
314  public function getCustomerId()
315  {
316    return $this->customerId;
317  }
318  /**
319   * @param string
320   */
321  public function setDeletionTime($deletionTime)
322  {
323    $this->deletionTime = $deletionTime;
324  }
325  /**
326   * @return string
327   */
328  public function getDeletionTime()
329  {
330    return $this->deletionTime;
331  }
332  /**
333   * @param array
334   */
335  public function setEmails($emails)
336  {
337    $this->emails = $emails;
338  }
339  /**
340   * @return array
341   */
342  public function getEmails()
343  {
344    return $this->emails;
345  }
346  /**
347   * @param string
348   */
349  public function setEtag($etag)
350  {
351    $this->etag = $etag;
352  }
353  /**
354   * @return string
355   */
356  public function getEtag()
357  {
358    return $this->etag;
359  }
360  /**
361   * @param array
362   */
363  public function setExternalIds($externalIds)
364  {
365    $this->externalIds = $externalIds;
366  }
367  /**
368   * @return array
369   */
370  public function getExternalIds()
371  {
372    return $this->externalIds;
373  }
374  /**
375   * @param array
376   */
377  public function setGender($gender)
378  {
379    $this->gender = $gender;
380  }
381  /**
382   * @return array
383   */
384  public function getGender()
385  {
386    return $this->gender;
387  }
388  /**
389   * @param string
390   */
391  public function setHashFunction($hashFunction)
392  {
393    $this->hashFunction = $hashFunction;
394  }
395  /**
396   * @return string
397   */
398  public function getHashFunction()
399  {
400    return $this->hashFunction;
401  }
402  /**
403   * @param string
404   */
405  public function setId($id)
406  {
407    $this->id = $id;
408  }
409  /**
410   * @return string
411   */
412  public function getId()
413  {
414    return $this->id;
415  }
416  /**
417   * @param array
418   */
419  public function setIms($ims)
420  {
421    $this->ims = $ims;
422  }
423  /**
424   * @return array
425   */
426  public function getIms()
427  {
428    return $this->ims;
429  }
430  /**
431   * @param bool
432   */
433  public function setIncludeInGlobalAddressList($includeInGlobalAddressList)
434  {
435    $this->includeInGlobalAddressList = $includeInGlobalAddressList;
436  }
437  /**
438   * @return bool
439   */
440  public function getIncludeInGlobalAddressList()
441  {
442    return $this->includeInGlobalAddressList;
443  }
444  /**
445   * @param bool
446   */
447  public function setIpWhitelisted($ipWhitelisted)
448  {
449    $this->ipWhitelisted = $ipWhitelisted;
450  }
451  /**
452   * @return bool
453   */
454  public function getIpWhitelisted()
455  {
456    return $this->ipWhitelisted;
457  }
458  /**
459   * @param bool
460   */
461  public function setIsAdmin($isAdmin)
462  {
463    $this->isAdmin = $isAdmin;
464  }
465  /**
466   * @return bool
467   */
468  public function getIsAdmin()
469  {
470    return $this->isAdmin;
471  }
472  /**
473   * @param bool
474   */
475  public function setIsDelegatedAdmin($isDelegatedAdmin)
476  {
477    $this->isDelegatedAdmin = $isDelegatedAdmin;
478  }
479  /**
480   * @return bool
481   */
482  public function getIsDelegatedAdmin()
483  {
484    return $this->isDelegatedAdmin;
485  }
486  /**
487   * @param bool
488   */
489  public function setIsEnforcedIn2Sv($isEnforcedIn2Sv)
490  {
491    $this->isEnforcedIn2Sv = $isEnforcedIn2Sv;
492  }
493  /**
494   * @return bool
495   */
496  public function getIsEnforcedIn2Sv()
497  {
498    return $this->isEnforcedIn2Sv;
499  }
500  /**
501   * @param bool
502   */
503  public function setIsEnrolledIn2Sv($isEnrolledIn2Sv)
504  {
505    $this->isEnrolledIn2Sv = $isEnrolledIn2Sv;
506  }
507  /**
508   * @return bool
509   */
510  public function getIsEnrolledIn2Sv()
511  {
512    return $this->isEnrolledIn2Sv;
513  }
514  /**
515   * @param bool
516   */
517  public function setIsMailboxSetup($isMailboxSetup)
518  {
519    $this->isMailboxSetup = $isMailboxSetup;
520  }
521  /**
522   * @return bool
523   */
524  public function getIsMailboxSetup()
525  {
526    return $this->isMailboxSetup;
527  }
528  /**
529   * @param array
530   */
531  public function setKeywords($keywords)
532  {
533    $this->keywords = $keywords;
534  }
535  /**
536   * @return array
537   */
538  public function getKeywords()
539  {
540    return $this->keywords;
541  }
542  /**
543   * @param string
544   */
545  public function setKind($kind)
546  {
547    $this->kind = $kind;
548  }
549  /**
550   * @return string
551   */
552  public function getKind()
553  {
554    return $this->kind;
555  }
556  /**
557   * @param array
558   */
559  public function setLanguages($languages)
560  {
561    $this->languages = $languages;
562  }
563  /**
564   * @return array
565   */
566  public function getLanguages()
567  {
568    return $this->languages;
569  }
570  /**
571   * @param string
572   */
573  public function setLastLoginTime($lastLoginTime)
574  {
575    $this->lastLoginTime = $lastLoginTime;
576  }
577  /**
578   * @return string
579   */
580  public function getLastLoginTime()
581  {
582    return $this->lastLoginTime;
583  }
584  /**
585   * @param array
586   */
587  public function setLocations($locations)
588  {
589    $this->locations = $locations;
590  }
591  /**
592   * @return array
593   */
594  public function getLocations()
595  {
596    return $this->locations;
597  }
598  /**
599   * @param UserName
600   */
601  public function setName(UserName $name)
602  {
603    $this->name = $name;
604  }
605  /**
606   * @return UserName
607   */
608  public function getName()
609  {
610    return $this->name;
611  }
612  /**
613   * @param string[]
614   */
615  public function setNonEditableAliases($nonEditableAliases)
616  {
617    $this->nonEditableAliases = $nonEditableAliases;
618  }
619  /**
620   * @return string[]
621   */
622  public function getNonEditableAliases()
623  {
624    return $this->nonEditableAliases;
625  }
626  /**
627   * @param array
628   */
629  public function setNotes($notes)
630  {
631    $this->notes = $notes;
632  }
633  /**
634   * @return array
635   */
636  public function getNotes()
637  {
638    return $this->notes;
639  }
640  /**
641   * @param string
642   */
643  public function setOrgUnitPath($orgUnitPath)
644  {
645    $this->orgUnitPath = $orgUnitPath;
646  }
647  /**
648   * @return string
649   */
650  public function getOrgUnitPath()
651  {
652    return $this->orgUnitPath;
653  }
654  /**
655   * @param array
656   */
657  public function setOrganizations($organizations)
658  {
659    $this->organizations = $organizations;
660  }
661  /**
662   * @return array
663   */
664  public function getOrganizations()
665  {
666    return $this->organizations;
667  }
668  /**
669   * @param string
670   */
671  public function setPassword($password)
672  {
673    $this->password = $password;
674  }
675  /**
676   * @return string
677   */
678  public function getPassword()
679  {
680    return $this->password;
681  }
682  /**
683   * @param array
684   */
685  public function setPhones($phones)
686  {
687    $this->phones = $phones;
688  }
689  /**
690   * @return array
691   */
692  public function getPhones()
693  {
694    return $this->phones;
695  }
696  /**
697   * @param array
698   */
699  public function setPosixAccounts($posixAccounts)
700  {
701    $this->posixAccounts = $posixAccounts;
702  }
703  /**
704   * @return array
705   */
706  public function getPosixAccounts()
707  {
708    return $this->posixAccounts;
709  }
710  /**
711   * @param string
712   */
713  public function setPrimaryEmail($primaryEmail)
714  {
715    $this->primaryEmail = $primaryEmail;
716  }
717  /**
718   * @return string
719   */
720  public function getPrimaryEmail()
721  {
722    return $this->primaryEmail;
723  }
724  /**
725   * @param string
726   */
727  public function setRecoveryEmail($recoveryEmail)
728  {
729    $this->recoveryEmail = $recoveryEmail;
730  }
731  /**
732   * @return string
733   */
734  public function getRecoveryEmail()
735  {
736    return $this->recoveryEmail;
737  }
738  /**
739   * @param string
740   */
741  public function setRecoveryPhone($recoveryPhone)
742  {
743    $this->recoveryPhone = $recoveryPhone;
744  }
745  /**
746   * @return string
747   */
748  public function getRecoveryPhone()
749  {
750    return $this->recoveryPhone;
751  }
752  /**
753   * @param array
754   */
755  public function setRelations($relations)
756  {
757    $this->relations = $relations;
758  }
759  /**
760   * @return array
761   */
762  public function getRelations()
763  {
764    return $this->relations;
765  }
766  /**
767   * @param array
768   */
769  public function setSshPublicKeys($sshPublicKeys)
770  {
771    $this->sshPublicKeys = $sshPublicKeys;
772  }
773  /**
774   * @return array
775   */
776  public function getSshPublicKeys()
777  {
778    return $this->sshPublicKeys;
779  }
780  /**
781   * @param bool
782   */
783  public function setSuspended($suspended)
784  {
785    $this->suspended = $suspended;
786  }
787  /**
788   * @return bool
789   */
790  public function getSuspended()
791  {
792    return $this->suspended;
793  }
794  /**
795   * @param string
796   */
797  public function setSuspensionReason($suspensionReason)
798  {
799    $this->suspensionReason = $suspensionReason;
800  }
801  /**
802   * @return string
803   */
804  public function getSuspensionReason()
805  {
806    return $this->suspensionReason;
807  }
808  /**
809   * @param string
810   */
811  public function setThumbnailPhotoEtag($thumbnailPhotoEtag)
812  {
813    $this->thumbnailPhotoEtag = $thumbnailPhotoEtag;
814  }
815  /**
816   * @return string
817   */
818  public function getThumbnailPhotoEtag()
819  {
820    return $this->thumbnailPhotoEtag;
821  }
822  /**
823   * @param string
824   */
825  public function setThumbnailPhotoUrl($thumbnailPhotoUrl)
826  {
827    $this->thumbnailPhotoUrl = $thumbnailPhotoUrl;
828  }
829  /**
830   * @return string
831   */
832  public function getThumbnailPhotoUrl()
833  {
834    return $this->thumbnailPhotoUrl;
835  }
836  /**
837   * @param array
838   */
839  public function setWebsites($websites)
840  {
841    $this->websites = $websites;
842  }
843  /**
844   * @return array
845   */
846  public function getWebsites()
847  {
848    return $this->websites;
849  }
850}
851
852// Adding a class alias for backwards compatibility with the previous class name.
853class_alias(User::class, 'Google_Service_Directory_User');
854