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\PeopleService;
19
20class Person extends \Google\Collection
21{
22  protected $collection_key = 'userDefined';
23  protected $addressesType = Address::class;
24  protected $addressesDataType = 'array';
25  /**
26   * @var string
27   */
28  public $ageRange;
29  protected $ageRangesType = AgeRangeType::class;
30  protected $ageRangesDataType = 'array';
31  protected $biographiesType = Biography::class;
32  protected $biographiesDataType = 'array';
33  protected $birthdaysType = Birthday::class;
34  protected $birthdaysDataType = 'array';
35  protected $braggingRightsType = BraggingRights::class;
36  protected $braggingRightsDataType = 'array';
37  protected $calendarUrlsType = CalendarUrl::class;
38  protected $calendarUrlsDataType = 'array';
39  protected $clientDataType = ClientData::class;
40  protected $clientDataDataType = 'array';
41  protected $coverPhotosType = CoverPhoto::class;
42  protected $coverPhotosDataType = 'array';
43  protected $emailAddressesType = EmailAddress::class;
44  protected $emailAddressesDataType = 'array';
45  /**
46   * @var string
47   */
48  public $etag;
49  protected $eventsType = Event::class;
50  protected $eventsDataType = 'array';
51  protected $externalIdsType = ExternalId::class;
52  protected $externalIdsDataType = 'array';
53  protected $fileAsesType = FileAs::class;
54  protected $fileAsesDataType = 'array';
55  protected $gendersType = Gender::class;
56  protected $gendersDataType = 'array';
57  protected $imClientsType = ImClient::class;
58  protected $imClientsDataType = 'array';
59  protected $interestsType = Interest::class;
60  protected $interestsDataType = 'array';
61  protected $localesType = Locale::class;
62  protected $localesDataType = 'array';
63  protected $locationsType = Location::class;
64  protected $locationsDataType = 'array';
65  protected $membershipsType = Membership::class;
66  protected $membershipsDataType = 'array';
67  protected $metadataType = PersonMetadata::class;
68  protected $metadataDataType = '';
69  protected $miscKeywordsType = MiscKeyword::class;
70  protected $miscKeywordsDataType = 'array';
71  protected $namesType = Name::class;
72  protected $namesDataType = 'array';
73  protected $nicknamesType = Nickname::class;
74  protected $nicknamesDataType = 'array';
75  protected $occupationsType = Occupation::class;
76  protected $occupationsDataType = 'array';
77  protected $organizationsType = Organization::class;
78  protected $organizationsDataType = 'array';
79  protected $phoneNumbersType = PhoneNumber::class;
80  protected $phoneNumbersDataType = 'array';
81  protected $photosType = Photo::class;
82  protected $photosDataType = 'array';
83  protected $relationsType = Relation::class;
84  protected $relationsDataType = 'array';
85  protected $relationshipInterestsType = RelationshipInterest::class;
86  protected $relationshipInterestsDataType = 'array';
87  protected $relationshipStatusesType = RelationshipStatus::class;
88  protected $relationshipStatusesDataType = 'array';
89  protected $residencesType = Residence::class;
90  protected $residencesDataType = 'array';
91  /**
92   * @var string
93   */
94  public $resourceName;
95  protected $sipAddressesType = SipAddress::class;
96  protected $sipAddressesDataType = 'array';
97  protected $skillsType = Skill::class;
98  protected $skillsDataType = 'array';
99  protected $taglinesType = Tagline::class;
100  protected $taglinesDataType = 'array';
101  protected $urlsType = Url::class;
102  protected $urlsDataType = 'array';
103  protected $userDefinedType = UserDefined::class;
104  protected $userDefinedDataType = 'array';
105
106  /**
107   * @param Address[]
108   */
109  public function setAddresses($addresses)
110  {
111    $this->addresses = $addresses;
112  }
113  /**
114   * @return Address[]
115   */
116  public function getAddresses()
117  {
118    return $this->addresses;
119  }
120  /**
121   * @param string
122   */
123  public function setAgeRange($ageRange)
124  {
125    $this->ageRange = $ageRange;
126  }
127  /**
128   * @return string
129   */
130  public function getAgeRange()
131  {
132    return $this->ageRange;
133  }
134  /**
135   * @param AgeRangeType[]
136   */
137  public function setAgeRanges($ageRanges)
138  {
139    $this->ageRanges = $ageRanges;
140  }
141  /**
142   * @return AgeRangeType[]
143   */
144  public function getAgeRanges()
145  {
146    return $this->ageRanges;
147  }
148  /**
149   * @param Biography[]
150   */
151  public function setBiographies($biographies)
152  {
153    $this->biographies = $biographies;
154  }
155  /**
156   * @return Biography[]
157   */
158  public function getBiographies()
159  {
160    return $this->biographies;
161  }
162  /**
163   * @param Birthday[]
164   */
165  public function setBirthdays($birthdays)
166  {
167    $this->birthdays = $birthdays;
168  }
169  /**
170   * @return Birthday[]
171   */
172  public function getBirthdays()
173  {
174    return $this->birthdays;
175  }
176  /**
177   * @param BraggingRights[]
178   */
179  public function setBraggingRights($braggingRights)
180  {
181    $this->braggingRights = $braggingRights;
182  }
183  /**
184   * @return BraggingRights[]
185   */
186  public function getBraggingRights()
187  {
188    return $this->braggingRights;
189  }
190  /**
191   * @param CalendarUrl[]
192   */
193  public function setCalendarUrls($calendarUrls)
194  {
195    $this->calendarUrls = $calendarUrls;
196  }
197  /**
198   * @return CalendarUrl[]
199   */
200  public function getCalendarUrls()
201  {
202    return $this->calendarUrls;
203  }
204  /**
205   * @param ClientData[]
206   */
207  public function setClientData($clientData)
208  {
209    $this->clientData = $clientData;
210  }
211  /**
212   * @return ClientData[]
213   */
214  public function getClientData()
215  {
216    return $this->clientData;
217  }
218  /**
219   * @param CoverPhoto[]
220   */
221  public function setCoverPhotos($coverPhotos)
222  {
223    $this->coverPhotos = $coverPhotos;
224  }
225  /**
226   * @return CoverPhoto[]
227   */
228  public function getCoverPhotos()
229  {
230    return $this->coverPhotos;
231  }
232  /**
233   * @param EmailAddress[]
234   */
235  public function setEmailAddresses($emailAddresses)
236  {
237    $this->emailAddresses = $emailAddresses;
238  }
239  /**
240   * @return EmailAddress[]
241   */
242  public function getEmailAddresses()
243  {
244    return $this->emailAddresses;
245  }
246  /**
247   * @param string
248   */
249  public function setEtag($etag)
250  {
251    $this->etag = $etag;
252  }
253  /**
254   * @return string
255   */
256  public function getEtag()
257  {
258    return $this->etag;
259  }
260  /**
261   * @param Event[]
262   */
263  public function setEvents($events)
264  {
265    $this->events = $events;
266  }
267  /**
268   * @return Event[]
269   */
270  public function getEvents()
271  {
272    return $this->events;
273  }
274  /**
275   * @param ExternalId[]
276   */
277  public function setExternalIds($externalIds)
278  {
279    $this->externalIds = $externalIds;
280  }
281  /**
282   * @return ExternalId[]
283   */
284  public function getExternalIds()
285  {
286    return $this->externalIds;
287  }
288  /**
289   * @param FileAs[]
290   */
291  public function setFileAses($fileAses)
292  {
293    $this->fileAses = $fileAses;
294  }
295  /**
296   * @return FileAs[]
297   */
298  public function getFileAses()
299  {
300    return $this->fileAses;
301  }
302  /**
303   * @param Gender[]
304   */
305  public function setGenders($genders)
306  {
307    $this->genders = $genders;
308  }
309  /**
310   * @return Gender[]
311   */
312  public function getGenders()
313  {
314    return $this->genders;
315  }
316  /**
317   * @param ImClient[]
318   */
319  public function setImClients($imClients)
320  {
321    $this->imClients = $imClients;
322  }
323  /**
324   * @return ImClient[]
325   */
326  public function getImClients()
327  {
328    return $this->imClients;
329  }
330  /**
331   * @param Interest[]
332   */
333  public function setInterests($interests)
334  {
335    $this->interests = $interests;
336  }
337  /**
338   * @return Interest[]
339   */
340  public function getInterests()
341  {
342    return $this->interests;
343  }
344  /**
345   * @param Locale[]
346   */
347  public function setLocales($locales)
348  {
349    $this->locales = $locales;
350  }
351  /**
352   * @return Locale[]
353   */
354  public function getLocales()
355  {
356    return $this->locales;
357  }
358  /**
359   * @param Location[]
360   */
361  public function setLocations($locations)
362  {
363    $this->locations = $locations;
364  }
365  /**
366   * @return Location[]
367   */
368  public function getLocations()
369  {
370    return $this->locations;
371  }
372  /**
373   * @param Membership[]
374   */
375  public function setMemberships($memberships)
376  {
377    $this->memberships = $memberships;
378  }
379  /**
380   * @return Membership[]
381   */
382  public function getMemberships()
383  {
384    return $this->memberships;
385  }
386  /**
387   * @param PersonMetadata
388   */
389  public function setMetadata(PersonMetadata $metadata)
390  {
391    $this->metadata = $metadata;
392  }
393  /**
394   * @return PersonMetadata
395   */
396  public function getMetadata()
397  {
398    return $this->metadata;
399  }
400  /**
401   * @param MiscKeyword[]
402   */
403  public function setMiscKeywords($miscKeywords)
404  {
405    $this->miscKeywords = $miscKeywords;
406  }
407  /**
408   * @return MiscKeyword[]
409   */
410  public function getMiscKeywords()
411  {
412    return $this->miscKeywords;
413  }
414  /**
415   * @param Name[]
416   */
417  public function setNames($names)
418  {
419    $this->names = $names;
420  }
421  /**
422   * @return Name[]
423   */
424  public function getNames()
425  {
426    return $this->names;
427  }
428  /**
429   * @param Nickname[]
430   */
431  public function setNicknames($nicknames)
432  {
433    $this->nicknames = $nicknames;
434  }
435  /**
436   * @return Nickname[]
437   */
438  public function getNicknames()
439  {
440    return $this->nicknames;
441  }
442  /**
443   * @param Occupation[]
444   */
445  public function setOccupations($occupations)
446  {
447    $this->occupations = $occupations;
448  }
449  /**
450   * @return Occupation[]
451   */
452  public function getOccupations()
453  {
454    return $this->occupations;
455  }
456  /**
457   * @param Organization[]
458   */
459  public function setOrganizations($organizations)
460  {
461    $this->organizations = $organizations;
462  }
463  /**
464   * @return Organization[]
465   */
466  public function getOrganizations()
467  {
468    return $this->organizations;
469  }
470  /**
471   * @param PhoneNumber[]
472   */
473  public function setPhoneNumbers($phoneNumbers)
474  {
475    $this->phoneNumbers = $phoneNumbers;
476  }
477  /**
478   * @return PhoneNumber[]
479   */
480  public function getPhoneNumbers()
481  {
482    return $this->phoneNumbers;
483  }
484  /**
485   * @param Photo[]
486   */
487  public function setPhotos($photos)
488  {
489    $this->photos = $photos;
490  }
491  /**
492   * @return Photo[]
493   */
494  public function getPhotos()
495  {
496    return $this->photos;
497  }
498  /**
499   * @param Relation[]
500   */
501  public function setRelations($relations)
502  {
503    $this->relations = $relations;
504  }
505  /**
506   * @return Relation[]
507   */
508  public function getRelations()
509  {
510    return $this->relations;
511  }
512  /**
513   * @param RelationshipInterest[]
514   */
515  public function setRelationshipInterests($relationshipInterests)
516  {
517    $this->relationshipInterests = $relationshipInterests;
518  }
519  /**
520   * @return RelationshipInterest[]
521   */
522  public function getRelationshipInterests()
523  {
524    return $this->relationshipInterests;
525  }
526  /**
527   * @param RelationshipStatus[]
528   */
529  public function setRelationshipStatuses($relationshipStatuses)
530  {
531    $this->relationshipStatuses = $relationshipStatuses;
532  }
533  /**
534   * @return RelationshipStatus[]
535   */
536  public function getRelationshipStatuses()
537  {
538    return $this->relationshipStatuses;
539  }
540  /**
541   * @param Residence[]
542   */
543  public function setResidences($residences)
544  {
545    $this->residences = $residences;
546  }
547  /**
548   * @return Residence[]
549   */
550  public function getResidences()
551  {
552    return $this->residences;
553  }
554  /**
555   * @param string
556   */
557  public function setResourceName($resourceName)
558  {
559    $this->resourceName = $resourceName;
560  }
561  /**
562   * @return string
563   */
564  public function getResourceName()
565  {
566    return $this->resourceName;
567  }
568  /**
569   * @param SipAddress[]
570   */
571  public function setSipAddresses($sipAddresses)
572  {
573    $this->sipAddresses = $sipAddresses;
574  }
575  /**
576   * @return SipAddress[]
577   */
578  public function getSipAddresses()
579  {
580    return $this->sipAddresses;
581  }
582  /**
583   * @param Skill[]
584   */
585  public function setSkills($skills)
586  {
587    $this->skills = $skills;
588  }
589  /**
590   * @return Skill[]
591   */
592  public function getSkills()
593  {
594    return $this->skills;
595  }
596  /**
597   * @param Tagline[]
598   */
599  public function setTaglines($taglines)
600  {
601    $this->taglines = $taglines;
602  }
603  /**
604   * @return Tagline[]
605   */
606  public function getTaglines()
607  {
608    return $this->taglines;
609  }
610  /**
611   * @param Url[]
612   */
613  public function setUrls($urls)
614  {
615    $this->urls = $urls;
616  }
617  /**
618   * @return Url[]
619   */
620  public function getUrls()
621  {
622    return $this->urls;
623  }
624  /**
625   * @param UserDefined[]
626   */
627  public function setUserDefined($userDefined)
628  {
629    $this->userDefined = $userDefined;
630  }
631  /**
632   * @return UserDefined[]
633   */
634  public function getUserDefined()
635  {
636    return $this->userDefined;
637  }
638}
639
640// Adding a class alias for backwards compatibility with the previous class name.
641class_alias(Person::class, 'Google_Service_PeopleService_Person');
642