Nouveaux fichier suite maj librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:46:24 +02:00
parent 6d5286b888
commit 382b93196c
2318 changed files with 147474 additions and 0 deletions

View File

@@ -0,0 +1,136 @@
<?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.
*/
class Google_Service_PeopleService_Address extends Google_Model
{
public $city;
public $country;
public $countryCode;
public $extendedAddress;
public $formattedType;
public $formattedValue;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $poBox;
public $postalCode;
public $region;
public $streetAddress;
public $type;
public function setCity($city)
{
$this->city = $city;
}
public function getCity()
{
return $this->city;
}
public function setCountry($country)
{
$this->country = $country;
}
public function getCountry()
{
return $this->country;
}
public function setCountryCode($countryCode)
{
$this->countryCode = $countryCode;
}
public function getCountryCode()
{
return $this->countryCode;
}
public function setExtendedAddress($extendedAddress)
{
$this->extendedAddress = $extendedAddress;
}
public function getExtendedAddress()
{
return $this->extendedAddress;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
public function setFormattedValue($formattedValue)
{
$this->formattedValue = $formattedValue;
}
public function getFormattedValue()
{
return $this->formattedValue;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setPoBox($poBox)
{
$this->poBox = $poBox;
}
public function getPoBox()
{
return $this->poBox;
}
public function setPostalCode($postalCode)
{
$this->postalCode = $postalCode;
}
public function getPostalCode()
{
return $this->postalCode;
}
public function setRegion($region)
{
$this->region = $region;
}
public function getRegion()
{
return $this->region;
}
public function setStreetAddress($streetAddress)
{
$this->streetAddress = $streetAddress;
}
public function getStreetAddress()
{
return $this->streetAddress;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_AgeRangeType extends Google_Model
{
public $ageRange;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public function setAgeRange($ageRange)
{
$this->ageRange = $ageRange;
}
public function getAgeRange()
{
return $this->ageRange;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}

View File

@@ -0,0 +1,38 @@
<?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.
*/
class Google_Service_PeopleService_BatchGetContactGroupsResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_PeopleService_ContactGroupResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_PeopleService_ContactGroupResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_PeopleService_ContactGroupResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_Biography extends Google_Model
{
public $contentType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
public function getContentType()
{
return $this->contentType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,62 @@
<?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.
*/
class Google_Service_PeopleService_Birthday extends Google_Model
{
protected $dateType = 'Google_Service_PeopleService_Date';
protected $dateDataType = '';
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $text;
/**
* @param Google_Service_PeopleService_Date
*/
public function setDate(Google_Service_PeopleService_Date $date)
{
$this->date = $date;
}
/**
* @return Google_Service_PeopleService_Date
*/
public function getDate()
{
return $this->date;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setText($text)
{
$this->text = $text;
}
public function getText()
{
return $this->text;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_BraggingRights extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,101 @@
<?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.
*/
class Google_Service_PeopleService_ContactGroup extends Google_Collection
{
protected $collection_key = 'memberResourceNames';
public $etag;
public $formattedName;
public $groupType;
public $memberCount;
public $memberResourceNames;
protected $metadataType = 'Google_Service_PeopleService_ContactGroupMetadata';
protected $metadataDataType = '';
public $name;
public $resourceName;
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setFormattedName($formattedName)
{
$this->formattedName = $formattedName;
}
public function getFormattedName()
{
return $this->formattedName;
}
public function setGroupType($groupType)
{
$this->groupType = $groupType;
}
public function getGroupType()
{
return $this->groupType;
}
public function setMemberCount($memberCount)
{
$this->memberCount = $memberCount;
}
public function getMemberCount()
{
return $this->memberCount;
}
public function setMemberResourceNames($memberResourceNames)
{
$this->memberResourceNames = $memberResourceNames;
}
public function getMemberResourceNames()
{
return $this->memberResourceNames;
}
/**
* @param Google_Service_PeopleService_ContactGroupMetadata
*/
public function setMetadata(Google_Service_PeopleService_ContactGroupMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_ContactGroupMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
public function getResourceName()
{
return $this->resourceName;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_PeopleService_ContactGroupMembership extends Google_Model
{
public $contactGroupId;
public function setContactGroupId($contactGroupId)
{
$this->contactGroupId = $contactGroupId;
}
public function getContactGroupId()
{
return $this->contactGroupId;
}
}

View File

@@ -0,0 +1,39 @@
<?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.
*/
class Google_Service_PeopleService_ContactGroupMetadata extends Google_Model
{
public $deleted;
public $updateTime;
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
public function getDeleted()
{
return $this->deleted;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,62 @@
<?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.
*/
class Google_Service_PeopleService_ContactGroupResponse extends Google_Model
{
protected $contactGroupType = 'Google_Service_PeopleService_ContactGroup';
protected $contactGroupDataType = '';
public $requestedResourceName;
protected $statusType = 'Google_Service_PeopleService_Status';
protected $statusDataType = '';
/**
* @param Google_Service_PeopleService_ContactGroup
*/
public function setContactGroup(Google_Service_PeopleService_ContactGroup $contactGroup)
{
$this->contactGroup = $contactGroup;
}
/**
* @return Google_Service_PeopleService_ContactGroup
*/
public function getContactGroup()
{
return $this->contactGroup;
}
public function setRequestedResourceName($requestedResourceName)
{
$this->requestedResourceName = $requestedResourceName;
}
public function getRequestedResourceName()
{
return $this->requestedResourceName;
}
/**
* @param Google_Service_PeopleService_Status
*/
public function setStatus(Google_Service_PeopleService_Status $status)
{
$this->status = $status;
}
/**
* @return Google_Service_PeopleService_Status
*/
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_CoverPhoto extends Google_Model
{
public $default;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $url;
public function setDefault($default)
{
$this->default = $default;
}
public function getDefault()
{
return $this->default;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_PeopleService_CreateContactGroupRequest extends Google_Model
{
protected $contactGroupType = 'Google_Service_PeopleService_ContactGroup';
protected $contactGroupDataType = '';
/**
* @param Google_Service_PeopleService_ContactGroup
*/
public function setContactGroup(Google_Service_PeopleService_ContactGroup $contactGroup)
{
$this->contactGroup = $contactGroup;
}
/**
* @return Google_Service_PeopleService_ContactGroup
*/
public function getContactGroup()
{
return $this->contactGroup;
}
}

View File

@@ -0,0 +1,48 @@
<?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.
*/
class Google_Service_PeopleService_Date extends Google_Model
{
public $day;
public $month;
public $year;
public function setDay($day)
{
$this->day = $day;
}
public function getDay()
{
return $this->day;
}
public function setMonth($month)
{
$this->month = $month;
}
public function getMonth()
{
return $this->month;
}
public function setYear($year)
{
$this->year = $year;
}
public function getYear()
{
return $this->year;
}
}

View File

@@ -0,0 +1,30 @@
<?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.
*/
class Google_Service_PeopleService_DomainMembership extends Google_Model
{
public $inViewerDomain;
public function setInViewerDomain($inViewerDomain)
{
$this->inViewerDomain = $inViewerDomain;
}
public function getInViewerDomain()
{
return $this->inViewerDomain;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_PeopleService_EmailAddress extends Google_Model
{
public $displayName;
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
public $value;
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,71 @@
<?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.
*/
class Google_Service_PeopleService_Event extends Google_Model
{
protected $dateType = 'Google_Service_PeopleService_Date';
protected $dateDataType = '';
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
/**
* @param Google_Service_PeopleService_Date
*/
public function setDate(Google_Service_PeopleService_Date $date)
{
$this->date = $date;
}
/**
* @return Google_Service_PeopleService_Date
*/
public function getDate()
{
return $this->date;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_FieldMetadata extends Google_Model
{
public $primary;
protected $sourceType = 'Google_Service_PeopleService_Source';
protected $sourceDataType = '';
public $verified;
public function setPrimary($primary)
{
$this->primary = $primary;
}
public function getPrimary()
{
return $this->primary;
}
/**
* @param Google_Service_PeopleService_Source
*/
public function setSource(Google_Service_PeopleService_Source $source)
{
$this->source = $source;
}
/**
* @return Google_Service_PeopleService_Source
*/
public function getSource()
{
return $this->source;
}
public function setVerified($verified)
{
$this->verified = $verified;
}
public function getVerified()
{
return $this->verified;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_Gender extends Google_Model
{
public $formattedValue;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setFormattedValue($formattedValue)
{
$this->formattedValue = $formattedValue;
}
public function getFormattedValue()
{
return $this->formattedValue;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,38 @@
<?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.
*/
class Google_Service_PeopleService_GetPeopleResponse extends Google_Collection
{
protected $collection_key = 'responses';
protected $responsesType = 'Google_Service_PeopleService_PersonResponse';
protected $responsesDataType = 'array';
/**
* @param Google_Service_PeopleService_PersonResponse
*/
public function setResponses($responses)
{
$this->responses = $responses;
}
/**
* @return Google_Service_PeopleService_PersonResponse
*/
public function getResponses()
{
return $this->responses;
}
}

View File

@@ -0,0 +1,82 @@
<?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.
*/
class Google_Service_PeopleService_ImClient extends Google_Model
{
public $formattedProtocol;
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $protocol;
public $type;
public $username;
public function setFormattedProtocol($formattedProtocol)
{
$this->formattedProtocol = $formattedProtocol;
}
public function getFormattedProtocol()
{
return $this->formattedProtocol;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setProtocol($protocol)
{
$this->protocol = $protocol;
}
public function getProtocol()
{
return $this->protocol;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUsername($username)
{
$this->username = $username;
}
public function getUsername()
{
return $this->username;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_Interest extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,74 @@
<?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.
*/
class Google_Service_PeopleService_ListConnectionsResponse extends Google_Collection
{
protected $collection_key = 'connections';
protected $connectionsType = 'Google_Service_PeopleService_Person';
protected $connectionsDataType = 'array';
public $nextPageToken;
public $nextSyncToken;
public $totalItems;
public $totalPeople;
/**
* @param Google_Service_PeopleService_Person
*/
public function setConnections($connections)
{
$this->connections = $connections;
}
/**
* @return Google_Service_PeopleService_Person
*/
public function getConnections()
{
return $this->connections;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
public function getTotalItems()
{
return $this->totalItems;
}
public function setTotalPeople($totalPeople)
{
$this->totalPeople = $totalPeople;
}
public function getTotalPeople()
{
return $this->totalPeople;
}
}

View File

@@ -0,0 +1,65 @@
<?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.
*/
class Google_Service_PeopleService_ListContactGroupsResponse extends Google_Collection
{
protected $collection_key = 'contactGroups';
protected $contactGroupsType = 'Google_Service_PeopleService_ContactGroup';
protected $contactGroupsDataType = 'array';
public $nextPageToken;
public $nextSyncToken;
public $totalItems;
/**
* @param Google_Service_PeopleService_ContactGroup
*/
public function setContactGroups($contactGroups)
{
$this->contactGroups = $contactGroups;
}
/**
* @return Google_Service_PeopleService_ContactGroup
*/
public function getContactGroups()
{
return $this->contactGroups;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
public function setNextSyncToken($nextSyncToken)
{
$this->nextSyncToken = $nextSyncToken;
}
public function getNextSyncToken()
{
return $this->nextSyncToken;
}
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
}
public function getTotalItems()
{
return $this->totalItems;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_Locale extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,69 @@
<?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.
*/
class Google_Service_PeopleService_Membership extends Google_Model
{
protected $contactGroupMembershipType = 'Google_Service_PeopleService_ContactGroupMembership';
protected $contactGroupMembershipDataType = '';
protected $domainMembershipType = 'Google_Service_PeopleService_DomainMembership';
protected $domainMembershipDataType = '';
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
/**
* @param Google_Service_PeopleService_ContactGroupMembership
*/
public function setContactGroupMembership(Google_Service_PeopleService_ContactGroupMembership $contactGroupMembership)
{
$this->contactGroupMembership = $contactGroupMembership;
}
/**
* @return Google_Service_PeopleService_ContactGroupMembership
*/
public function getContactGroupMembership()
{
return $this->contactGroupMembership;
}
/**
* @param Google_Service_PeopleService_DomainMembership
*/
public function setDomainMembership(Google_Service_PeopleService_DomainMembership $domainMembership)
{
$this->domainMembership = $domainMembership;
}
/**
* @return Google_Service_PeopleService_DomainMembership
*/
public function getDomainMembership()
{
return $this->domainMembership;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
}

View File

@@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_PeopleService_ModifyContactGroupMembersRequest extends Google_Collection
{
protected $collection_key = 'resourceNamesToRemove';
public $resourceNamesToAdd;
public $resourceNamesToRemove;
public function setResourceNamesToAdd($resourceNamesToAdd)
{
$this->resourceNamesToAdd = $resourceNamesToAdd;
}
public function getResourceNamesToAdd()
{
return $this->resourceNamesToAdd;
}
public function setResourceNamesToRemove($resourceNamesToRemove)
{
$this->resourceNamesToRemove = $resourceNamesToRemove;
}
public function getResourceNamesToRemove()
{
return $this->resourceNamesToRemove;
}
}

View File

@@ -0,0 +1,31 @@
<?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.
*/
class Google_Service_PeopleService_ModifyContactGroupMembersResponse extends Google_Collection
{
protected $collection_key = 'notFoundResourceNames';
public $notFoundResourceNames;
public function setNotFoundResourceNames($notFoundResourceNames)
{
$this->notFoundResourceNames = $notFoundResourceNames;
}
public function getNotFoundResourceNames()
{
return $this->notFoundResourceNames;
}
}

View File

@@ -0,0 +1,154 @@
<?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.
*/
class Google_Service_PeopleService_Name extends Google_Model
{
public $displayName;
public $displayNameLastFirst;
public $familyName;
public $givenName;
public $honorificPrefix;
public $honorificSuffix;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $middleName;
public $phoneticFamilyName;
public $phoneticFullName;
public $phoneticGivenName;
public $phoneticHonorificPrefix;
public $phoneticHonorificSuffix;
public $phoneticMiddleName;
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setDisplayNameLastFirst($displayNameLastFirst)
{
$this->displayNameLastFirst = $displayNameLastFirst;
}
public function getDisplayNameLastFirst()
{
return $this->displayNameLastFirst;
}
public function setFamilyName($familyName)
{
$this->familyName = $familyName;
}
public function getFamilyName()
{
return $this->familyName;
}
public function setGivenName($givenName)
{
$this->givenName = $givenName;
}
public function getGivenName()
{
return $this->givenName;
}
public function setHonorificPrefix($honorificPrefix)
{
$this->honorificPrefix = $honorificPrefix;
}
public function getHonorificPrefix()
{
return $this->honorificPrefix;
}
public function setHonorificSuffix($honorificSuffix)
{
$this->honorificSuffix = $honorificSuffix;
}
public function getHonorificSuffix()
{
return $this->honorificSuffix;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setMiddleName($middleName)
{
$this->middleName = $middleName;
}
public function getMiddleName()
{
return $this->middleName;
}
public function setPhoneticFamilyName($phoneticFamilyName)
{
$this->phoneticFamilyName = $phoneticFamilyName;
}
public function getPhoneticFamilyName()
{
return $this->phoneticFamilyName;
}
public function setPhoneticFullName($phoneticFullName)
{
$this->phoneticFullName = $phoneticFullName;
}
public function getPhoneticFullName()
{
return $this->phoneticFullName;
}
public function setPhoneticGivenName($phoneticGivenName)
{
$this->phoneticGivenName = $phoneticGivenName;
}
public function getPhoneticGivenName()
{
return $this->phoneticGivenName;
}
public function setPhoneticHonorificPrefix($phoneticHonorificPrefix)
{
$this->phoneticHonorificPrefix = $phoneticHonorificPrefix;
}
public function getPhoneticHonorificPrefix()
{
return $this->phoneticHonorificPrefix;
}
public function setPhoneticHonorificSuffix($phoneticHonorificSuffix)
{
$this->phoneticHonorificSuffix = $phoneticHonorificSuffix;
}
public function getPhoneticHonorificSuffix()
{
return $this->phoneticHonorificSuffix;
}
public function setPhoneticMiddleName($phoneticMiddleName)
{
$this->phoneticMiddleName = $phoneticMiddleName;
}
public function getPhoneticMiddleName()
{
return $this->phoneticMiddleName;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_Nickname extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_Occupation extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,168 @@
<?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.
*/
class Google_Service_PeopleService_Organization extends Google_Model
{
public $current;
public $department;
public $domain;
protected $endDateType = 'Google_Service_PeopleService_Date';
protected $endDateDataType = '';
public $formattedType;
public $jobDescription;
public $location;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $name;
public $phoneticName;
protected $startDateType = 'Google_Service_PeopleService_Date';
protected $startDateDataType = '';
public $symbol;
public $title;
public $type;
public function setCurrent($current)
{
$this->current = $current;
}
public function getCurrent()
{
return $this->current;
}
public function setDepartment($department)
{
$this->department = $department;
}
public function getDepartment()
{
return $this->department;
}
public function setDomain($domain)
{
$this->domain = $domain;
}
public function getDomain()
{
return $this->domain;
}
/**
* @param Google_Service_PeopleService_Date
*/
public function setEndDate(Google_Service_PeopleService_Date $endDate)
{
$this->endDate = $endDate;
}
/**
* @return Google_Service_PeopleService_Date
*/
public function getEndDate()
{
return $this->endDate;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
public function setJobDescription($jobDescription)
{
$this->jobDescription = $jobDescription;
}
public function getJobDescription()
{
return $this->jobDescription;
}
public function setLocation($location)
{
$this->location = $location;
}
public function getLocation()
{
return $this->location;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setName($name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setPhoneticName($phoneticName)
{
$this->phoneticName = $phoneticName;
}
public function getPhoneticName()
{
return $this->phoneticName;
}
/**
* @param Google_Service_PeopleService_Date
*/
public function setStartDate(Google_Service_PeopleService_Date $startDate)
{
$this->startDate = $startDate;
}
/**
* @return Google_Service_PeopleService_Date
*/
public function getStartDate()
{
return $this->startDate;
}
public function setSymbol($symbol)
{
$this->symbol = $symbol;
}
public function getSymbol()
{
return $this->symbol;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,20 @@
<?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.
*/
class Google_Service_PeopleService_PeopleEmpty extends Google_Model
{
}

View File

@@ -0,0 +1,497 @@
<?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.
*/
class Google_Service_PeopleService_Person extends Google_Collection
{
protected $collection_key = 'userDefined';
protected $addressesType = 'Google_Service_PeopleService_Address';
protected $addressesDataType = 'array';
public $ageRange;
protected $ageRangesType = 'Google_Service_PeopleService_AgeRangeType';
protected $ageRangesDataType = 'array';
protected $biographiesType = 'Google_Service_PeopleService_Biography';
protected $biographiesDataType = 'array';
protected $birthdaysType = 'Google_Service_PeopleService_Birthday';
protected $birthdaysDataType = 'array';
protected $braggingRightsType = 'Google_Service_PeopleService_BraggingRights';
protected $braggingRightsDataType = 'array';
protected $coverPhotosType = 'Google_Service_PeopleService_CoverPhoto';
protected $coverPhotosDataType = 'array';
protected $emailAddressesType = 'Google_Service_PeopleService_EmailAddress';
protected $emailAddressesDataType = 'array';
public $etag;
protected $eventsType = 'Google_Service_PeopleService_Event';
protected $eventsDataType = 'array';
protected $gendersType = 'Google_Service_PeopleService_Gender';
protected $gendersDataType = 'array';
protected $imClientsType = 'Google_Service_PeopleService_ImClient';
protected $imClientsDataType = 'array';
protected $interestsType = 'Google_Service_PeopleService_Interest';
protected $interestsDataType = 'array';
protected $localesType = 'Google_Service_PeopleService_Locale';
protected $localesDataType = 'array';
protected $membershipsType = 'Google_Service_PeopleService_Membership';
protected $membershipsDataType = 'array';
protected $metadataType = 'Google_Service_PeopleService_PersonMetadata';
protected $metadataDataType = '';
protected $namesType = 'Google_Service_PeopleService_Name';
protected $namesDataType = 'array';
protected $nicknamesType = 'Google_Service_PeopleService_Nickname';
protected $nicknamesDataType = 'array';
protected $occupationsType = 'Google_Service_PeopleService_Occupation';
protected $occupationsDataType = 'array';
protected $organizationsType = 'Google_Service_PeopleService_Organization';
protected $organizationsDataType = 'array';
protected $phoneNumbersType = 'Google_Service_PeopleService_PhoneNumber';
protected $phoneNumbersDataType = 'array';
protected $photosType = 'Google_Service_PeopleService_Photo';
protected $photosDataType = 'array';
protected $relationsType = 'Google_Service_PeopleService_Relation';
protected $relationsDataType = 'array';
protected $relationshipInterestsType = 'Google_Service_PeopleService_RelationshipInterest';
protected $relationshipInterestsDataType = 'array';
protected $relationshipStatusesType = 'Google_Service_PeopleService_RelationshipStatus';
protected $relationshipStatusesDataType = 'array';
protected $residencesType = 'Google_Service_PeopleService_Residence';
protected $residencesDataType = 'array';
public $resourceName;
protected $skillsType = 'Google_Service_PeopleService_Skill';
protected $skillsDataType = 'array';
protected $taglinesType = 'Google_Service_PeopleService_Tagline';
protected $taglinesDataType = 'array';
protected $urlsType = 'Google_Service_PeopleService_Url';
protected $urlsDataType = 'array';
protected $userDefinedType = 'Google_Service_PeopleService_UserDefined';
protected $userDefinedDataType = 'array';
/**
* @param Google_Service_PeopleService_Address
*/
public function setAddresses($addresses)
{
$this->addresses = $addresses;
}
/**
* @return Google_Service_PeopleService_Address
*/
public function getAddresses()
{
return $this->addresses;
}
public function setAgeRange($ageRange)
{
$this->ageRange = $ageRange;
}
public function getAgeRange()
{
return $this->ageRange;
}
/**
* @param Google_Service_PeopleService_AgeRangeType
*/
public function setAgeRanges($ageRanges)
{
$this->ageRanges = $ageRanges;
}
/**
* @return Google_Service_PeopleService_AgeRangeType
*/
public function getAgeRanges()
{
return $this->ageRanges;
}
/**
* @param Google_Service_PeopleService_Biography
*/
public function setBiographies($biographies)
{
$this->biographies = $biographies;
}
/**
* @return Google_Service_PeopleService_Biography
*/
public function getBiographies()
{
return $this->biographies;
}
/**
* @param Google_Service_PeopleService_Birthday
*/
public function setBirthdays($birthdays)
{
$this->birthdays = $birthdays;
}
/**
* @return Google_Service_PeopleService_Birthday
*/
public function getBirthdays()
{
return $this->birthdays;
}
/**
* @param Google_Service_PeopleService_BraggingRights
*/
public function setBraggingRights($braggingRights)
{
$this->braggingRights = $braggingRights;
}
/**
* @return Google_Service_PeopleService_BraggingRights
*/
public function getBraggingRights()
{
return $this->braggingRights;
}
/**
* @param Google_Service_PeopleService_CoverPhoto
*/
public function setCoverPhotos($coverPhotos)
{
$this->coverPhotos = $coverPhotos;
}
/**
* @return Google_Service_PeopleService_CoverPhoto
*/
public function getCoverPhotos()
{
return $this->coverPhotos;
}
/**
* @param Google_Service_PeopleService_EmailAddress
*/
public function setEmailAddresses($emailAddresses)
{
$this->emailAddresses = $emailAddresses;
}
/**
* @return Google_Service_PeopleService_EmailAddress
*/
public function getEmailAddresses()
{
return $this->emailAddresses;
}
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
/**
* @param Google_Service_PeopleService_Event
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return Google_Service_PeopleService_Event
*/
public function getEvents()
{
return $this->events;
}
/**
* @param Google_Service_PeopleService_Gender
*/
public function setGenders($genders)
{
$this->genders = $genders;
}
/**
* @return Google_Service_PeopleService_Gender
*/
public function getGenders()
{
return $this->genders;
}
/**
* @param Google_Service_PeopleService_ImClient
*/
public function setImClients($imClients)
{
$this->imClients = $imClients;
}
/**
* @return Google_Service_PeopleService_ImClient
*/
public function getImClients()
{
return $this->imClients;
}
/**
* @param Google_Service_PeopleService_Interest
*/
public function setInterests($interests)
{
$this->interests = $interests;
}
/**
* @return Google_Service_PeopleService_Interest
*/
public function getInterests()
{
return $this->interests;
}
/**
* @param Google_Service_PeopleService_Locale
*/
public function setLocales($locales)
{
$this->locales = $locales;
}
/**
* @return Google_Service_PeopleService_Locale
*/
public function getLocales()
{
return $this->locales;
}
/**
* @param Google_Service_PeopleService_Membership
*/
public function setMemberships($memberships)
{
$this->memberships = $memberships;
}
/**
* @return Google_Service_PeopleService_Membership
*/
public function getMemberships()
{
return $this->memberships;
}
/**
* @param Google_Service_PeopleService_PersonMetadata
*/
public function setMetadata(Google_Service_PeopleService_PersonMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_PersonMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* @param Google_Service_PeopleService_Name
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return Google_Service_PeopleService_Name
*/
public function getNames()
{
return $this->names;
}
/**
* @param Google_Service_PeopleService_Nickname
*/
public function setNicknames($nicknames)
{
$this->nicknames = $nicknames;
}
/**
* @return Google_Service_PeopleService_Nickname
*/
public function getNicknames()
{
return $this->nicknames;
}
/**
* @param Google_Service_PeopleService_Occupation
*/
public function setOccupations($occupations)
{
$this->occupations = $occupations;
}
/**
* @return Google_Service_PeopleService_Occupation
*/
public function getOccupations()
{
return $this->occupations;
}
/**
* @param Google_Service_PeopleService_Organization
*/
public function setOrganizations($organizations)
{
$this->organizations = $organizations;
}
/**
* @return Google_Service_PeopleService_Organization
*/
public function getOrganizations()
{
return $this->organizations;
}
/**
* @param Google_Service_PeopleService_PhoneNumber
*/
public function setPhoneNumbers($phoneNumbers)
{
$this->phoneNumbers = $phoneNumbers;
}
/**
* @return Google_Service_PeopleService_PhoneNumber
*/
public function getPhoneNumbers()
{
return $this->phoneNumbers;
}
/**
* @param Google_Service_PeopleService_Photo
*/
public function setPhotos($photos)
{
$this->photos = $photos;
}
/**
* @return Google_Service_PeopleService_Photo
*/
public function getPhotos()
{
return $this->photos;
}
/**
* @param Google_Service_PeopleService_Relation
*/
public function setRelations($relations)
{
$this->relations = $relations;
}
/**
* @return Google_Service_PeopleService_Relation
*/
public function getRelations()
{
return $this->relations;
}
/**
* @param Google_Service_PeopleService_RelationshipInterest
*/
public function setRelationshipInterests($relationshipInterests)
{
$this->relationshipInterests = $relationshipInterests;
}
/**
* @return Google_Service_PeopleService_RelationshipInterest
*/
public function getRelationshipInterests()
{
return $this->relationshipInterests;
}
/**
* @param Google_Service_PeopleService_RelationshipStatus
*/
public function setRelationshipStatuses($relationshipStatuses)
{
$this->relationshipStatuses = $relationshipStatuses;
}
/**
* @return Google_Service_PeopleService_RelationshipStatus
*/
public function getRelationshipStatuses()
{
return $this->relationshipStatuses;
}
/**
* @param Google_Service_PeopleService_Residence
*/
public function setResidences($residences)
{
$this->residences = $residences;
}
/**
* @return Google_Service_PeopleService_Residence
*/
public function getResidences()
{
return $this->residences;
}
public function setResourceName($resourceName)
{
$this->resourceName = $resourceName;
}
public function getResourceName()
{
return $this->resourceName;
}
/**
* @param Google_Service_PeopleService_Skill
*/
public function setSkills($skills)
{
$this->skills = $skills;
}
/**
* @return Google_Service_PeopleService_Skill
*/
public function getSkills()
{
return $this->skills;
}
/**
* @param Google_Service_PeopleService_Tagline
*/
public function setTaglines($taglines)
{
$this->taglines = $taglines;
}
/**
* @return Google_Service_PeopleService_Tagline
*/
public function getTaglines()
{
return $this->taglines;
}
/**
* @param Google_Service_PeopleService_Url
*/
public function setUrls($urls)
{
$this->urls = $urls;
}
/**
* @return Google_Service_PeopleService_Url
*/
public function getUrls()
{
return $this->urls;
}
/**
* @param Google_Service_PeopleService_UserDefined
*/
public function setUserDefined($userDefined)
{
$this->userDefined = $userDefined;
}
/**
* @return Google_Service_PeopleService_UserDefined
*/
public function getUserDefined()
{
return $this->userDefined;
}
}

View File

@@ -0,0 +1,74 @@
<?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.
*/
class Google_Service_PeopleService_PersonMetadata extends Google_Collection
{
protected $collection_key = 'sources';
public $deleted;
public $linkedPeopleResourceNames;
public $objectType;
public $previousResourceNames;
protected $sourcesType = 'Google_Service_PeopleService_Source';
protected $sourcesDataType = 'array';
public function setDeleted($deleted)
{
$this->deleted = $deleted;
}
public function getDeleted()
{
return $this->deleted;
}
public function setLinkedPeopleResourceNames($linkedPeopleResourceNames)
{
$this->linkedPeopleResourceNames = $linkedPeopleResourceNames;
}
public function getLinkedPeopleResourceNames()
{
return $this->linkedPeopleResourceNames;
}
public function setObjectType($objectType)
{
$this->objectType = $objectType;
}
public function getObjectType()
{
return $this->objectType;
}
public function setPreviousResourceNames($previousResourceNames)
{
$this->previousResourceNames = $previousResourceNames;
}
public function getPreviousResourceNames()
{
return $this->previousResourceNames;
}
/**
* @param Google_Service_PeopleService_Source
*/
public function setSources($sources)
{
$this->sources = $sources;
}
/**
* @return Google_Service_PeopleService_Source
*/
public function getSources()
{
return $this->sources;
}
}

View File

@@ -0,0 +1,71 @@
<?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.
*/
class Google_Service_PeopleService_PersonResponse extends Google_Model
{
public $httpStatusCode;
protected $personType = 'Google_Service_PeopleService_Person';
protected $personDataType = '';
public $requestedResourceName;
protected $statusType = 'Google_Service_PeopleService_Status';
protected $statusDataType = '';
public function setHttpStatusCode($httpStatusCode)
{
$this->httpStatusCode = $httpStatusCode;
}
public function getHttpStatusCode()
{
return $this->httpStatusCode;
}
/**
* @param Google_Service_PeopleService_Person
*/
public function setPerson(Google_Service_PeopleService_Person $person)
{
$this->person = $person;
}
/**
* @return Google_Service_PeopleService_Person
*/
public function getPerson()
{
return $this->person;
}
public function setRequestedResourceName($requestedResourceName)
{
$this->requestedResourceName = $requestedResourceName;
}
public function getRequestedResourceName()
{
return $this->requestedResourceName;
}
/**
* @param Google_Service_PeopleService_Status
*/
public function setStatus(Google_Service_PeopleService_Status $status)
{
$this->status = $status;
}
/**
* @return Google_Service_PeopleService_Status
*/
public function getStatus()
{
return $this->status;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_PeopleService_PhoneNumber extends Google_Model
{
public $canonicalForm;
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
public $value;
public function setCanonicalForm($canonicalForm)
{
$this->canonicalForm = $canonicalForm;
}
public function getCanonicalForm()
{
return $this->canonicalForm;
}
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_Photo extends Google_Model
{
public $default;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $url;
public function setDefault($default)
{
$this->default = $default;
}
public function getDefault()
{
return $this->default;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setUrl($url)
{
$this->url = $url;
}
public function getUrl()
{
return $this->url;
}
}

View File

@@ -0,0 +1,40 @@
<?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.
*/
class Google_Service_PeopleService_ProfileMetadata extends Google_Collection
{
protected $collection_key = 'userTypes';
public $objectType;
public $userTypes;
public function setObjectType($objectType)
{
$this->objectType = $objectType;
}
public function getObjectType()
{
return $this->objectType;
}
public function setUserTypes($userTypes)
{
$this->userTypes = $userTypes;
}
public function getUserTypes()
{
return $this->userTypes;
}
}

View File

@@ -0,0 +1,64 @@
<?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.
*/
class Google_Service_PeopleService_Relation extends Google_Model
{
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $person;
public $type;
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setPerson($person)
{
$this->person = $person;
}
public function getPerson()
{
return $this->person;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_RelationshipInterest extends Google_Model
{
public $formattedValue;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setFormattedValue($formattedValue)
{
$this->formattedValue = $formattedValue;
}
public function getFormattedValue()
{
return $this->formattedValue;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_RelationshipStatus extends Google_Model
{
public $formattedValue;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setFormattedValue($formattedValue)
{
$this->formattedValue = $formattedValue;
}
public function getFormattedValue()
{
return $this->formattedValue;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_Residence extends Google_Model
{
public $current;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setCurrent($current)
{
$this->current = $current;
}
public function getCurrent()
{
return $this->current;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,131 @@
<?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.
*/
/**
* The "contactGroups" collection of methods.
* Typical usage is:
* <code>
* $peopleService = new Google_Service_PeopleService(...);
* $contactGroups = $peopleService->contactGroups;
* </code>
*/
class Google_Service_PeopleService_Resource_ContactGroups extends Google_Service_Resource
{
/**
* Get a list of contact groups owned by the authenticated user by specifying a
* list of contact group resource names. (contactGroups.batchGet)
*
* @param array $optParams Optional parameters.
*
* @opt_param int maxMembers Specifies the maximum number of members to return
* for each group.
* @opt_param string resourceNames The resource names of the contact groups to
* get.
* @return Google_Service_PeopleService_BatchGetContactGroupsResponse
*/
public function batchGet($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('batchGet', array($params), "Google_Service_PeopleService_BatchGetContactGroupsResponse");
}
/**
* Create a new contact group owned by the authenticated user.
* (contactGroups.create)
*
* @param Google_Service_PeopleService_CreateContactGroupRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_PeopleService_ContactGroup
*/
public function create(Google_Service_PeopleService_CreateContactGroupRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('create', array($params), "Google_Service_PeopleService_ContactGroup");
}
/**
* Delete an existing contact group owned by the authenticated user by
* specifying a contact group resource name. (contactGroups.delete)
*
* @param string $resourceName The resource name of the contact group to delete.
* @param array $optParams Optional parameters.
*
* @opt_param bool deleteContacts Set to true to also delete the contacts in the
* specified group.
* @return Google_Service_PeopleService_PeopleEmpty
*/
public function delete($resourceName, $optParams = array())
{
$params = array('resourceName' => $resourceName);
$params = array_merge($params, $optParams);
return $this->call('delete', array($params), "Google_Service_PeopleService_PeopleEmpty");
}
/**
* Get a specific contact group owned by the authenticated user by specifying a
* contact group resource name. (contactGroups.get)
*
* @param string $resourceName The resource name of the contact group to get.
* @param array $optParams Optional parameters.
*
* @opt_param int maxMembers Specifies the maximum number of members to return.
* @return Google_Service_PeopleService_ContactGroup
*/
public function get($resourceName, $optParams = array())
{
$params = array('resourceName' => $resourceName);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_PeopleService_ContactGroup");
}
/**
* List all contact groups owned by the authenticated user. Members of the
* contact groups are not populated. (contactGroups.listContactGroups)
*
* @param array $optParams Optional parameters.
*
* @opt_param string pageToken The next_page_token value returned from a
* previous call to [ListContactGroups](/people/api/rest/v1/contactgroups/list).
* Requests the next page of resources.
* @opt_param int pageSize The maximum number of resources to return.
* @opt_param string syncToken A sync token, returned by a previous call to
* `contactgroups.list`. Only resources changed since the sync token was created
* will be returned.
* @return Google_Service_PeopleService_ListContactGroupsResponse
*/
public function listContactGroups($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_PeopleService_ListContactGroupsResponse");
}
/**
* Update the name of an existing contact group owned by the authenticated user.
* (contactGroups.update)
*
* @param string $resourceName The resource name for the contact group, assigned
* by the server. An ASCII string, in the form of
* `contactGroups/`contact_group_id.
* @param Google_Service_PeopleService_UpdateContactGroupRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_PeopleService_ContactGroup
*/
public function update($resourceName, Google_Service_PeopleService_UpdateContactGroupRequest $postBody, $optParams = array())
{
$params = array('resourceName' => $resourceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('update', array($params), "Google_Service_PeopleService_ContactGroup");
}
}

View File

@@ -0,0 +1,43 @@
<?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.
*/
/**
* The "members" collection of methods.
* Typical usage is:
* <code>
* $peopleService = new Google_Service_PeopleService(...);
* $members = $peopleService->members;
* </code>
*/
class Google_Service_PeopleService_Resource_ContactGroupsMembers extends Google_Service_Resource
{
/**
* Modify the members of a contact group owned by the authenticated user.
* (members.modify)
*
* @param string $resourceName The resource name of the contact group to modify.
* @param Google_Service_PeopleService_ModifyContactGroupMembersRequest $postBody
* @param array $optParams Optional parameters.
* @return Google_Service_PeopleService_ModifyContactGroupMembersResponse
*/
public function modify($resourceName, Google_Service_PeopleService_ModifyContactGroupMembersRequest $postBody, $optParams = array())
{
$params = array('resourceName' => $resourceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('modify', array($params), "Google_Service_PeopleService_ModifyContactGroupMembersResponse");
}
}

View File

@@ -0,0 +1,170 @@
<?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.
*/
/**
* The "people" collection of methods.
* Typical usage is:
* <code>
* $peopleService = new Google_Service_PeopleService(...);
* $people = $peopleService->people;
* </code>
*/
class Google_Service_PeopleService_Resource_People extends Google_Service_Resource
{
/**
* Create a new contact and return the person resource for that contact.
* (people.createContact)
*
* @param Google_Service_PeopleService_Person $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string parent The resource name of the owning person resource.
* @return Google_Service_PeopleService_Person
*/
public function createContact(Google_Service_PeopleService_Person $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('createContact', array($params), "Google_Service_PeopleService_Person");
}
/**
* Delete a contact person. Any non-contact data will not be deleted.
* (people.deleteContact)
*
* @param string $resourceName The resource name of the contact to delete.
* @param array $optParams Optional parameters.
* @return Google_Service_PeopleService_PeopleEmpty
*/
public function deleteContact($resourceName, $optParams = array())
{
$params = array('resourceName' => $resourceName);
$params = array_merge($params, $optParams);
return $this->call('deleteContact', array($params), "Google_Service_PeopleService_PeopleEmpty");
}
/**
* Provides information about a person by specifying a resource name. Use
* `people/me` to indicate the authenticated user.
*
* The request throws a 400 error if 'personFields' is not specified.
* (people.get)
*
* @param string $resourceName The resource name of the person to provide
* information about.
*
* - To get information about the authenticated user, specify `people/me`. - To
* get information about a google account, specify `people/`account_id. - To
* get information about a contact, specify the resource name that identifies
* the contact as returned by
* [`people.connections.list`](/people/api/rest/v1/people.connections/list).
* @param array $optParams Optional parameters.
*
* @opt_param string personFields **Required.** A field mask to restrict which
* fields on the person are returned. Multiple fields can be specified by
* separating them with commas. Valid values are:
*
* * addresses * ageRanges * biographies * birthdays * braggingRights *
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
* @return Google_Service_PeopleService_Person
*/
public function get($resourceName, $optParams = array())
{
$params = array('resourceName' => $resourceName);
$params = array_merge($params, $optParams);
return $this->call('get', array($params), "Google_Service_PeopleService_Person");
}
/**
* Provides information about a list of specific people by specifying a list of
* requested resource names. Use `people/me` to indicate the authenticated user.
*
* The request throws a 400 error if 'personFields' is not specified.
* (people.getBatchGet)
*
* @param array $optParams Optional parameters.
*
* @opt_param string personFields **Required.** A field mask to restrict which
* fields on each person are returned. Multiple fields can be specified by
* separating them with commas. Valid values are:
*
* * addresses * ageRanges * biographies * birthdays * braggingRights *
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
* @opt_param string resourceNames The resource names of the people to provide
* information about.
*
* - To get information about the authenticated user, specify `people/me`. - To
* get information about a google account, specify `people/`account_id. - To
* get information about a contact, specify the resource name that identifies
* the contact as returned by
* [`people.connections.list`](/people/api/rest/v1/people.connections/list).
*
* You can include up to 50 resource names in one request.
* @return Google_Service_PeopleService_GetPeopleResponse
*/
public function getBatchGet($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('getBatchGet', array($params), "Google_Service_PeopleService_GetPeopleResponse");
}
/**
* Update contact data for an existing contact person. Any non-contact data will
* not be modified.
*
* The request throws a 400 error if `updatePersonFields` is not specified.
*
* The request throws a 400 error if `person.metadata.sources` is not specified
* for the contact to be updated.
*
* The request throws a 412 error if `person.metadata.sources.etag` is different
* than the contact's etag, which indicates the contact has changed since its
* data was read. Clients should get the latest person and re-apply their
* updates to the latest person. (people.updateContact)
*
* @param string $resourceName The resource name for the person, assigned by the
* server. An ASCII string with a max length of 27 characters, in the form of
* `people/`person_id.
* @param Google_Service_PeopleService_Person $postBody
* @param array $optParams Optional parameters.
*
* @opt_param string updatePersonFields **Required.** A field mask to restrict
* which fields on the person are updated. Multiple fields can be specified by
* separating them with commas. All updated fields will be replaced. Valid
* values are:
*
* * addresses * biographies * birthdays * emailAddresses * events * genders *
* imClients * interests * locales * names * nicknames * occupations *
* organizations * phoneNumbers * relations * residences * urls
* @return Google_Service_PeopleService_Person
*/
public function updateContact($resourceName, Google_Service_PeopleService_Person $postBody, $optParams = array())
{
$params = array('resourceName' => $resourceName, 'postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('updateContact', array($params), "Google_Service_PeopleService_Person");
}
}

View File

@@ -0,0 +1,72 @@
<?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.
*/
/**
* The "connections" collection of methods.
* Typical usage is:
* <code>
* $peopleService = new Google_Service_PeopleService(...);
* $connections = $peopleService->connections;
* </code>
*/
class Google_Service_PeopleService_Resource_PeopleConnections extends Google_Service_Resource
{
/**
* Provides a list of the authenticated user's contacts merged with any
* connected profiles.
*
* The request throws a 400 error if 'personFields' is not specified.
* (connections.listPeopleConnections)
*
* @param string $resourceName The resource name to return connections for. Only
* `people/me` is valid.
* @param array $optParams Optional parameters.
*
* @opt_param string syncToken A sync token returned by a previous call to
* `people.connections.list`. Only resources changed since the sync token was
* created will be returned. Sync requests that specify `sync_token` have an
* additional rate limit.
* @opt_param string personFields **Required.** A field mask to restrict which
* fields on each person are returned. Multiple fields can be specified by
* separating them with commas. Valid values are:
*
* * addresses * ageRanges * biographies * birthdays * braggingRights *
* coverPhotos * emailAddresses * events * genders * imClients * interests *
* locales * memberships * metadata * names * nicknames * occupations *
* organizations * phoneNumbers * photos * relations * relationshipInterests *
* relationshipStatuses * residences * skills * taglines * urls
* @opt_param string sortOrder The order in which the connections should be
* sorted. Defaults to `LAST_MODIFIED_ASCENDING`.
* @opt_param bool requestSyncToken Whether the response should include a sync
* token, which can be used to get all changes since the last request. For
* subsequent sync requests use the `sync_token` param instead. Initial sync
* requests that specify `request_sync_token` have an additional rate limit.
* @opt_param string pageToken The token of the page to be returned.
* @opt_param int pageSize The number of connections to include in the response.
* Valid values are between 1 and 2000, inclusive. Defaults to 100.
* @opt_param string requestMask.includeField **Required.** Comma-separated list
* of person fields to be included in the response. Each path should start with
* `person.`: for example, `person.names` or `person.photos`.
* @return Google_Service_PeopleService_ListConnectionsResponse
*/
public function listPeopleConnections($resourceName, $optParams = array())
{
$params = array('resourceName' => $resourceName);
$params = array_merge($params, $optParams);
return $this->call('list', array($params), "Google_Service_PeopleService_ListConnectionsResponse");
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_Skill extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,73 @@
<?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.
*/
class Google_Service_PeopleService_Source extends Google_Model
{
public $etag;
public $id;
protected $profileMetadataType = 'Google_Service_PeopleService_ProfileMetadata';
protected $profileMetadataDataType = '';
public $type;
public $updateTime;
public function setEtag($etag)
{
$this->etag = $etag;
}
public function getEtag()
{
return $this->etag;
}
public function setId($id)
{
$this->id = $id;
}
public function getId()
{
return $this->id;
}
/**
* @param Google_Service_PeopleService_ProfileMetadata
*/
public function setProfileMetadata(Google_Service_PeopleService_ProfileMetadata $profileMetadata)
{
$this->profileMetadata = $profileMetadata;
}
/**
* @return Google_Service_PeopleService_ProfileMetadata
*/
public function getProfileMetadata()
{
return $this->profileMetadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
public function getUpdateTime()
{
return $this->updateTime;
}
}

View File

@@ -0,0 +1,49 @@
<?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.
*/
class Google_Service_PeopleService_Status extends Google_Collection
{
protected $collection_key = 'details';
public $code;
public $details;
public $message;
public function setCode($code)
{
$this->code = $code;
}
public function getCode()
{
return $this->code;
}
public function setDetails($details)
{
$this->details = $details;
}
public function getDetails()
{
return $this->details;
}
public function setMessage($message)
{
$this->message = $message;
}
public function getMessage()
{
return $this->message;
}
}

View File

@@ -0,0 +1,46 @@
<?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.
*/
class Google_Service_PeopleService_Tagline extends Google_Model
{
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,37 @@
<?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.
*/
class Google_Service_PeopleService_UpdateContactGroupRequest extends Google_Model
{
protected $contactGroupType = 'Google_Service_PeopleService_ContactGroup';
protected $contactGroupDataType = '';
/**
* @param Google_Service_PeopleService_ContactGroup
*/
public function setContactGroup(Google_Service_PeopleService_ContactGroup $contactGroup)
{
$this->contactGroup = $contactGroup;
}
/**
* @return Google_Service_PeopleService_ContactGroup
*/
public function getContactGroup()
{
return $this->contactGroup;
}
}

View File

@@ -0,0 +1,64 @@
<?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.
*/
class Google_Service_PeopleService_Url extends Google_Model
{
public $formattedType;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $type;
public $value;
public function setFormattedType($formattedType)
{
$this->formattedType = $formattedType;
}
public function getFormattedType()
{
return $this->formattedType;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setType($type)
{
$this->type = $type;
}
public function getType()
{
return $this->type;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}

View File

@@ -0,0 +1,55 @@
<?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.
*/
class Google_Service_PeopleService_UserDefined extends Google_Model
{
public $key;
protected $metadataType = 'Google_Service_PeopleService_FieldMetadata';
protected $metadataDataType = '';
public $value;
public function setKey($key)
{
$this->key = $key;
}
public function getKey()
{
return $this->key;
}
/**
* @param Google_Service_PeopleService_FieldMetadata
*/
public function setMetadata(Google_Service_PeopleService_FieldMetadata $metadata)
{
$this->metadata = $metadata;
}
/**
* @return Google_Service_PeopleService_FieldMetadata
*/
public function getMetadata()
{
return $this->metadata;
}
public function setValue($value)
{
$this->value = $value;
}
public function getValue()
{
return $this->value;
}
}