<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\PeopleService;

class Person extends \Google\Collection
{
  protected $collection_key = 'userDefined';
  protected $addressesType = Address::class;
  protected $addressesDataType = 'array';
  public $addresses = [];
  /**
   * @var string
   */
  public $ageRange;
  protected $ageRangesType = AgeRangeType::class;
  protected $ageRangesDataType = 'array';
  public $ageRanges = [];
  protected $biographiesType = Biography::class;
  protected $biographiesDataType = 'array';
  public $biographies = [];
  protected $birthdaysType = Birthday::class;
  protected $birthdaysDataType = 'array';
  public $birthdays = [];
  protected $braggingRightsType = BraggingRights::class;
  protected $braggingRightsDataType = 'array';
  public $braggingRights = [];
  protected $calendarUrlsType = CalendarUrl::class;
  protected $calendarUrlsDataType = 'array';
  public $calendarUrls = [];
  protected $clientDataType = ClientData::class;
  protected $clientDataDataType = 'array';
  public $clientData = [];
  protected $coverPhotosType = CoverPhoto::class;
  protected $coverPhotosDataType = 'array';
  public $coverPhotos = [];
  protected $emailAddressesType = EmailAddress::class;
  protected $emailAddressesDataType = 'array';
  public $emailAddresses = [];
  /**
   * @var string
   */
  public $etag;
  protected $eventsType = Event::class;
  protected $eventsDataType = 'array';
  public $events = [];
  protected $externalIdsType = ExternalId::class;
  protected $externalIdsDataType = 'array';
  public $externalIds = [];
  protected $fileAsesType = FileAs::class;
  protected $fileAsesDataType = 'array';
  public $fileAses = [];
  protected $gendersType = Gender::class;
  protected $gendersDataType = 'array';
  public $genders = [];
  protected $imClientsType = ImClient::class;
  protected $imClientsDataType = 'array';
  public $imClients = [];
  protected $interestsType = Interest::class;
  protected $interestsDataType = 'array';
  public $interests = [];
  protected $localesType = Locale::class;
  protected $localesDataType = 'array';
  public $locales = [];
  protected $locationsType = Location::class;
  protected $locationsDataType = 'array';
  public $locations = [];
  protected $membershipsType = Membership::class;
  protected $membershipsDataType = 'array';
  public $memberships = [];
  protected $metadataType = PersonMetadata::class;
  protected $metadataDataType = '';
  public $metadata;
  protected $miscKeywordsType = MiscKeyword::class;
  protected $miscKeywordsDataType = 'array';
  public $miscKeywords = [];
  protected $namesType = Name::class;
  protected $namesDataType = 'array';
  public $names = [];
  protected $nicknamesType = Nickname::class;
  protected $nicknamesDataType = 'array';
  public $nicknames = [];
  protected $occupationsType = Occupation::class;
  protected $occupationsDataType = 'array';
  public $occupations = [];
  protected $organizationsType = Organization::class;
  protected $organizationsDataType = 'array';
  public $organizations = [];
  protected $phoneNumbersType = PhoneNumber::class;
  protected $phoneNumbersDataType = 'array';
  public $phoneNumbers = [];
  protected $photosType = Photo::class;
  protected $photosDataType = 'array';
  public $photos = [];
  protected $relationsType = Relation::class;
  protected $relationsDataType = 'array';
  public $relations = [];
  protected $relationshipInterestsType = RelationshipInterest::class;
  protected $relationshipInterestsDataType = 'array';
  public $relationshipInterests = [];
  protected $relationshipStatusesType = RelationshipStatus::class;
  protected $relationshipStatusesDataType = 'array';
  public $relationshipStatuses = [];
  protected $residencesType = Residence::class;
  protected $residencesDataType = 'array';
  public $residences = [];
  /**
   * @var string
   */
  public $resourceName;
  protected $sipAddressesType = SipAddress::class;
  protected $sipAddressesDataType = 'array';
  public $sipAddresses = [];
  protected $skillsType = Skill::class;
  protected $skillsDataType = 'array';
  public $skills = [];
  protected $taglinesType = Tagline::class;
  protected $taglinesDataType = 'array';
  public $taglines = [];
  protected $urlsType = Url::class;
  protected $urlsDataType = 'array';
  public $urls = [];
  protected $userDefinedType = UserDefined::class;
  protected $userDefinedDataType = 'array';
  public $userDefined = [];

