TUTOS PHP Cross Reference Groupware Applications

Source: /libs/google-api-php-client/src/contrib/Google_PlusService.php - 1525 lines - 44771 bytes - Summary - Text - Print

   1  <?php
   2  /*
   3   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   4   * use this file except in compliance with the License. You may obtain a copy of
   5   * the License at
   6   *
   7   * http://www.apache.org/licenses/LICENSE-2.0
   8   *
   9   * Unless required by applicable law or agreed to in writing, software
  10   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12   * License for the specific language governing permissions and limitations under
  13   * the License.
  14   */
  15  
  16  
  17    /**
  18     * The "activities" collection of methods.
  19     * Typical usage is:
  20     *  <code>
  21     *   $plusService = new Google_PlusService(...);
  22     *   $activities = $plusService->activities;
  23     *  </code>
  24     */
  25    class Google_ActivitiesServiceResource extends Google_ServiceResource {
  26  
  27  
  28      /**
  29       * Search public activities. (activities.search)
  30       *
  31       * @param string $query Full-text search query string.
  32       * @param array $optParams Optional parameters.
  33       *
  34       * @opt_param string orderBy Specifies how to order search results.
  35       * @opt_param string pageToken The continuation token, 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 may be of any length.
  36       * @opt_param string maxResults The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
  37       * @opt_param string language Specify the preferred language to search with. See search language codes for available values.
  38       * @return Google_ActivityFeed
  39       */
  40      public function search($query, $optParams = array()) {
  41        $params = array('query' => $query);
  42        $params = array_merge($params, $optParams);
  43        $data = $this->__call('search', array($params));
  44        if ($this->useObjects()) {
  45          return new Google_ActivityFeed($data);
  46        } else {
  47          return $data;
  48        }
  49      }
  50      /**
  51       * List all of the activities in the specified collection for a particular user. (activities.list)
  52       *
  53       * @param string $userId The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user.
  54       * @param string $collection The collection of activities to list.
  55       * @param array $optParams Optional parameters.
  56       *
  57       * @opt_param string pageToken The continuation token, 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.
  58       * @opt_param string maxResults The maximum number of activities to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
  59       * @return Google_ActivityFeed
  60       */
  61      public function listActivities($userId, $collection, $optParams = array()) {
  62        $params = array('userId' => $userId, 'collection' => $collection);
  63        $params = array_merge($params, $optParams);
  64        $data = $this->__call('list', array($params));
  65        if ($this->useObjects()) {
  66          return new Google_ActivityFeed($data);
  67        } else {
  68          return $data;
  69        }
  70      }
  71      /**
  72       * Get an activity. (activities.get)
  73       *
  74       * @param string $activityId The ID of the activity to get.
  75       * @param array $optParams Optional parameters.
  76       * @return Google_Activity
  77       */
  78      public function get($activityId, $optParams = array()) {
  79        $params = array('activityId' => $activityId);
  80        $params = array_merge($params, $optParams);
  81        $data = $this->__call('get', array($params));
  82        if ($this->useObjects()) {
  83          return new Google_Activity($data);
  84        } else {
  85          return $data;
  86        }
  87      }
  88    }
  89  
  90    /**
  91     * The "comments" collection of methods.
  92     * Typical usage is:
  93     *  <code>
  94     *   $plusService = new Google_PlusService(...);
  95     *   $comments = $plusService->comments;
  96     *  </code>
  97     */
  98    class Google_CommentsServiceResource extends Google_ServiceResource {
  99  
 100  
 101      /**
 102       * List all of the comments for an activity. (comments.list)
 103       *
 104       * @param string $activityId The ID of the activity to get comments for.
 105       * @param array $optParams Optional parameters.
 106       *
 107       * @opt_param string pageToken The continuation token, 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.
 108       * @opt_param string maxResults The maximum number of comments to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 109       * @opt_param string sortOrder The order in which to sort the list of comments.
 110       * @return Google_CommentFeed
 111       */
 112      public function listComments($activityId, $optParams = array()) {
 113        $params = array('activityId' => $activityId);
 114        $params = array_merge($params, $optParams);
 115        $data = $this->__call('list', array($params));
 116        if ($this->useObjects()) {
 117          return new Google_CommentFeed($data);
 118        } else {
 119          return $data;
 120        }
 121      }
 122      /**
 123       * Get a comment. (comments.get)
 124       *
 125       * @param string $commentId The ID of the comment to get.
 126       * @param array $optParams Optional parameters.
 127       * @return Google_Comment
 128       */
 129      public function get($commentId, $optParams = array()) {
 130        $params = array('commentId' => $commentId);
 131        $params = array_merge($params, $optParams);
 132        $data = $this->__call('get', array($params));
 133        if ($this->useObjects()) {
 134          return new Google_Comment($data);
 135        } else {
 136          return $data;
 137        }
 138      }
 139    }
 140  
 141    /**
 142     * The "people" collection of methods.
 143     * Typical usage is:
 144     *  <code>
 145     *   $plusService = new Google_PlusService(...);
 146     *   $people = $plusService->people;
 147     *  </code>
 148     */
 149    class Google_PeopleServiceResource extends Google_ServiceResource {
 150  
 151  
 152      /**
 153       * List all of the people in the specified collection for a particular activity.
 154       * (people.listByActivity)
 155       *
 156       * @param string $activityId The ID of the activity to get the list of people for.
 157       * @param string $collection The collection of people to list.
 158       * @param array $optParams Optional parameters.
 159       *
 160       * @opt_param string pageToken The continuation token, 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.
 161       * @opt_param string maxResults The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 162       * @return Google_PeopleFeed
 163       */
 164      public function listByActivity($activityId, $collection, $optParams = array()) {
 165        $params = array('activityId' => $activityId, 'collection' => $collection);
 166        $params = array_merge($params, $optParams);
 167        $data = $this->__call('listByActivity', array($params));
 168        if ($this->useObjects()) {
 169          return new Google_PeopleFeed($data);
 170        } else {
 171          return $data;
 172        }
 173      }
 174      /**
 175       * Search all public profiles. (people.search)
 176       *
 177       * @param string $query Specify a query string for full text search of public text in all profiles.
 178       * @param array $optParams Optional parameters.
 179       *
 180       * @opt_param string pageToken The continuation token, 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 may be of any length.
 181       * @opt_param string maxResults The maximum number of people to include in the response, used for paging. For any response, the actual number returned may be less than the specified maxResults.
 182       * @opt_param string language Specify the preferred language to search with. See search language codes for available values.
 183       * @return Google_PeopleFeed
 184       */
 185      public function search($query, $optParams = array()) {
 186        $params = array('query' => $query);
 187        $params = array_merge($params, $optParams);
 188        $data = $this->__call('search', array($params));
 189        if ($this->useObjects()) {
 190          return new Google_PeopleFeed($data);
 191        } else {
 192          return $data;
 193        }
 194      }
 195      /**
 196       * Get a person's profile. (people.get)
 197       *
 198       * @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.
 199       * @param array $optParams Optional parameters.
 200       * @return Google_Person
 201       */
 202      public function get($userId, $optParams = array()) {
 203        $params = array('userId' => $userId);
 204        $params = array_merge($params, $optParams);
 205        $data = $this->__call('get', array($params));
 206        if ($this->useObjects()) {
 207          return new Google_Person($data);
 208        } else {
 209          return $data;
 210        }
 211      }
 212    }
 213  
 214  /**
 215   * Service definition for Google_Plus (v1).
 216   *
 217   * <p>
 218   * The Google+ API enables developers to build on top of the Google+ platform.
 219   * </p>
 220   *
 221   * <p>
 222   * For more information about this service, see the
 223   * <a href="https://developers.google.com/+/api/" target="_blank">API Documentation</a>
 224   * </p>
 225   *
 226   * @author Google, Inc.
 227   */
 228  class Google_PlusService extends Google_Service {
 229    public $activities;
 230    public $comments;
 231    public $people;
 232    /**
 233     * Constructs the internal representation of the Plus service.
 234     *
 235     * @param Google_Client $client
 236     */
 237    public function __construct(Google_Client $client) {
 238      $this->servicePath = 'plus/v1/';
 239      $this->version = 'v1';
 240      $this->serviceName = 'plus';
 241  
 242      $client->addService($this->serviceName, $this->version);
 243      $this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"search": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"orderBy": {"default": "recent", "enum": ["best", "recent"], "type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "default": "10", "maximum": "20", "minimum": "1", "location": "query", "type": "integer"}, "language": {"default": "", "type": "string", "location": "query"}, "query": {"required": true, "type": "string", "location": "query"}}, "id": "plus.activities.search", "httpMethod": "GET", "path": "activities", "response": {"$ref": "ActivityFeed"}}, "list": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "alt": {"default": "json", "enum": ["json"], "type": "string", "location": "query"}, "userId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "1", "location": "query", "type": "integer"}, "collection": {"required": true, "type": "string", "location": "path", "enum": ["public"]}}, "id": "plus.activities.list", "httpMethod": "GET", "path": "people/{userId}/activities/{collection}", "response": {"$ref": "ActivityFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"activityId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "json", "enum": ["json"], "type": "string", "location": "query"}}, "id": "plus.activities.get", "httpMethod": "GET", "path": "activities/{activityId}", "response": {"$ref": "Activity"}}}}', true));
 244      $this->comments = new Google_CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "alt": {"default": "json", "enum": ["json"], "type": "string", "location": "query"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "0", "location": "query", "type": "integer"}, "sortOrder": {"default": "ascending", "enum": ["ascending", "descending"], "type": "string", "location": "query"}}, "id": "plus.comments.list", "httpMethod": "GET", "path": "activities/{activityId}/comments", "response": {"$ref": "CommentFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"commentId": {"required": true, "type": "string", "location": "path"}}, "id": "plus.comments.get", "httpMethod": "GET", "path": "comments/{commentId}", "response": {"$ref": "Comment"}}}}', true));
 245      $this->people = new Google_PeopleServiceResource($this, $this->serviceName, 'people', json_decode('{"methods": {"listByActivity": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "activityId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"format": "uint32", "default": "20", "maximum": "100", "minimum": "1", "location": "query", "type": "integer"}, "collection": {"required": true, "type": "string", "location": "path", "enum": ["plusoners", "resharers"]}}, "id": "plus.people.listByActivity", "httpMethod": "GET", "path": "activities/{activityId}/people/{collection}", "response": {"$ref": "PeopleFeed"}}, "search": {"scopes": ["https://www.googleapis.com/auth/plus.me"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "maxResults": {"format": "uint32", "default": "10", "maximum": "20", "minimum": "1", "location": "query", "type": "integer"}, "language": {"default": "", "type": "string", "location": "query"}, "query": {"required": true, "type": "string", "location": "query"}}, "id": "plus.people.search", "httpMethod": "GET", "path": "people", "response": {"$ref": "PeopleFeed"}}, "get": {"scopes": ["https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/userinfo.email"], "parameters": {"userId": {"required": true, "type": "string", "location": "path"}}, "id": "plus.people.get", "httpMethod": "GET", "path": "people/{userId}", "response": {"$ref": "Person"}}}}', true));
 246  
 247    }
 248  }
 249  
 250  class Google_Acl extends Google_Model {
 251    protected $__itemsType = 'Google_PlusAclentryResource';
 252    protected $__itemsDataType = 'array';
 253    public $items;
 254    public $kind;
 255    public $description;
 256    public function setItems($items) {
 257      $this->assertIsArray($items, 'Google_PlusAclentryResource', __METHOD__);
 258      $this->items = $items;
 259    }
 260    public function getItems() {
 261      return $this->items;
 262    }
 263    public function setKind($kind) {
 264      $this->kind = $kind;
 265    }
 266    public function getKind() {
 267      return $this->kind;
 268    }
 269    public function setDescription($description) {
 270      $this->description = $description;
 271    }
 272    public function getDescription() {
 273      return $this->description;
 274    }
 275  }
 276  
 277  class Google_Activity extends Google_Model {
 278    public $placeName;
 279    public $kind;
 280    public $updated;
 281    protected $__providerType = 'Google_ActivityProvider';
 282    protected $__providerDataType = '';
 283    public $provider;
 284    public $title;
 285    public $url;
 286    public $geocode;
 287    protected $__objectType = 'Google_ActivityObject';
 288    protected $__objectDataType = '';
 289    public $object;
 290    public $placeId;
 291    protected $__actorType = 'Google_ActivityActor';
 292    protected $__actorDataType = '';
 293    public $actor;
 294    public $id;
 295    protected $__accessType = 'Google_Acl';
 296    protected $__accessDataType = '';
 297    public $access;
 298    public $verb;
 299    public $etag;
 300    public $radius;
 301    public $address;
 302    public $crosspostSource;
 303    public $annotation;
 304    public $published;
 305    public function setPlaceName($placeName) {
 306      $this->placeName = $placeName;
 307    }
 308    public function getPlaceName() {
 309      return $this->placeName;
 310    }
 311    public function setKind($kind) {
 312      $this->kind = $kind;
 313    }
 314    public function getKind() {
 315      return $this->kind;
 316    }
 317    public function setUpdated($updated) {
 318      $this->updated = $updated;
 319    }
 320    public function getUpdated() {
 321      return $this->updated;
 322    }
 323    public function setProvider(Google_ActivityProvider $provider) {
 324      $this->provider = $provider;
 325    }
 326    public function getProvider() {
 327      return $this->provider;
 328    }
 329    public function setTitle($title) {
 330      $this->title = $title;
 331    }
 332    public function getTitle() {
 333      return $this->title;
 334    }
 335    public function setUrl($url) {
 336      $this->url = $url;
 337    }
 338    public function getUrl() {
 339      return $this->url;
 340    }
 341    public function setGeocode($geocode) {
 342      $this->geocode = $geocode;
 343    }
 344    public function getGeocode() {
 345      return $this->geocode;
 346    }
 347    public function setObject(Google_ActivityObject $object) {
 348      $this->object = $object;
 349    }
 350    public function getObject() {
 351      return $this->object;
 352    }
 353    public function setPlaceId($placeId) {
 354      $this->placeId = $placeId;
 355    }
 356    public function getPlaceId() {
 357      return $this->placeId;
 358    }
 359    public function setActor(Google_ActivityActor $actor) {
 360      $this->actor = $actor;
 361    }
 362    public function getActor() {
 363      return $this->actor;
 364    }
 365    public function setId($id) {
 366      $this->id = $id;
 367    }
 368    public function getId() {
 369      return $this->id;
 370    }
 371    public function setAccess(Google_Acl $access) {
 372      $this->access = $access;
 373    }
 374    public function getAccess() {
 375      return $this->access;
 376    }
 377    public function setVerb($verb) {
 378      $this->verb = $verb;
 379    }
 380    public function getVerb() {
 381      return $this->verb;
 382    }
 383    public function setEtag($etag) {
 384      $this->etag = $etag;
 385    }
 386    public function getEtag() {
 387      return $this->etag;
 388    }
 389    public function setRadius($radius) {
 390      $this->radius = $radius;
 391    }
 392    public function getRadius() {
 393      return $this->radius;
 394    }
 395    public function setAddress($address) {
 396      $this->address = $address;
 397    }
 398    public function getAddress() {
 399      return $this->address;
 400    }
 401    public function setCrosspostSource($crosspostSource) {
 402      $this->crosspostSource = $crosspostSource;
 403    }
 404    public function getCrosspostSource() {
 405      return $this->crosspostSource;
 406    }
 407    public function setAnnotation($annotation) {
 408      $this->annotation = $annotation;
 409    }
 410    public function getAnnotation() {
 411      return $this->annotation;
 412    }
 413    public function setPublished($published) {
 414      $this->published = $published;
 415    }
 416    public function getPublished() {
 417      return $this->published;
 418    }
 419  }
 420  
 421  class Google_ActivityActor extends Google_Model {
 422    public $url;
 423    protected $__imageType = 'Google_ActivityActorImage';
 424    protected $__imageDataType = '';
 425    public $image;
 426    public $displayName;
 427    public $id;
 428    protected $__nameType = 'Google_ActivityActorName';
 429    protected $__nameDataType = '';
 430    public $name;
 431    public function setUrl($url) {
 432      $this->url = $url;
 433    }
 434    public function getUrl() {
 435      return $this->url;
 436    }
 437    public function setImage(Google_ActivityActorImage $image) {
 438      $this->image = $image;
 439    }
 440    public function getImage() {
 441      return $this->image;
 442    }
 443    public function setDisplayName($displayName) {
 444      $this->displayName = $displayName;
 445    }
 446    public function getDisplayName() {
 447      return $this->displayName;
 448    }
 449    public function setId($id) {
 450      $this->id = $id;
 451    }
 452    public function getId() {
 453      return $this->id;
 454    }
 455    public function setName(Google_ActivityActorName $name) {
 456      $this->name = $name;
 457    }
 458    public function getName() {
 459      return $this->name;
 460    }
 461  }
 462  
 463  class Google_ActivityActorImage extends Google_Model {
 464    public $url;
 465    public function setUrl($url) {
 466      $this->url = $url;
 467    }
 468    public function getUrl() {
 469      return $this->url;
 470    }
 471  }
 472  
 473  class Google_ActivityActorName extends Google_Model {
 474    public $givenName;
 475    public $familyName;
 476    public function setGivenName($givenName) {
 477      $this->givenName = $givenName;
 478    }
 479    public function getGivenName() {
 480      return $this->givenName;
 481    }
 482    public function setFamilyName($familyName) {
 483      $this->familyName = $familyName;
 484    }
 485    public function getFamilyName() {
 486      return $this->familyName;
 487    }
 488  }
 489  
 490  class Google_ActivityFeed extends Google_Model {
 491    public $nextPageToken;
 492    public $kind;
 493    public $title;
 494    protected $__itemsType = 'Google_Activity';
 495    protected $__itemsDataType = 'array';
 496    public $items;
 497    public $updated;
 498    public $nextLink;
 499    public $etag;
 500    public $id;
 501    public $selfLink;
 502    public function setNextPageToken($nextPageToken) {
 503      $this->nextPageToken = $nextPageToken;
 504    }
 505    public function getNextPageToken() {
 506      return $this->nextPageToken;
 507    }
 508    public function setKind($kind) {
 509      $this->kind = $kind;
 510    }
 511    public function getKind() {
 512      return $this->kind;
 513    }
 514    public function setTitle($title) {
 515      $this->title = $title;
 516    }
 517    public function getTitle() {
 518      return $this->title;
 519    }
 520    public function setItems($items) {
 521      $this->assertIsArray($items, 'Google_Activity', __METHOD__);
 522      $this->items = $items;
 523    }
 524    public function getItems() {
 525      return $this->items;
 526    }
 527    public function setUpdated($updated) {
 528      $this->updated = $updated;
 529    }
 530    public function getUpdated() {
 531      return $this->updated;
 532    }
 533    public function setNextLink($nextLink) {
 534      $this->nextLink = $nextLink;
 535    }
 536    public function getNextLink() {
 537      return $this->nextLink;
 538    }
 539    public function setEtag($etag) {
 540      $this->etag = $etag;
 541    }
 542    public function getEtag() {
 543      return $this->etag;
 544    }
 545    public function setId($id) {
 546      $this->id = $id;
 547    }
 548    public function getId() {
 549      return $this->id;
 550    }
 551    public function setSelfLink($selfLink) {
 552      $this->selfLink = $selfLink;
 553    }
 554    public function getSelfLink() {
 555      return $this->selfLink;
 556    }
 557  }
 558  
 559  class Google_ActivityObject extends Google_Model {
 560    protected $__resharersType = 'Google_ActivityObjectResharers';
 561    protected $__resharersDataType = '';
 562    public $resharers;
 563    protected $__attachmentsType = 'Google_ActivityObjectAttachments';
 564    protected $__attachmentsDataType = 'array';
 565    public $attachments;
 566    public $originalContent;
 567    protected $__plusonersType = 'Google_ActivityObjectPlusoners';
 568    protected $__plusonersDataType = '';
 569    public $plusoners;
 570    protected $__actorType = 'Google_ActivityObjectActor';
 571    protected $__actorDataType = '';
 572    public $actor;
 573    public $content;
 574    public $url;
 575    protected $__repliesType = 'Google_ActivityObjectReplies';
 576    protected $__repliesDataType = '';
 577    public $replies;
 578    public $id;
 579    public $objectType;
 580    public function setResharers(Google_ActivityObjectResharers $resharers) {
 581      $this->resharers = $resharers;
 582    }
 583    public function getResharers() {
 584      return $this->resharers;
 585    }
 586    public function setAttachments($attachments) {
 587      $this->assertIsArray($attachments, 'Google_ActivityObjectAttachments', __METHOD__);
 588      $this->attachments = $attachments;
 589    }
 590    public function getAttachments() {
 591      return $this->attachments;
 592    }
 593    public function setOriginalContent($originalContent) {
 594      $this->originalContent = $originalContent;
 595    }
 596    public function getOriginalContent() {
 597      return $this->originalContent;
 598    }
 599    public function setPlusoners(Google_ActivityObjectPlusoners $plusoners) {
 600      $this->plusoners = $plusoners;
 601    }
 602    public function getPlusoners() {
 603      return $this->plusoners;
 604    }
 605    public function setActor(Google_ActivityObjectActor $actor) {
 606      $this->actor = $actor;
 607    }
 608    public function getActor() {
 609      return $this->actor;
 610    }
 611    public function setContent($content) {
 612      $this->content = $content;
 613    }
 614    public function getContent() {
 615      return $this->content;
 616    }
 617    public function setUrl($url) {
 618      $this->url = $url;
 619    }
 620    public function getUrl() {
 621      return $this->url;
 622    }
 623    public function setReplies(Google_ActivityObjectReplies $replies) {
 624      $this->replies = $replies;
 625    }
 626    public function getReplies() {
 627      return $this->replies;
 628    }
 629    public function setId($id) {
 630      $this->id = $id;
 631    }
 632    public function getId() {
 633      return $this->id;
 634    }
 635    public function setObjectType($objectType) {
 636      $this->objectType = $objectType;
 637    }
 638    public function getObjectType() {
 639      return $this->objectType;
 640    }
 641  }
 642  
 643  class Google_ActivityObjectActor extends Google_Model {
 644    public $url;
 645    protected $__imageType = 'Google_ActivityObjectActorImage';
 646    protected $__imageDataType = '';
 647    public $image;
 648    public $displayName;
 649    public $id;
 650    public function setUrl($url) {
 651      $this->url = $url;
 652    }
 653    public function getUrl() {
 654      return $this->url;
 655    }
 656    public function setImage(Google_ActivityObjectActorImage $image) {
 657      $this->image = $image;
 658    }
 659    public function getImage() {
 660      return $this->image;
 661    }
 662    public function setDisplayName($displayName) {
 663      $this->displayName = $displayName;
 664    }
 665    public function getDisplayName() {
 666      return $this->displayName;
 667    }
 668    public function setId($id) {
 669      $this->id = $id;
 670    }
 671    public function getId() {
 672      return $this->id;
 673    }
 674  }
 675  
 676  class Google_ActivityObjectActorImage extends Google_Model {
 677    public $url;
 678    public function setUrl($url) {
 679      $this->url = $url;
 680    }
 681    public function getUrl() {
 682      return $this->url;
 683    }
 684  }
 685  
 686  class Google_ActivityObjectAttachments extends Google_Model {
 687    public $displayName;
 688    protected $__fullImageType = 'Google_ActivityObjectAttachmentsFullImage';
 689    protected $__fullImageDataType = '';
 690    public $fullImage;
 691    public $url;
 692    protected $__imageType = 'Google_ActivityObjectAttachmentsImage';
 693    protected $__imageDataType = '';
 694    public $image;
 695    public $content;
 696    protected $__embedType = 'Google_ActivityObjectAttachmentsEmbed';
 697    protected $__embedDataType = '';
 698    public $embed;
 699    public $id;
 700    public $objectType;
 701    public function setDisplayName($displayName) {
 702      $this->displayName = $displayName;
 703    }
 704    public function getDisplayName() {
 705      return $this->displayName;
 706    }
 707    public function setFullImage(Google_ActivityObjectAttachmentsFullImage $fullImage) {
 708      $this->fullImage = $fullImage;
 709    }
 710    public function getFullImage() {
 711      return $this->fullImage;
 712    }
 713    public function setUrl($url) {
 714      $this->url = $url;
 715    }
 716    public function getUrl() {
 717      return $this->url;
 718    }
 719    public function setImage(Google_ActivityObjectAttachmentsImage $image) {
 720      $this->image = $image;
 721    }
 722    public function getImage() {
 723      return $this->image;
 724    }
 725    public function setContent($content) {
 726      $this->content = $content;
 727    }
 728    public function getContent() {
 729      return $this->content;
 730    }
 731    public function setEmbed(Google_ActivityObjectAttachmentsEmbed $embed) {
 732      $this->embed = $embed;
 733    }
 734    public function getEmbed() {
 735      return $this->embed;
 736    }
 737    public function setId($id) {
 738      $this->id = $id;
 739    }
 740    public function getId() {
 741      return $this->id;
 742    }
 743    public function setObjectType($objectType) {
 744      $this->objectType = $objectType;
 745    }
 746    public function getObjectType() {
 747      return $this->objectType;
 748    }
 749  }
 750  
 751  class Google_ActivityObjectAttachmentsEmbed extends Google_Model {
 752    public $url;
 753    public $type;
 754    public function setUrl($url) {
 755      $this->url = $url;
 756    }
 757    public function getUrl() {
 758      return $this->url;
 759    }
 760    public function setType($type) {
 761      $this->type = $type;
 762    }
 763    public function getType() {
 764      return $this->type;
 765    }
 766  }
 767  
 768  class Google_ActivityObjectAttachmentsFullImage extends Google_Model {
 769    public $url;
 770    public $width;
 771    public $type;
 772    public $height;
 773    public function setUrl($url) {
 774      $this->url = $url;
 775    }
 776    public function getUrl() {
 777      return $this->url;
 778    }
 779    public function setWidth($width) {
 780      $this->width = $width;
 781    }
 782    public function getWidth() {
 783      return $this->width;
 784    }
 785    public function setType($type) {
 786      $this->type = $type;
 787    }
 788    public function getType() {
 789      return $this->type;
 790    }
 791    public function setHeight($height) {
 792      $this->height = $height;
 793    }
 794    public function getHeight() {
 795      return $this->height;
 796    }
 797  }
 798  
 799  class Google_ActivityObjectAttachmentsImage extends Google_Model {
 800    public $url;
 801    public $width;
 802    public $type;
 803    public $height;
 804    public function setUrl($url) {
 805      $this->url = $url;
 806    }
 807    public function getUrl() {
 808      return $this->url;
 809    }
 810    public function setWidth($width) {
 811      $this->width = $width;
 812    }
 813    public function getWidth() {
 814      return $this->width;
 815    }
 816    public function setType($type) {
 817      $this->type = $type;
 818    }
 819    public function getType() {
 820      return $this->type;
 821    }
 822    public function setHeight($height) {
 823      $this->height = $height;
 824    }
 825    public function getHeight() {
 826      return $this->height;
 827    }
 828  }
 829  
 830  class Google_ActivityObjectPlusoners extends Google_Model {
 831    public $totalItems;
 832    public $selfLink;
 833    public function setTotalItems($totalItems) {
 834      $this->totalItems = $totalItems;
 835    }
 836    public function getTotalItems() {
 837      return $this->totalItems;
 838    }
 839    public function setSelfLink($selfLink) {
 840      $this->selfLink = $selfLink;
 841    }
 842    public function getSelfLink() {
 843      return $this->selfLink;
 844    }
 845  }
 846  
 847  class Google_ActivityObjectReplies extends Google_Model {
 848    public $totalItems;
 849    public $selfLink;
 850    public function setTotalItems($totalItems) {
 851      $this->totalItems = $totalItems;
 852    }
 853    public function getTotalItems() {
 854      return $this->totalItems;
 855    }
 856    public function setSelfLink($selfLink) {
 857      $this->selfLink = $selfLink;
 858    }
 859    public function getSelfLink() {
 860      return $this->selfLink;
 861    }
 862  }
 863  
 864  class Google_ActivityObjectResharers extends Google_Model {
 865    public $totalItems;
 866    public $selfLink;
 867    public function setTotalItems($totalItems) {
 868      $this->totalItems = $totalItems;
 869    }
 870    public function getTotalItems() {
 871      return $this->totalItems;
 872    }
 873    public function setSelfLink($selfLink) {
 874      $this->selfLink = $selfLink;
 875    }
 876    public function getSelfLink() {
 877      return $this->selfLink;
 878    }
 879  }
 880  
 881  class Google_ActivityProvider extends Google_Model {
 882    public $title;
 883    public function setTitle($title) {
 884      $this->title = $title;
 885    }
 886    public function getTitle() {
 887      return $this->title;
 888    }
 889  }
 890  
 891  class Google_Comment extends Google_Model {
 892    protected $__inReplyToType = 'Google_CommentInReplyTo';
 893    protected $__inReplyToDataType = 'array';
 894    public $inReplyTo;
 895    public $kind;
 896    protected $__objectType = 'Google_CommentObject';
 897    protected $__objectDataType = '';
 898    public $object;
 899    public $updated;
 900    protected $__actorType = 'Google_CommentActor';
 901    protected $__actorDataType = '';
 902    public $actor;
 903    public $verb;
 904    public $etag;
 905    public $published;
 906    public $id;
 907    public $selfLink;
 908    public function setInReplyTo($inReplyTo) {
 909      $this->assertIsArray($inReplyTo, 'Google_CommentInReplyTo', __METHOD__);
 910      $this->inReplyTo = $inReplyTo;
 911    }
 912    public function getInReplyTo() {
 913      return $this->inReplyTo;
 914    }
 915    public function setKind($kind) {
 916      $this->kind = $kind;
 917    }
 918    public function getKind() {
 919      return $this->kind;
 920    }
 921    public function setObject(Google_CommentObject $object) {
 922      $this->object = $object;
 923    }
 924    public function getObject() {
 925      return $this->object;
 926    }
 927    public function setUpdated($updated) {
 928      $this->updated = $updated;
 929    }
 930    public function getUpdated() {
 931      return $this->updated;
 932    }
 933    public function setActor(Google_CommentActor $actor) {
 934      $this->actor = $actor;
 935    }
 936    public function getActor() {
 937      return $this->actor;
 938    }
 939    public function setVerb($verb) {
 940      $this->verb = $verb;
 941    }
 942    public function getVerb() {
 943      return $this->verb;
 944    }
 945    public function setEtag($etag) {
 946      $this->etag = $etag;
 947    }
 948    public function getEtag() {
 949      return $this->etag;
 950    }
 951    public function setPublished($published) {
 952      $this->published = $published;
 953    }
 954    public function getPublished() {
 955      return $this->published;
 956    }
 957    public function setId($id) {
 958      $this->id = $id;
 959    }
 960    public function getId() {
 961      return $this->id;
 962    }
 963    public function setSelfLink($selfLink) {
 964      $this->selfLink = $selfLink;
 965    }
 966    public function getSelfLink() {
 967      return $this->selfLink;
 968    }
 969  }
 970  
 971  class Google_CommentActor extends Google_Model {
 972    public $url;
 973    protected $__imageType = 'Google_CommentActorImage';
 974    protected $__imageDataType = '';
 975    public $image;
 976    public $displayName;
 977    public $id;
 978    public function setUrl($url) {
 979      $this->url = $url;
 980    }
 981    public function getUrl() {
 982      return $this->url;
 983    }
 984    public function setImage(Google_CommentActorImage $image) {
 985      $this->image = $image;
 986    }
 987    public function getImage() {
 988      return $this->image;
 989    }
 990    public function setDisplayName($displayName) {
 991      $this->displayName = $displayName;
 992    }
 993    public function getDisplayName() {
 994      return $this->displayName;
 995    }
 996    public function setId($id) {
 997      $this->id = $id;
 998    }
 999    public function getId() {
1000      return $this->id;
1001    }
1002  }
1003  
1004  class Google_CommentActorImage extends Google_Model {
1005    public $url;
1006    public function setUrl($url) {
1007      $this->url = $url;
1008    }
1009    public function getUrl() {
1010      return $this->url;
1011    }
1012  }
1013  
1014  class Google_CommentFeed extends Google_Model {
1015    public $nextPageToken;
1016    public $kind;
1017    public $title;
1018    protected $__itemsType = 'Google_Comment';
1019    protected $__itemsDataType = 'array';
1020    public $items;
1021    public $updated;
1022    public $nextLink;
1023    public $etag;
1024    public $id;
1025    public function setNextPageToken($nextPageToken) {
1026      $this->nextPageToken = $nextPageToken;
1027    }
1028    public function getNextPageToken() {
1029      return $this->nextPageToken;
1030    }
1031    public function setKind($kind) {
1032      $this->kind = $kind;
1033    }
1034    public function getKind() {
1035      return $this->kind;
1036    }
1037    public function setTitle($title) {
1038      $this->title = $title;
1039    }
1040    public function getTitle() {
1041      return $this->title;
1042    }
1043    public function setItems($items) {
1044      $this->assertIsArray($items, 'Google_Comment', __METHOD__);
1045      $this->items = $items;
1046    }
1047    public function getItems() {
1048      return $this->items;
1049    }
1050    public function setUpdated($updated) {
1051      $this->updated = $updated;
1052    }
1053    public function getUpdated() {
1054      return $this->updated;
1055    }
1056    public function setNextLink($nextLink) {
1057      $this->nextLink = $nextLink;
1058    }
1059    public function getNextLink() {
1060      return $this->nextLink;
1061    }
1062    public function setEtag($etag) {
1063      $this->etag = $etag;
1064    }
1065    public function getEtag() {
1066      return $this->etag;
1067    }
1068    public function setId($id) {
1069      $this->id = $id;
1070    }
1071    public function getId() {
1072      return $this->id;
1073    }
1074  }
1075  
1076  class Google_CommentInReplyTo extends Google_Model {
1077    public $url;
1078    public $id;
1079    public function setUrl($url) {
1080      $this->url = $url;
1081    }
1082    public function getUrl() {
1083      return $this->url;
1084    }
1085    public function setId($id) {
1086      $this->id = $id;
1087    }
1088    public function getId() {
1089      return $this->id;
1090    }
1091  }
1092  
1093  class Google_CommentObject extends Google_Model {
1094    public $content;
1095    public $objectType;
1096    public function setContent($content) {
1097      $this->content = $content;
1098    }
1099    public function getContent() {
1100      return $this->content;
1101    }
1102    public function setObjectType($objectType) {
1103      $this->objectType = $objectType;
1104    }
1105    public function getObjectType() {
1106      return $this->objectType;
1107    }
1108  }
1109  
1110  class Google_PeopleFeed extends Google_Model {
1111    public $nextPageToken;
1112    public $kind;
1113    public $title;
1114    protected $__itemsType = 'Google_Person';
1115    protected $__itemsDataType = 'array';
1116    public $items;
1117    public $etag;
1118    public $selfLink;
1119    public function setNextPageToken($nextPageToken) {
1120      $this->nextPageToken = $nextPageToken;
1121    }
1122    public function getNextPageToken() {
1123      return $this->nextPageToken;
1124    }
1125    public function setKind($kind) {
1126      $this->kind = $kind;
1127    }
1128    public function getKind() {
1129      return $this->kind;
1130    }
1131    public function setTitle($title) {
1132      $this->title = $title;
1133    }
1134    public function getTitle() {
1135      return $this->title;
1136    }
1137    public function setItems($items) {
1138      $this->assertIsArray($items, 'Google_Person', __METHOD__);
1139      $this->items = $items;
1140    }
1141    public function getItems() {
1142      return $this->items;
1143    }
1144    public function setEtag($etag) {
1145      $this->etag = $etag;
1146    }
1147    public function getEtag() {
1148      return $this->etag;
1149    }
1150    public function setSelfLink($selfLink) {
1151      $this->selfLink = $selfLink;
1152    }
1153    public function getSelfLink() {
1154      return $this->selfLink;
1155    }
1156  }
1157  
1158  class Google_Person extends Google_Model {
1159    public $relationshipStatus;
1160    protected $__organizationsType = 'Google_PersonOrganizations';
1161    protected $__organizationsDataType = 'array';
1162    public $organizations;
1163    public $kind;
1164    public $displayName;
1165    protected $__nameType = 'Google_PersonName';
1166    protected $__nameDataType = '';
1167    public $name;
1168    public $url;
1169    public $gender;
1170    public $aboutMe;
1171    public $tagline;
1172    protected $__urlsType = 'Google_PersonUrls';
1173    protected $__urlsDataType = 'array';
1174    public $urls;
1175    protected $__placesLivedType = 'Google_PersonPlacesLived';
1176    protected $__placesLivedDataType = 'array';
1177    public $placesLived;
1178    protected $__emailsType = 'Google_PersonEmails';
1179    protected $__emailsDataType = 'array';
1180    public $emails;
1181    public $nickname;
1182    public $birthday;
1183    public $etag;
1184    protected $__imageType = 'Google_PersonImage';
1185    protected $__imageDataType = '';
1186    public $image;
1187    public $hasApp;
1188    public $id;
1189    public $languagesSpoken;
1190    public $currentLocation;
1191    public $objectType;
1192    public function setRelationshipStatus($relationshipStatus) {
1193      $this->relationshipStatus = $relationshipStatus;
1194    }
1195    public function getRelationshipStatus() {
1196      return $this->relationshipStatus;
1197    }
1198    public function setOrganizations($organizations) {
1199      $this->assertIsArray($organizations, 'Google_PersonOrganizations', __METHOD__);
1200      $this->organizations = $organizations;
1201    }
1202    public function getOrganizations() {
1203      return $this->organizations;
1204    }
1205    public function setKind($kind) {
1206      $this->kind = $kind;
1207    }
1208    public function getKind() {
1209      return $this->kind;
1210    }
1211    public function setDisplayName($displayName) {
1212      $this->displayName = $displayName;
1213    }
1214    public function getDisplayName() {
1215      return $this->displayName;
1216    }
1217    public function setName(Google_PersonName $name) {
1218      $this->name = $name;
1219    }
1220    public function getName() {
1221      return $this->name;
1222    }
1223    public function setUrl($url) {
1224      $this->url = $url;
1225    }
1226    public function getUrl() {
1227      return $this->url;
1228    }
1229    public function setGender($gender) {
1230      $this->gender = $gender;
1231    }
1232    public function getGender() {
1233      return $this->gender;
1234    }
1235    public function setAboutMe($aboutMe) {
1236      $this->aboutMe = $aboutMe;
1237    }
1238    public function getAboutMe() {
1239      return $this->aboutMe;
1240    }
1241    public function setTagline($tagline) {
1242      $this->tagline = $tagline;
1243    }
1244    public function getTagline() {
1245      return $this->tagline;
1246    }
1247    public function setUrls($urls) {
1248      $this->assertIsArray($urls, 'Google_PersonUrls', __METHOD__);
1249      $this->urls = $urls;
1250    }
1251    public function getUrls() {
1252      return $this->urls;
1253    }
1254    public function setPlacesLived($placesLived) {
1255      $this->assertIsArray($placesLived, 'Google_PersonPlacesLived', __METHOD__);
1256      $this->placesLived = $placesLived;
1257    }
1258    public function getPlacesLived() {
1259      return $this->placesLived;
1260    }
1261    public function setEmails($emails) {
1262      $this->assertIsArray($emails, 'Google_PersonEmails', __METHOD__);
1263      $this->emails = $emails;
1264    }
1265    public function getEmails() {
1266      return $this->emails;
1267    }
1268    public function setNickname($nickname) {
1269      $this->nickname = $nickname;
1270    }
1271    public function getNickname() {
1272      return $this->nickname;
1273    }
1274    public function setBirthday($birthday) {
1275      $this->birthday = $birthday;
1276    }
1277    public function getBirthday() {
1278      return $this->birthday;
1279    }
1280    public function setEtag($etag) {
1281      $this->etag = $etag;
1282    }
1283    public function getEtag() {
1284      return $this->etag;
1285    }
1286    public function setImage(Google_PersonImage $image) {
1287      $this->image = $image;
1288    }
1289    public function getImage() {
1290      return $this->image;
1291    }
1292    public function setHasApp($hasApp) {
1293      $this->hasApp = $hasApp;
1294    }
1295    public function getHasApp() {
1296      return $this->hasApp;
1297    }
1298    public function setId($id) {
1299      $this->id = $id;
1300    }
1301    public function getId() {
1302      return $this->id;
1303    }
1304    public function setLanguagesSpoken($languagesSpoken) {
1305      $this->languagesSpoken = $languagesSpoken;
1306    }
1307    public function getLanguagesSpoken() {
1308      return $this->languagesSpoken;
1309    }
1310    public function setCurrentLocation($currentLocation) {
1311      $this->currentLocation = $currentLocation;
1312    }
1313    public function getCurrentLocation() {
1314      return $this->currentLocation;
1315    }
1316    public function setObjectType($objectType) {
1317      $this->objectType = $objectType;
1318    }
1319    public function getObjectType() {
1320      return $this->objectType;
1321    }
1322  }
1323  
1324  class Google_PersonEmails extends Google_Model {
1325    public $type;
1326    public $primary;
1327    public $value;
1328    public function setType($type) {
1329      $this->type = $type;
1330    }
1331    public function getType() {
1332      return $this->type;
1333    }
1334    public function setPrimary($primary) {
1335      $this->primary = $primary;
1336    }
1337    public function getPrimary() {
1338      return $this->primary;
1339    }
1340    public function setValue($value) {
1341      $this->value = $value;
1342    }
1343    public function getValue() {
1344      return $this->value;
1345    }
1346  }
1347  
1348  class Google_PersonImage extends Google_Model {
1349    public $url;
1350    public function setUrl($url) {
1351      $this->url = $url;
1352    }
1353    public function getUrl() {
1354      return $this->url;
1355    }
1356  }
1357  
1358  class Google_PersonName extends Google_Model {
1359    public $honorificPrefix;
1360    public $middleName;
1361    public $familyName;
1362    public $formatted;
1363    public $givenName;
1364    public $honorificSuffix;
1365    public function setHonorificPrefix($honorificPrefix) {
1366      $this->honorificPrefix = $honorificPrefix;
1367    }
1368    public function getHonorificPrefix() {
1369      return $this->honorificPrefix;
1370    }
1371    public function setMiddleName($middleName) {
1372      $this->middleName = $middleName;
1373    }
1374    public function getMiddleName() {
1375      return $this->middleName;
1376    }
1377    public function setFamilyName($familyName) {
1378      $this->familyName = $familyName;
1379    }
1380    public function getFamilyName() {
1381      return $this->familyName;
1382    }
1383    public function setFormatted($formatted) {
1384      $this->formatted = $formatted;
1385    }
1386    public function getFormatted() {
1387      return $this->formatted;
1388    }
1389    public function setGivenName($givenName) {
1390      $this->givenName = $givenName;
1391    }
1392    public function getGivenName() {
1393      return $this->givenName;
1394    }
1395    public function setHonorificSuffix($honorificSuffix) {
1396      $this->honorificSuffix = $honorificSuffix;
1397    }
1398    public function getHonorificSuffix() {
1399      return $this->honorificSuffix;
1400    }
1401  }
1402  
1403  class Google_PersonOrganizations extends Google_Model {
1404    public $startDate;
1405    public $endDate;
1406    public $description;
1407    public $title;
1408    public $primary;
1409    public $location;
1410    public $department;
1411    public $type;
1412    public $name;
1413    public function setStartDate($startDate) {
1414      $this->startDate = $startDate;
1415    }
1416    public function getStartDate() {
1417      return $this->startDate;
1418    }
1419    public function setEndDate($endDate) {
1420      $this->endDate = $endDate;
1421    }
1422    public function getEndDate() {
1423      return $this->endDate;
1424    }
1425    public function setDescription($description) {
1426      $this->description = $description;
1427    }
1428    public function getDescription() {
1429      return $this->description;
1430    }
1431    public function setTitle($title) {
1432      $this->title = $title;
1433    }
1434    public function getTitle() {
1435      return $this->title;
1436    }
1437    public function setPrimary($primary) {
1438      $this->primary = $primary;
1439    }
1440    public function getPrimary() {
1441      return $this->primary;
1442    }
1443    public function setLocation($location) {
1444      $this->location = $location;
1445    }
1446    public function getLocation() {
1447      return $this->location;
1448    }
1449    public function setDepartment($department) {
1450      $this->department = $department;
1451    }
1452    public function getDepartment() {
1453      return $this->department;
1454    }
1455    public function setType($type) {
1456      $this->type = $type;
1457    }
1458    public function getType() {
1459      return $this->type;
1460    }
1461    public function setName($name) {
1462      $this->name = $name;
1463    }
1464    public function getName() {
1465      return $this->name;
1466    }
1467  }
1468  
1469  class Google_PersonPlacesLived extends Google_Model {
1470    public $primary;
1471    public $value;
1472    public function setPrimary($primary) {
1473      $this->primary = $primary;
1474    }
1475    public function getPrimary() {
1476      return $this->primary;
1477    }
1478    public function setValue($value) {
1479      $this->value = $value;
1480    }
1481    public function getValue() {
1482      return $this->value;
1483    }
1484  }
1485  
1486  class Google_PersonUrls extends Google_Model {
1487    public $type;
1488    public $primary;
1489    public $value;
1490    public function setType($type) {
1491      $this->type = $type;
1492    }
1493    public function getType() {
1494      return $this->type;
1495    }
1496    public function setPrimary($primary) {
1497      $this->primary = $primary;
1498    }
1499    public function getPrimary() {
1500      return $this->primary;
1501    }
1502    public function setValue($value) {
1503      $this->value = $value;
1504    }
1505    public function getValue() {
1506      return $this->value;
1507    }
1508  }
1509  
1510  class Google_PlusAclentryResource extends Google_Model {
1511    public $type;
1512    public $id;
1513    public function setType($type) {
1514      $this->type = $type;
1515    }
1516    public function getType() {
1517      return $this->type;
1518    }
1519    public function setId($id) {
1520      $this->id = $id;
1521    }
1522    public function getId() {
1523      return $this->id;
1524    }
1525  }

title

Description

title

Description

title

Description

title

title

Body