/lib/google/src/Google/Service/Plus.php
PHP | 3692 lines | 3278 code | 186 blank | 228 comment | 0 complexity | 6c07ee4cdba036e459a4588f771e812a MD5 | raw file
Possible License(s): MIT, AGPL-3.0, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause
Large files files are truncated, but you can click here to view the full file
- <?php
- /*
- * Copyright 2010 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.
- */
- /**
- * Service definition for Plus (v1).
- *
- * <p>
- * The Google+ API enables developers to build on top of the Google+ platform.</p>
- *
- * <p>
- * For more information about this service, see the API
- * <a href="https://developers.google.com/+/api/" target="_blank">Documentation</a>
- * </p>
- *
- * @author Google, Inc.
- */
- class Google_Service_Plus extends Google_Service
- {
- /** Know your basic profile info and list of people in your circles.. */
- const PLUS_LOGIN =
- "https://www.googleapis.com/auth/plus.login";
- /** Know who you are on Google. */
- const PLUS_ME =
- "https://www.googleapis.com/auth/plus.me";
- /** View your email address. */
- const USERINFO_EMAIL =
- "https://www.googleapis.com/auth/userinfo.email";
- /** View your basic profile info. */
- const USERINFO_PROFILE =
- "https://www.googleapis.com/auth/userinfo.profile";
- public $activities;
- public $comments;
- public $moments;
- public $people;
-
- /**
- * Constructs the internal representation of the Plus service.
- *
- * @param Google_Client $client
- */
- public function __construct(Google_Client $client)
- {
- parent::__construct($client);
- $this->rootUrl = 'https://www.googleapis.com/';
- $this->servicePath = 'plus/v1/';
- $this->version = 'v1';
- $this->serviceName = 'plus';
- $this->activities = new Google_Service_Plus_Activities_Resource(
- $this,
- $this->serviceName,
- 'activities',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'activities/{activityId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'activityId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'people/{userId}/activities/{collection}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'collection' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'search' => array(
- 'path' => 'activities',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'query' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'language' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->comments = new Google_Service_Plus_Comments_Resource(
- $this,
- $this->serviceName,
- 'comments',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'comments/{commentId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'commentId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'activities/{activityId}/comments',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'activityId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'sortOrder' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),
- )
- )
- );
- $this->moments = new Google_Service_Plus_Moments_Resource(
- $this,
- $this->serviceName,
- 'moments',
- array(
- 'methods' => array(
- 'insert' => array(
- 'path' => 'people/{userId}/moments/{collection}',
- 'httpMethod' => 'POST',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'collection' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'debug' => array(
- 'location' => 'query',
- 'type' => 'boolean',
- ),
- ),
- ),'list' => array(
- 'path' => 'people/{userId}/moments/{collection}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'collection' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'targetUrl' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'type' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- $this->people = new Google_Service_Plus_People_Resource(
- $this,
- $this->serviceName,
- 'people',
- array(
- 'methods' => array(
- 'get' => array(
- 'path' => 'people/{userId}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- ),
- ),'list' => array(
- 'path' => 'people/{userId}/people/{collection}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'userId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'collection' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'orderBy' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'listByActivity' => array(
- 'path' => 'activities/{activityId}/people/{collection}',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'activityId' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'collection' => array(
- 'location' => 'path',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- ),
- ),'search' => array(
- 'path' => 'people',
- 'httpMethod' => 'GET',
- 'parameters' => array(
- 'query' => array(
- 'location' => 'query',
- 'type' => 'string',
- 'required' => true,
- ),
- 'pageToken' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- 'maxResults' => array(
- 'location' => 'query',
- 'type' => 'integer',
- ),
- 'language' => array(
- 'location' => 'query',
- 'type' => 'string',
- ),
- ),
- ),
- )
- )
- );
- }
- }
- /**
- * The "activities" collection of methods.
- * Typical usage is:
- * <code>
- * $plusService = new Google_Service_Plus(...);
- * $activities = $plusService->activities;
- * </code>
- */
- class Google_Service_Plus_Activities_Resource extends Google_Service_Resource
- {
- /**
- * Get an activity. (activities.get)
- *
- * @param string $activityId The ID of the activity to get.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Plus_Activity
- */
- public function get($activityId, $optParams = array())
- {
- $params = array('activityId' => $activityId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Plus_Activity");
- }
- /**
- * List all of the activities in the specified collection for a particular user.
- * (activities.listActivities)
- *
- * @param string $userId The ID of the user to get activities for. The special
- * value "me" can be used to indicate the authenticated user.
- * @param string $collection The collection of activities to list.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults The maximum number of activities to include in
- * the response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @return Google_Service_Plus_ActivityFeed
- */
- public function listActivities($userId, $collection, $optParams = array())
- {
- $params = array('userId' => $userId, 'collection' => $collection);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Plus_ActivityFeed");
- }
- /**
- * Search public activities. (activities.search)
- *
- * @param string $query Full-text search query string.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy Specifies how to order search results.
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response. This
- * token can be of any length.
- * @opt_param string maxResults The maximum number of activities to include in
- * the response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @opt_param string language Specify the preferred language to search with. See
- * search language codes for available values.
- * @return Google_Service_Plus_ActivityFeed
- */
- public function search($query, $optParams = array())
- {
- $params = array('query' => $query);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_Plus_ActivityFeed");
- }
- }
- /**
- * The "comments" collection of methods.
- * Typical usage is:
- * <code>
- * $plusService = new Google_Service_Plus(...);
- * $comments = $plusService->comments;
- * </code>
- */
- class Google_Service_Plus_Comments_Resource extends Google_Service_Resource
- {
- /**
- * Get a comment. (comments.get)
- *
- * @param string $commentId The ID of the comment to get.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Plus_Comment
- */
- public function get($commentId, $optParams = array())
- {
- $params = array('commentId' => $commentId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Plus_Comment");
- }
- /**
- * List all of the comments for an activity. (comments.listComments)
- *
- * @param string $activityId The ID of the activity to get comments for.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string sortOrder The order in which to sort the list of comments.
- * @opt_param string maxResults The maximum number of comments to include in the
- * response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @return Google_Service_Plus_CommentFeed
- */
- public function listComments($activityId, $optParams = array())
- {
- $params = array('activityId' => $activityId);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Plus_CommentFeed");
- }
- }
- /**
- * The "moments" collection of methods.
- * Typical usage is:
- * <code>
- * $plusService = new Google_Service_Plus(...);
- * $moments = $plusService->moments;
- * </code>
- */
- class Google_Service_Plus_Moments_Resource extends Google_Service_Resource
- {
- /**
- * Record a moment representing a user's action such as making a purchase or
- * commenting on a blog. (moments.insert)
- *
- * @param string $userId The ID of the user to record actions for. The only
- * valid values are "me" and the ID of the authenticated user.
- * @param string $collection The collection to which to write moments.
- * @param Google_Moment $postBody
- * @param array $optParams Optional parameters.
- *
- * @opt_param bool debug Return the moment as written. Should be used only for
- * debugging.
- * @return Google_Service_Plus_Moment
- */
- public function insert($userId, $collection, Google_Service_Plus_Moment $postBody, $optParams = array())
- {
- $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
- $params = array_merge($params, $optParams);
- return $this->call('insert', array($params), "Google_Service_Plus_Moment");
- }
- /**
- * List all of the moments for a particular user. (moments.listMoments)
- *
- * @param string $userId The ID of the user to get moments for. The special
- * value "me" can be used to indicate the authenticated user.
- * @param string $collection The collection of moments to list.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string maxResults The maximum number of moments to include in the
- * response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string targetUrl Only moments containing this targetUrl will be
- * returned.
- * @opt_param string type Only moments of this type will be returned.
- * @return Google_Service_Plus_MomentsFeed
- */
- public function listMoments($userId, $collection, $optParams = array())
- {
- $params = array('userId' => $userId, 'collection' => $collection);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Plus_MomentsFeed");
- }
- }
- /**
- * The "people" collection of methods.
- * Typical usage is:
- * <code>
- * $plusService = new Google_Service_Plus(...);
- * $people = $plusService->people;
- * </code>
- */
- class Google_Service_Plus_People_Resource extends Google_Service_Resource
- {
- /**
- * Get a person's profile. If your app uses scope
- * https://www.googleapis.com/auth/plus.login, this method is guaranteed to
- * return ageRange and language. (people.get)
- *
- * @param string $userId The ID of the person to get the profile for. The
- * special value "me" can be used to indicate the authenticated user.
- * @param array $optParams Optional parameters.
- * @return Google_Service_Plus_Person
- */
- public function get($userId, $optParams = array())
- {
- $params = array('userId' => $userId);
- $params = array_merge($params, $optParams);
- return $this->call('get', array($params), "Google_Service_Plus_Person");
- }
- /**
- * List all of the people in the specified collection. (people.listPeople)
- *
- * @param string $userId Get the collection of people for the person identified.
- * Use "me" to indicate the authenticated user.
- * @param string $collection The collection of people to list.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string orderBy The order to return people in.
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults The maximum number of people to include in the
- * response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @return Google_Service_Plus_PeopleFeed
- */
- public function listPeople($userId, $collection, $optParams = array())
- {
- $params = array('userId' => $userId, 'collection' => $collection);
- $params = array_merge($params, $optParams);
- return $this->call('list', array($params), "Google_Service_Plus_PeopleFeed");
- }
- /**
- * List all of the people in the specified collection for a particular activity.
- * (people.listByActivity)
- *
- * @param string $activityId The ID of the activity to get the list of people
- * for.
- * @param string $collection The collection of people to list.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response.
- * @opt_param string maxResults The maximum number of people to include in the
- * response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @return Google_Service_Plus_PeopleFeed
- */
- public function listByActivity($activityId, $collection, $optParams = array())
- {
- $params = array('activityId' => $activityId, 'collection' => $collection);
- $params = array_merge($params, $optParams);
- return $this->call('listByActivity', array($params), "Google_Service_Plus_PeopleFeed");
- }
- /**
- * Search all public profiles. (people.search)
- *
- * @param string $query Specify a query string for full text search of public
- * text in all profiles.
- * @param array $optParams Optional parameters.
- *
- * @opt_param string pageToken The continuation token, which is used to page
- * through large result sets. To get the next page of results, set this
- * parameter to the value of "nextPageToken" from the previous response. This
- * token can be of any length.
- * @opt_param string maxResults The maximum number of people to include in the
- * response, which is used for paging. For any response, the actual number
- * returned might be less than the specified maxResults.
- * @opt_param string language Specify the preferred language to search with. See
- * search language codes for available values.
- * @return Google_Service_Plus_PeopleFeed
- */
- public function search($query, $optParams = array())
- {
- $params = array('query' => $query);
- $params = array_merge($params, $optParams);
- return $this->call('search', array($params), "Google_Service_Plus_PeopleFeed");
- }
- }
- class Google_Service_Plus_Acl extends Google_Collection
- {
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- public $description;
- protected $itemsType = 'Google_Service_Plus_PlusAclentryResource';
- protected $itemsDataType = 'array';
- public $kind;
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- }
- class Google_Service_Plus_Activity extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $accessType = 'Google_Service_Plus_Acl';
- protected $accessDataType = '';
- protected $actorType = 'Google_Service_Plus_ActivityActor';
- protected $actorDataType = '';
- public $address;
- public $annotation;
- public $crosspostSource;
- public $etag;
- public $geocode;
- public $id;
- public $kind;
- protected $locationType = 'Google_Service_Plus_Place';
- protected $locationDataType = '';
- protected $objectType = 'Google_Service_Plus_ActivityObject';
- protected $objectDataType = '';
- public $placeId;
- public $placeName;
- protected $providerType = 'Google_Service_Plus_ActivityProvider';
- protected $providerDataType = '';
- public $published;
- public $radius;
- public $title;
- public $updated;
- public $url;
- public $verb;
- public function setAccess(Google_Service_Plus_Acl $access)
- {
- $this->access = $access;
- }
- public function getAccess()
- {
- return $this->access;
- }
- public function setActor(Google_Service_Plus_ActivityActor $actor)
- {
- $this->actor = $actor;
- }
- public function getActor()
- {
- return $this->actor;
- }
- public function setAddress($address)
- {
- $this->address = $address;
- }
- public function getAddress()
- {
- return $this->address;
- }
- public function setAnnotation($annotation)
- {
- $this->annotation = $annotation;
- }
- public function getAnnotation()
- {
- return $this->annotation;
- }
- public function setCrosspostSource($crosspostSource)
- {
- $this->crosspostSource = $crosspostSource;
- }
- public function getCrosspostSource()
- {
- return $this->crosspostSource;
- }
- public function setEtag($etag)
- {
- $this->etag = $etag;
- }
- public function getEtag()
- {
- return $this->etag;
- }
- public function setGeocode($geocode)
- {
- $this->geocode = $geocode;
- }
- public function getGeocode()
- {
- return $this->geocode;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setLocation(Google_Service_Plus_Place $location)
- {
- $this->location = $location;
- }
- public function getLocation()
- {
- return $this->location;
- }
- public function setObject(Google_Service_Plus_ActivityObject $object)
- {
- $this->object = $object;
- }
- public function getObject()
- {
- return $this->object;
- }
- public function setPlaceId($placeId)
- {
- $this->placeId = $placeId;
- }
- public function getPlaceId()
- {
- return $this->placeId;
- }
- public function setPlaceName($placeName)
- {
- $this->placeName = $placeName;
- }
- public function getPlaceName()
- {
- return $this->placeName;
- }
- public function setProvider(Google_Service_Plus_ActivityProvider $provider)
- {
- $this->provider = $provider;
- }
- public function getProvider()
- {
- return $this->provider;
- }
- public function setPublished($published)
- {
- $this->published = $published;
- }
- public function getPublished()
- {
- return $this->published;
- }
- public function setRadius($radius)
- {
- $this->radius = $radius;
- }
- public function getRadius()
- {
- return $this->radius;
- }
- public function setTitle($title)
- {
- $this->title = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
- public function getUpdated()
- {
- return $this->updated;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setVerb($verb)
- {
- $this->verb = $verb;
- }
- public function getVerb()
- {
- return $this->verb;
- }
- }
- class Google_Service_Plus_ActivityActor extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfo';
- protected $clientSpecificActorInfoDataType = '';
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Plus_ActivityActorImage';
- protected $imageDataType = '';
- protected $nameType = 'Google_Service_Plus_ActivityActorName';
- protected $nameDataType = '';
- public $url;
- protected $verificationType = 'Google_Service_Plus_ActivityActorVerification';
- protected $verificationDataType = '';
- public function setClientSpecificActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo)
- {
- $this->clientSpecificActorInfo = $clientSpecificActorInfo;
- }
- public function getClientSpecificActorInfo()
- {
- return $this->clientSpecificActorInfo;
- }
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
- public function getDisplayName()
- {
- return $this->displayName;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setImage(Google_Service_Plus_ActivityActorImage $image)
- {
- $this->image = $image;
- }
- public function getImage()
- {
- return $this->image;
- }
- public function setName(Google_Service_Plus_ActivityActorName $name)
- {
- $this->name = $name;
- }
- public function getName()
- {
- return $this->name;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setVerification(Google_Service_Plus_ActivityActorVerification $verification)
- {
- $this->verification = $verification;
- }
- public function getVerification()
- {
- return $this->verification;
- }
- }
- class Google_Service_Plus_ActivityActorClientSpecificActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo';
- protected $youtubeActorInfoDataType = '';
- public function setYoutubeActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
- {
- $this->youtubeActorInfo = $youtubeActorInfo;
- }
- public function getYoutubeActorInfo()
- {
- return $this->youtubeActorInfo;
- }
- }
- class Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $channelId;
- public function setChannelId($channelId)
- {
- $this->channelId = $channelId;
- }
- public function getChannelId()
- {
- return $this->channelId;
- }
- }
- class Google_Service_Plus_ActivityActorImage extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $url;
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityActorName extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $familyName;
- public $givenName;
- 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;
- }
- }
- class Google_Service_Plus_ActivityActorVerification extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $adHocVerified;
- public function setAdHocVerified($adHocVerified)
- {
- $this->adHocVerified = $adHocVerified;
- }
- public function getAdHocVerified()
- {
- return $this->adHocVerified;
- }
- }
- class Google_Service_Plus_ActivityFeed extends Google_Collection
- {
- protected $collection_key = 'items';
- protected $internal_gapi_mappings = array(
- );
- public $etag;
- public $id;
- protected $itemsType = 'Google_Service_Plus_Activity';
- protected $itemsDataType = 'array';
- public $kind;
- public $nextLink;
- public $nextPageToken;
- public $selfLink;
- public $title;
- public $updated;
- 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;
- }
- public function setItems($items)
- {
- $this->items = $items;
- }
- public function getItems()
- {
- return $this->items;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setNextLink($nextLink)
- {
- $this->nextLink = $nextLink;
- }
- public function getNextLink()
- {
- return $this->nextLink;
- }
- public function setNextPageToken($nextPageToken)
- {
- $this->nextPageToken = $nextPageToken;
- }
- public function getNextPageToken()
- {
- return $this->nextPageToken;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setTitle($title)
- {
- $this->title = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
- public function getUpdated()
- {
- return $this->updated;
- }
- }
- class Google_Service_Plus_ActivityObject extends Google_Collection
- {
- protected $collection_key = 'attachments';
- protected $internal_gapi_mappings = array(
- );
- protected $actorType = 'Google_Service_Plus_ActivityObjectActor';
- protected $actorDataType = '';
- protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments';
- protected $attachmentsDataType = 'array';
- public $content;
- public $id;
- public $objectType;
- public $originalContent;
- protected $plusonersType = 'Google_Service_Plus_ActivityObjectPlusoners';
- protected $plusonersDataType = '';
- protected $repliesType = 'Google_Service_Plus_ActivityObjectReplies';
- protected $repliesDataType = '';
- protected $resharersType = 'Google_Service_Plus_ActivityObjectResharers';
- protected $resharersDataType = '';
- public $url;
- public function setActor(Google_Service_Plus_ActivityObjectActor $actor)
- {
- $this->actor = $actor;
- }
- public function getActor()
- {
- return $this->actor;
- }
- public function setAttachments($attachments)
- {
- $this->attachments = $attachments;
- }
- public function getAttachments()
- {
- return $this->attachments;
- }
- public function setContent($content)
- {
- $this->content = $content;
- }
- public function getContent()
- {
- return $this->content;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setObjectType($objectType)
- {
- $this->objectType = $objectType;
- }
- public function getObjectType()
- {
- return $this->objectType;
- }
- public function setOriginalContent($originalContent)
- {
- $this->originalContent = $originalContent;
- }
- public function getOriginalContent()
- {
- return $this->originalContent;
- }
- public function setPlusoners(Google_Service_Plus_ActivityObjectPlusoners $plusoners)
- {
- $this->plusoners = $plusoners;
- }
- public function getPlusoners()
- {
- return $this->plusoners;
- }
- public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies)
- {
- $this->replies = $replies;
- }
- public function getReplies()
- {
- return $this->replies;
- }
- public function setResharers(Google_Service_Plus_ActivityObjectResharers $resharers)
- {
- $this->resharers = $resharers;
- }
- public function getResharers()
- {
- return $this->resharers;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityObjectActor extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo';
- protected $clientSpecificActorInfoDataType = '';
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage';
- protected $imageDataType = '';
- public $url;
- protected $verificationType = 'Google_Service_Plus_ActivityObjectActorVerification';
- protected $verificationDataType = '';
- public function setClientSpecificActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo)
- {
- $this->clientSpecificActorInfo = $clientSpecificActorInfo;
- }
- public function getClientSpecificActorInfo()
- {
- return $this->clientSpecificActorInfo;
- }
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
- public function getDisplayName()
- {
- return $this->displayName;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setImage(Google_Service_Plus_ActivityObjectActorImage $image)
- {
- $this->image = $image;
- }
- public function getImage()
- {
- return $this->image;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setVerification(Google_Service_Plus_ActivityObjectActorVerification $verification)
- {
- $this->verification = $verification;
- }
- public function getVerification()
- {
- return $this->verification;
- }
- }
- class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo';
- protected $youtubeActorInfoDataType = '';
- public function setYoutubeActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
- {
- $this->youtubeActorInfo = $youtubeActorInfo;
- }
- public function getYoutubeActorInfo()
- {
- return $this->youtubeActorInfo;
- }
- }
- class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $channelId;
- public function setChannelId($channelId)
- {
- $this->channelId = $channelId;
- }
- public function getChannelId()
- {
- return $this->channelId;
- }
- }
- class Google_Service_Plus_ActivityObjectActorImage extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $url;
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityObjectActorVerification extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $adHocVerified;
- public function setAdHocVerified($adHocVerified)
- {
- $this->adHocVerified = $adHocVerified;
- }
- public function getAdHocVerified()
- {
- return $this->adHocVerified;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
- {
- protected $collection_key = 'thumbnails';
- protected $internal_gapi_mappings = array(
- );
- public $content;
- public $displayName;
- protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';
- protected $embedDataType = '';
- protected $fullImageType = 'Google_Service_Plus_ActivityObjectAttachmentsFullImage';
- protected $fullImageDataType = '';
- public $id;
- protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsImage';
- protected $imageDataType = '';
- public $objectType;
- protected $thumbnailsType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnails';
- protected $thumbnailsDataType = 'array';
- public $url;
- public function setContent($content)
- {
- $this->content = $content;
- }
- public function getContent()
- {
- return $this->content;
- }
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
- public function getDisplayName()
- {
- return $this->displayName;
- }
- public function setEmbed(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed)
- {
- $this->embed = $embed;
- }
- public function getEmbed()
- {
- return $this->embed;
- }
- public function setFullImage(Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage)
- {
- $this->fullImage = $fullImage;
- }
- public function getFullImage()
- {
- return $this->fullImage;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setImage(Google_Service_Plus_ActivityObjectAttachmentsImage $image)
- {
- $this->image = $image;
- }
- public function getImage()
- {
- return $this->image;
- }
- public function setObjectType($objectType)
- {
- $this->objectType = $objectType;
- }
- public function getObjectType()
- {
- return $this->objectType;
- }
- public function setThumbnails($thumbnails)
- {
- $this->thumbnails = $thumbnails;
- }
- public function getThumbnails()
- {
- return $this->thumbnails;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $type;
- public $url;
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $height;
- public $type;
- public $url;
- public $width;
- public function setHeight($height)
- {
- $this->height = $height;
- }
- public function getHeight()
- {
- return $this->height;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setWidth($width)
- {
- $this->width = $width;
- }
- public function getWidth()
- {
- return $this->width;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $height;
- public $type;
- public $url;
- public $width;
- public function setHeight($height)
- {
- $this->height = $height;
- }
- public function getHeight()
- {
- return $this->height;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setWidth($width)
- {
- $this->width = $width;
- }
- public function getWidth()
- {
- return $this->width;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $description;
- protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
- protected $imageDataType = '';
- public $url;
- public function setDescription($description)
- {
- $this->description = $description;
- }
- public function getDescription()
- {
- return $this->description;
- }
- public function setImage(Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image)
- {
- $this->image = $image;
- }
- public function getImage()
- {
- return $this->image;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- }
- class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $height;
- public $type;
- public $url;
- public $width;
- public function setHeight($height)
- {
- $this->height = $height;
- }
- public function getHeight()
- {
- return $this->height;
- }
- public function setType($type)
- {
- $this->type = $type;
- }
- public function getType()
- {
- return $this->type;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setWidth($width)
- {
- $this->width = $width;
- }
- public function getWidth()
- {
- return $this->width;
- }
- }
- class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $selfLink;
- public $totalItems;
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
- public function getTotalItems()
- {
- return $this->totalItems;
- }
- }
- class Google_Service_Plus_ActivityObjectReplies extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $selfLink;
- public $totalItems;
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
- public function getTotalItems()
- {
- return $this->totalItems;
- }
- }
- class Google_Service_Plus_ActivityObjectResharers extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $selfLink;
- public $totalItems;
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setTotalItems($totalItems)
- {
- $this->totalItems = $totalItems;
- }
- public function getTotalItems()
- {
- return $this->totalItems;
- }
- }
- class Google_Service_Plus_ActivityProvider extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $title;
- public function setTitle($title)
- {
- $this->title = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- }
- class Google_Service_Plus_Comment extends Google_Collection
- {
- protected $collection_key = 'inReplyTo';
- protected $internal_gapi_mappings = array(
- );
- protected $actorType = 'Google_Service_Plus_CommentActor';
- protected $actorDataType = '';
- public $etag;
- public $id;
- protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo';
- protected $inReplyToDataType = 'array';
- public $kind;
- protected $objectType = 'Google_Service_Plus_CommentObject';
- protected $objectDataType = '';
- protected $plusonersType = 'Google_Service_Plus_CommentPlusoners';
- protected $plusonersDataType = '';
- public $published;
- public $selfLink;
- public $updated;
- public $verb;
- public function setActor(Google_Service_Plus_CommentActor $actor)
- {
- $this->actor = $actor;
- }
- public function getActor()
- {
- return $this->actor;
- }
- 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;
- }
- public function setInReplyTo($inReplyTo)
- {
- $this->inReplyTo = $inReplyTo;
- }
- public function getInReplyTo()
- {
- return $this->inReplyTo;
- }
- public function setKind($kind)
- {
- $this->kind = $kind;
- }
- public function getKind()
- {
- return $this->kind;
- }
- public function setObject(Google_Service_Plus_CommentObject $object)
- {
- $this->object = $object;
- }
- public function getObject()
- {
- return $this->object;
- }
- public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners)
- {
- $this->plusoners = $plusoners;
- }
- public function getPlusoners()
- {
- return $this->plusoners;
- }
- public function setPublished($published)
- {
- $this->published = $published;
- }
- public function getPublished()
- {
- return $this->published;
- }
- public function setSelfLink($selfLink)
- {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink()
- {
- return $this->selfLink;
- }
- public function setUpdated($updated)
- {
- $this->updated = $updated;
- }
- public function getUpdated()
- {
- return $this->updated;
- }
- public function setVerb($verb)
- {
- $this->verb = $verb;
- }
- public function getVerb()
- {
- return $this->verb;
- }
- }
- class Google_Service_Plus_CommentActor extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $clientSpecificActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfo';
- protected $clientSpecificActorInfoDataType = '';
- public $displayName;
- public $id;
- protected $imageType = 'Google_Service_Plus_CommentActorImage';
- protected $imageDataType = '';
- public $url;
- protected $verificationType = 'Google_Service_Plus_CommentActorVerification';
- protected $verificationDataType = '';
- public function setClientSpecificActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfo $clientSpecificActorInfo)
- {
- $this->clientSpecificActorInfo = $clientSpecificActorInfo;
- }
- public function getClientSpecificActorInfo()
- {
- return $this->clientSpecificActorInfo;
- }
- public function setDisplayName($displayName)
- {
- $this->displayName = $displayName;
- }
- public function getDisplayName()
- {
- return $this->displayName;
- }
- public function setId($id)
- {
- $this->id = $id;
- }
- public function getId()
- {
- return $this->id;
- }
- public function setImage(Google_Service_Plus_CommentActorImage $image)
- {
- $this->image = $image;
- }
- public function getImage()
- {
- return $this->image;
- }
- public function setUrl($url)
- {
- $this->url = $url;
- }
- public function getUrl()
- {
- return $this->url;
- }
- public function setVerification(Google_Service_Plus_CommentActorVerification $verification)
- {
- $this->verification = $verification;
- }
- public function getVerification()
- {
- return $this->verification;
- }
- }
- class Google_Service_Plus_CommentActorClientSpecificActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- protected $youtubeActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo';
- protected $youtubeActorInfoDataType = '';
- public function setYoutubeActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
- {
- $this->youtubeActorInfo = $youtubeActorInfo;
- }
- public function getYoutubeActorInfo()
- {
- return $this->youtubeActorInfo;
- }
- }
- class Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
- {
- protected $internal_gapi_mappings = array(
- );
- public $channelId;
- public function setChannelId($channelId)
- {
- $this->channelId = $channelId;
- }
- public functio…
Large files files are truncated, but you can click here to view the full file