  /**
   * @param Address[]
   */
  public function setAddresses($addresses)
  {
    $this->addresses = $addresses;
  }
  /**
   * @return Address[]
   */
  public function getAddresses()
  {
    return $this->addresses;
  }
  /**
   * @param string
   */
  public function setAgeRange($ageRange)
  {
    $this->ageRange = $ageRange;
  }
  /**
   * @return string
   */
  public function getAgeRange()
  {
    return $this->ageRange;
  }
  /**
   * @param AgeRangeType[]
   */
  public function setAgeRanges($ageRanges)
  {
    $this->ageRanges = $ageRanges;
  }
  /**
   * @return AgeRangeType[]
   */
  public function getAgeRanges()
  {
    return $this->ageRanges;
  }
  /**
   * @param Biography[]
   */
  public function setBiographies($biographies)
  {
    $this->biographies = $biographies;
  }
  /**
   * @return Biography[]
   */
  public function getBiographies()
  {
    return $this->biographies;
  }
  /**
   * @param Birthday[]
   */
  public function setBirthdays($birthdays)
  {
    $this->birthdays = $birthdays;
  }
  /**
   * @return Birthday[]
   */
  public function getBirthdays()
  {
    return $this->birthdays;
  }
  /**
   * @param BraggingRights[]
   */
  public function setBraggingRights($braggingRights)
  {
    $this->braggingRights = $braggingRights;
  }
  /**
   * @return BraggingRights[]
   */
  public function getBraggingRights()
  {
    return $this->braggingRights;
  }
  /**
   * @param CalendarUrl[]
   */
  public function setCalendarUrls($calendarUrls)
  {
    $this->calendarUrls = $calendarUrls;
  }
  /**
   * @return CalendarUrl[]
   */
  public function getCalendarUrls()
  {
    return $this->calendarUrls;
  }
  /**
   * @param ClientData[]
   */
  public function setClientData($clientData)
  {
    $this->clientData = $clientData;
  }
  /**
   * @return ClientData[]
   */
  public function getClientData()
  {
    return $this->clientData;
  }
  /**
   * @param CoverPhoto[]
   */
  public function setCoverPhotos($coverPhotos)
  {
    $this->coverPhotos = $coverPhotos;
  }
  /**
   * @return CoverPhoto[]
   */
  public function getCoverPhotos()
  {
    return $this->coverPhotos;
  }
  /**
   * @param EmailAddress[]
   */
  public function setEmailAddresses($emailAddresses)
  {
    $this->emailAddresses = $emailAddresses;
  }
  /**
   * @return EmailAddress[]
   */
  public function getEmailAddresses()
  {
    return $this->emailAddresses;
  }
  /**
   * @param string
   */
  public function setEtag($etag)
  {
    $this->etag = $etag;
  }
  /**
   * @return string
   */
  public function getEtag()
  {
    return $this->etag;
  }
  /**
   * @param Event[]
   */
  public function setEvents($events)
  {
    $this->events = $events;
  }
  /**
   * @return Event[]
   */
  public function getEvents()
  {
    return $this->events;
  }
  /**
   * @param ExternalId[]
   */
  public function setExternalIds($externalIds)
  {
    $this->externalIds = $externalIds;
  }
  /**
   * @return ExternalId[]
   */
  public function getExternalIds()
  {
    return $this->externalIds;
  }
  /**
   * @param FileAs[]
   */
  public function setFileAses($fileAses)
  {
    $this->fileAses = $fileAses;
  }
  /**
   * @return FileAs[]
   */
  public function getFileAses()
  {
    return $this->fileAses;
  }
  /**
   * @param Gender[]
   */
  public function setGenders($genders)
  {
    $this->genders = $genders;
  }
  /**
   * @return Gender[]
   */
  public function getGenders()
  {
    return $this->genders;
  }
  /**
   * @param ImClient[]
   */
  public function setImClients($imClients)
  {
    $this->imClients = $imClients;
  }
  /**
   * @return ImClient[]
   */
  public function getImClients()
  {
    return $this->imClients;
  }
  /**
   * @param Interest[]
   */
  public function setInterests($interests)
  {
    $this->interests = $interests;
  }
  /**
   * @return Interest[]
   */
  public function getInterests()
  {
    return $this->interests;
  }
  /**
   * @param Locale[]
   */
  public function setLocales($locales)
  {
    $this->locales = $locales;
  }
  /**
   * @return Locale[]
   */
  public function getLocales()
  {
    return $this->locales;
  }
  /**
   * @param Location[]
   */
  public function setLocations($locations)
  {
    $this->locations = $locations;
  }
  /**
   * @return Location[]
   */
  public function getLocations()
  {
    return $this->locations;
  }
  /**
   * @param Membership[]
   */
  public function setMemberships($memberships)
  {
    $this->memberships = $memberships;
  }
  /**
   * @return Membership[]
   */
  public function getMemberships()
  {
    return $this->memberships;
  }
  /**
   * @param PersonMetadata
   */
  public function setMetadata(PersonMetadata $metadata)
  {
    $this->metadata = $metadata;
  }
  /**
   * @return PersonMetadata
   */
  public function getMetadata()
  {
    return $this->metadata;
  }
  /**
   * @param MiscKeyword[]
   */
  public function setMiscKeywords($miscKeywords)
  {
    $this->miscKeywords = $miscKeywords;
  }
  /**
   * @return MiscKeyword[]
   */
  public function getMiscKeywords()
  {
    return $this->miscKeywords;
  }
  /**
   * @param Name[]
   */
  public function setNames($names)
  {
    $this->names = $names;
  }
  /**
   * @return Name[]
   */
  public function getNames()
  {
    return $this->names;
  }
  /**
   * @param Nickname[]
   */
  public function setNicknames($nicknames)
  {
    $this->nicknames = $nicknames;
  }
  /**
   * @return Nickname[]
   */
  public function getNicknames()
  {
    return $this->nicknames;
  }
  /**
   * @param Occupation[]
   */
  public function setOccupations($occupations)
  {
    $this->occupations = $occupations;
  }
  /**
   * @return Occupation[]
   */
  public function getOccupations()
  {
    return $this->occupations;
  }
  /**
   * @param Organization[]
   */
  public function setOrganizations($organizations)
  {
    $this->organizations = $organizations;
  }
  /**
   * @return Organization[]
   */
  public function getOrganizations()
  {
    return $this->organizations;
  }
  /**
   * @param PhoneNumber[]
   */
  public function setPhoneNumbers($phoneNumbers)
  {
    $this->phoneNumbers = $phoneNumbers;
  }
  /**
   * @return PhoneNumber[]
   */
  public function getPhoneNumbers()
  {
    return $this->phoneNumbers;
  }
  /**
   * @param Photo[]
   */
  public function setPhotos($photos)
  {
    $this->photos = $photos;
  }
  /**
   * @return Photo[]
   */
  public function getPhotos()
  {
    return $this->photos;
  }
  /**
   * @param Relation[]
   */
  public function setRelations($relations)
  {
    $this->relations = $relations;
  }
  /**
   * @return Relation[]
   */
  public function getRelations()
  {
    return $this->relations;
  }
  /**
   * @param RelationshipInterest[]
   */
  public function setRelationshipInterests($relationshipInterests)
  {
    $this->relationshipInterests = $relationshipInterests;
  }
  /**
   * @return RelationshipInterest[]
   */
  public function getRelationshipInterests()
  {
    return $this->relationshipInterests;
  }
  /**
   * @param RelationshipStatus[]
   */
  public function setRelationshipStatuses($relationshipStatuses)
  {
    $this->relationshipStatuses = $relationshipStatuses;
  }
  /**
   * @return RelationshipStatus[]
   */
  public function getRelationshipStatuses()
  {
    return $this->relationshipStatuses;
  }
  /**
   * @param Residence[]
   */
  public function setResidences($residences)
  {
    $this->residences = $residences;
  }
  /**
   * @return Residence[]
   */
  public function getResidences()
  {
    return $this->residences;
  }
  /**
   * @param string
   */
  public function setResourceName($resourceName)
  {
    $this->resourceName = $resourceName;
  }
  /**
   * @return string
   */
  public function getResourceName()
  {
    return $this->resourceName;
  }
  /**
   * @param SipAddress[]
   */
  public function setSipAddresses($sipAddresses)
  {
    $this->sipAddresses = $sipAddresses;
  }
  /**
   * @return SipAddress[]
   */
  public function getSipAddresses()
  {
    return $this->sipAddresses;
  }
  /**
   * @param Skill[]
   */
  public function setSkills($skills)
  {
    $this->skills = $skills;
  }
  /**
   * @return Skill[]
   */
  public function getSkills()
  {
    return $this->skills;
  }
  /**
   * @param Tagline[]
   */
  public function setTaglines($taglines)
  {
    $this->taglines = $taglines;
  }
  /**
   * @return Tagline[]
   */
  public function getTaglines()
  {
    return $this->taglines;
  }
  /**
   * @param Url[]
   */
  public function setUrls($urls)
  {
    $this->urls = $urls;
  }
  /**
   * @return Url[]
   */
  public function getUrls()
  {
    return $this->urls;
  }
  /**
   * @param UserDefined[]
   */
  public function setUserDefined($userDefined)
  {
    $this->userDefined = $userDefined;
  }
  /**
   * @return UserDefined[]
   */
  public function getUserDefined()
  {
    return $this->userDefined;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Person::class, 'Google_Service_PeopleService_Person');
