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     * Get an activity. (activities.get)
29     *
30     * @param string $activityId The ID of the activity to get.
31     * @param array $optParams Optional parameters.
32     * @return Google_Activity
33     */
34    public function get($activityId, $optParams = array()) {
35      $params = array('activityId' => $activityId);
36      $params = array_merge($params, $optParams);
37      $data = $this->__call('get', array($params));
38      if ($this->useObjects()) {
39        return new Google_Activity($data);
40      } else {
41        return $data;
42      }
43    }
44    /**
45     * Create a new activity for the authenticated user. (activities.insert)
46     *
47     * @param string $userId The ID of the user to create the activity on behalf of. Its value should be "me", to indicate the authenticated user.
48     * @param Google_Activity $postBody
49     * @param array $optParams Optional parameters.
50     *
51     * @opt_param bool preview If "true", extract the potential media attachments for a url. The response will include all possible attachments for a url, including video, photos, and articles based on the content of the page.
52     * @return Google_Activity
53     */
54    public function insert($userId, Google_Activity $postBody, $optParams = array()) {
55      $params = array('userId' => $userId, 'postBody' => $postBody);
56      $params = array_merge($params, $optParams);
57      $data = $this->__call('insert', array($params));
58      if ($this->useObjects()) {
59        return new Google_Activity($data);
60      } else {
61        return $data;
62      }
63    }
64    /**
65     * List all of the activities in the specified collection for a particular user.
66     * (activities.list)
67     *
68     * @param string $userId The ID of the user to get activities for. The special value "me" can be used to indicate the authenticated user.
69     * @param string $collection The collection of activities to list.
70     * @param array $optParams Optional parameters.
71     *
72     * @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.
73     * @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.
74     * @return Google_ActivityFeed
75     */
76    public function listActivities($userId, $collection, $optParams = array()) {
77      $params = array('userId' => $userId, 'collection' => $collection);
78      $params = array_merge($params, $optParams);
79      $data = $this->__call('list', array($params));
80      if ($this->useObjects()) {
81        return new Google_ActivityFeed($data);
82      } else {
83        return $data;
84      }
85    }
86  }
87
88  /**
89   * The "audiences" collection of methods.
90   * Typical usage is:
91   *  <code>
92   *   $plusService = new Google_PlusService(...);
93   *   $audiences = $plusService->audiences;
94   *  </code>
95   */
96  class Google_AudiencesServiceResource extends Google_ServiceResource {
97
98    /**
99     * List all of the audiences to which a user can share. (audiences.list)
100     *
101     * @param string $userId The ID of the user to get audiences for. The special value "me" can be used to indicate the authenticated user.
102     * @param array $optParams Optional parameters.
103     *
104     * @opt_param string maxResults The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
105     * @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.
106     * @return Google_AudiencesFeed
107     */
108    public function listAudiences($userId, $optParams = array()) {
109      $params = array('userId' => $userId);
110      $params = array_merge($params, $optParams);
111      $data = $this->__call('list', array($params));
112      if ($this->useObjects()) {
113        return new Google_AudiencesFeed($data);
114      } else {
115        return $data;
116      }
117    }
118  }
119
120  /**
121   * The "circles" collection of methods.
122   * Typical usage is:
123   *  <code>
124   *   $plusService = new Google_PlusService(...);
125   *   $circles = $plusService->circles;
126   *  </code>
127   */
128  class Google_CirclesServiceResource extends Google_ServiceResource {
129
130    /**
131     * Add a person to a circle. Google+ limits certain circle operations, including
132     * the number of circle adds. Learn More. (circles.addPeople)
133     *
134     * @param string $circleId The ID of the circle to add the person to.
135     * @param array $optParams Optional parameters.
136     *
137     * @opt_param string email Email of the people to add to the circle. Optional, can be repeated.
138     * @opt_param string userId IDs of the people to add to the circle. Optional, can be repeated.
139     * @return Google_Circle
140     */
141    public function addPeople($circleId, $optParams = array()) {
142      $params = array('circleId' => $circleId);
143      $params = array_merge($params, $optParams);
144      $data = $this->__call('addPeople', array($params));
145      if ($this->useObjects()) {
146        return new Google_Circle($data);
147      } else {
148        return $data;
149      }
150    }
151    /**
152     * Get a circle. (circles.get)
153     *
154     * @param string $circleId The ID of the circle to get.
155     * @param array $optParams Optional parameters.
156     * @return Google_Circle
157     */
158    public function get($circleId, $optParams = array()) {
159      $params = array('circleId' => $circleId);
160      $params = array_merge($params, $optParams);
161      $data = $this->__call('get', array($params));
162      if ($this->useObjects()) {
163        return new Google_Circle($data);
164      } else {
165        return $data;
166      }
167    }
168    /**
169     * Create a new circle for the authenticated user. (circles.insert)
170     *
171     * @param string $userId The ID of the user to create the circle on behalf of. The value "me" can be used to indicate the authenticated user.
172     * @param Google_Circle $postBody
173     * @param array $optParams Optional parameters.
174     * @return Google_Circle
175     */
176    public function insert($userId, Google_Circle $postBody, $optParams = array()) {
177      $params = array('userId' => $userId, 'postBody' => $postBody);
178      $params = array_merge($params, $optParams);
179      $data = $this->__call('insert', array($params));
180      if ($this->useObjects()) {
181        return new Google_Circle($data);
182      } else {
183        return $data;
184      }
185    }
186    /**
187     * List all of the circles for a user. (circles.list)
188     *
189     * @param string $userId The ID of the user to get circles for. The special value "me" can be used to indicate the authenticated user.
190     * @param array $optParams Optional parameters.
191     *
192     * @opt_param string maxResults The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.
193     * @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.
194     * @return Google_CircleFeed
195     */
196    public function listCircles($userId, $optParams = array()) {
197      $params = array('userId' => $userId);
198      $params = array_merge($params, $optParams);
199      $data = $this->__call('list', array($params));
200      if ($this->useObjects()) {
201        return new Google_CircleFeed($data);
202      } else {
203        return $data;
204      }
205    }
206    /**
207     * Update a circle. This method supports patch semantics. (circles.patch)
208     *
209     * @param string $circleId The ID of the circle to update.
210     * @param Google_Circle $postBody
211     * @param array $optParams Optional parameters.
212     * @return Google_Circle
213     */
214    public function patch($circleId, Google_Circle $postBody, $optParams = array()) {
215      $params = array('circleId' => $circleId, 'postBody' => $postBody);
216      $params = array_merge($params, $optParams);
217      $data = $this->__call('patch', array($params));
218      if ($this->useObjects()) {
219        return new Google_Circle($data);
220      } else {
221        return $data;
222      }
223    }
224    /**
225     * Delete a circle. (circles.remove)
226     *
227     * @param string $circleId The ID of the circle to delete.
228     * @param array $optParams Optional parameters.
229     */
230    public function remove($circleId, $optParams = array()) {
231      $params = array('circleId' => $circleId);
232      $params = array_merge($params, $optParams);
233      $data = $this->__call('remove', array($params));
234      return $data;
235    }
236    /**
237     * Remove a person from a circle. (circles.removePeople)
238     *
239     * @param string $circleId The ID of the circle to remove the person from.
240     * @param array $optParams Optional parameters.
241     *
242     * @opt_param string email Email of the people to add to the circle. Optional, can be repeated.
243     * @opt_param string userId IDs of the people to remove from the circle. Optional, can be repeated.
244     */
245    public function removePeople($circleId, $optParams = array()) {
246      $params = array('circleId' => $circleId);
247      $params = array_merge($params, $optParams);
248      $data = $this->__call('removePeople', array($params));
249      return $data;
250    }
251    /**
252     * Update a circle. (circles.update)
253     *
254     * @param string $circleId The ID of the circle to update.
255     * @param Google_Circle $postBody
256     * @param array $optParams Optional parameters.
257     * @return Google_Circle
258     */
259    public function update($circleId, Google_Circle $postBody, $optParams = array()) {
260      $params = array('circleId' => $circleId, 'postBody' => $postBody);
261      $params = array_merge($params, $optParams);
262      $data = $this->__call('update', array($params));
263      if ($this->useObjects()) {
264        return new Google_Circle($data);
265      } else {
266        return $data;
267      }
268    }
269  }
270
271  /**
272   * The "comments" collection of methods.
273   * Typical usage is:
274   *  <code>
275   *   $plusService = new Google_PlusService(...);
276   *   $comments = $plusService->comments;
277   *  </code>
278   */
279  class Google_CommentsServiceResource extends Google_ServiceResource {
280
281    /**
282     * Get a comment. (comments.get)
283     *
284     * @param string $commentId The ID of the comment to get.
285     * @param array $optParams Optional parameters.
286     * @return Google_Comment
287     */
288    public function get($commentId, $optParams = array()) {
289      $params = array('commentId' => $commentId);
290      $params = array_merge($params, $optParams);
291      $data = $this->__call('get', array($params));
292      if ($this->useObjects()) {
293        return new Google_Comment($data);
294      } else {
295        return $data;
296      }
297    }
298    /**
299     * Create a new comment in reply to an activity. (comments.insert)
300     *
301     * @param string $activityId The ID of the activity to reply to.
302     * @param Google_Comment $postBody
303     * @param array $optParams Optional parameters.
304     * @return Google_Comment
305     */
306    public function insert($activityId, Google_Comment $postBody, $optParams = array()) {
307      $params = array('activityId' => $activityId, 'postBody' => $postBody);
308      $params = array_merge($params, $optParams);
309      $data = $this->__call('insert', array($params));
310      if ($this->useObjects()) {
311        return new Google_Comment($data);
312      } else {
313        return $data;
314      }
315    }
316    /**
317     * List all of the comments for an activity. (comments.list)
318     *
319     * @param string $activityId The ID of the activity to get comments for.
320     * @param array $optParams Optional parameters.
321     *
322     * @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.
323     * @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.
324     * @opt_param string sortOrder The order in which to sort the list of comments.
325     * @return Google_CommentFeed
326     */
327    public function listComments($activityId, $optParams = array()) {
328      $params = array('activityId' => $activityId);
329      $params = array_merge($params, $optParams);
330      $data = $this->__call('list', array($params));
331      if ($this->useObjects()) {
332        return new Google_CommentFeed($data);
333      } else {
334        return $data;
335      }
336    }
337  }
338
339  /**
340   * The "media" collection of methods.
341   * Typical usage is:
342   *  <code>
343   *   $plusService = new Google_PlusService(...);
344   *   $media = $plusService->media;
345   *  </code>
346   */
347  class Google_MediaServiceResource extends Google_ServiceResource {
348
349    /**
350     * Add a new media item to an album. The current upload size limitations are
351     * 36MB for a photo and 1GB for a video. Uploads will not count against quota if
352     * photos are less than 2048 pixels on their longest side or videos are less
353     * than 15 minutes in length. (media.insert)
354     *
355     * @param string $userId The ID of the user to create the activity on behalf of.
356     * @param string $collection
357     * @param Google_Media $postBody
358     * @param array $optParams Optional parameters.
359     * @return Google_Media
360     */
361    public function insert($userId, $collection, Google_Media $postBody, $optParams = array()) {
362      $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
363      $params = array_merge($params, $optParams);
364      $data = $this->__call('insert', array($params));
365      if ($this->useObjects()) {
366        return new Google_Media($data);
367      } else {
368        return $data;
369      }
370    }
371  }
372
373  /**
374   * The "people" collection of methods.
375   * Typical usage is:
376   *  <code>
377   *   $plusService = new Google_PlusService(...);
378   *   $people = $plusService->people;
379   *  </code>
380   */
381  class Google_PeopleServiceResource extends Google_ServiceResource {
382
383    /**
384     * Get a person's profile. (people.get)
385     *
386     * @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.
387     * @param array $optParams Optional parameters.
388     * @return Google_Person
389     */
390    public function get($userId, $optParams = array()) {
391      $params = array('userId' => $userId);
392      $params = array_merge($params, $optParams);
393      $data = $this->__call('get', array($params));
394      if ($this->useObjects()) {
395        return new Google_Person($data);
396      } else {
397        return $data;
398      }
399    }
400    /**
401     * List all of the people in the specified collection. (people.list)
402     *
403     * @param string $userId Get the collection of people for the person identified. Use "me" to indicate the authenticated user.
404     * @param string $collection The collection of people to list.
405     * @param array $optParams Optional parameters.
406     *
407     * @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.
408     * @opt_param string orderBy The order to return people in.
409     * @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.
410     * @return Google_PeopleFeed
411     */
412    public function listPeople($userId, $collection, $optParams = array()) {
413      $params = array('userId' => $userId, 'collection' => $collection);
414      $params = array_merge($params, $optParams);
415      $data = $this->__call('list', array($params));
416      if ($this->useObjects()) {
417        return new Google_PeopleFeed($data);
418      } else {
419        return $data;
420      }
421    }
422    /**
423     * List all of the people in the specified collection for a particular activity.
424     * (people.listByActivity)
425     *
426     * @param string $activityId The ID of the activity to get the list of people for.
427     * @param string $collection The collection of people to list.
428     * @param array $optParams Optional parameters.
429     *
430     * @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.
431     * @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.
432     * @return Google_PeopleFeed
433     */
434    public function listByActivity($activityId, $collection, $optParams = array()) {
435      $params = array('activityId' => $activityId, 'collection' => $collection);
436      $params = array_merge($params, $optParams);
437      $data = $this->__call('listByActivity', array($params));
438      if ($this->useObjects()) {
439        return new Google_PeopleFeed($data);
440      } else {
441        return $data;
442      }
443    }
444    /**
445     * List all of the people who are members of a circle. (people.listByCircle)
446     *
447     * @param string $circleId The ID of the circle to get the members of.
448     * @param array $optParams Optional parameters.
449     *
450     * @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.
451     * @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.
452     * @return Google_PeopleFeed
453     */
454    public function listByCircle($circleId, $optParams = array()) {
455      $params = array('circleId' => $circleId);
456      $params = array_merge($params, $optParams);
457      $data = $this->__call('listByCircle', array($params));
458      if ($this->useObjects()) {
459        return new Google_PeopleFeed($data);
460      } else {
461        return $data;
462      }
463    }
464  }
465
466/**
467 * Service definition for Google_Plus (v1domains).
468 *
469 * <p>
470 * The Google+ API enables developers to build on top of the Google+ platform.
471 * </p>
472 *
473 * <p>
474 * For more information about this service, see the
475 * <a href="https://developers.google.com/+/api/" target="_blank">API Documentation</a>
476 * </p>
477 *
478 * @author Google, Inc.
479 */
480class Google_PlusService extends Google_Service {
481  public $activities;
482  public $audiences;
483  public $circles;
484  public $comments;
485  public $media;
486  public $people;
487  /**
488   * Constructs the internal representation of the Plus service.
489   *
490   * @param Google_Client $client
491   */
492  public function __construct(Google_Client $client) {
493    $this->servicePath = 'plus/v1domains/';
494    $this->version = 'v1domains';
495    $this->serviceName = 'plus';
496
497    $client->addService($this->serviceName, $this->version);
498    $this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"get": {"id": "plus.activities.get", "path": "activities/{activityId}", "httpMethod": "GET", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Activity"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}, "insert": {"id": "plus.activities.insert", "path": "people/{userId}/activities", "httpMethod": "POST", "parameters": {"preview": {"type": "boolean", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Activity"}, "response": {"$ref": "Activity"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}, "list": {"id": "plus.activities.list", "path": "people/{userId}/activities/{collection}", "httpMethod": "GET", "parameters": {"collection": {"type": "string", "required": true, "enum": ["user"], "location": "path"}, "maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "ActivityFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}}}', true));
499    $this->audiences = new Google_AudiencesServiceResource($this, $this->serviceName, 'audiences', json_decode('{"methods": {"list": {"id": "plus.audiences.list", "path": "people/{userId}/audiences", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "AudiencesFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}}}', true));
500    $this->circles = new Google_CirclesServiceResource($this, $this->serviceName, 'circles', json_decode('{"methods": {"addPeople": {"id": "plus.circles.addPeople", "path": "circles/{circleId}/people", "httpMethod": "PUT", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}, "email": {"type": "string", "repeated": true, "location": "query"}, "userId": {"type": "string", "repeated": true, "location": "query"}}, "response": {"$ref": "Circle"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "get": {"id": "plus.circles.get", "path": "circles/{circleId}", "httpMethod": "GET", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Circle"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "insert": {"id": "plus.circles.insert", "path": "people/{userId}/circles", "httpMethod": "POST", "parameters": {"userId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Circle"}, "response": {"$ref": "Circle"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}, "list": {"id": "plus.circles.list", "path": "people/{userId}/circles", "httpMethod": "GET", "parameters": {"maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CircleFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}, "patch": {"id": "plus.circles.patch", "path": "circles/{circleId}", "httpMethod": "PATCH", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Circle"}, "response": {"$ref": "Circle"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "remove": {"id": "plus.circles.remove", "path": "circles/{circleId}", "httpMethod": "DELETE", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "removePeople": {"id": "plus.circles.removePeople", "path": "circles/{circleId}/people", "httpMethod": "DELETE", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}, "email": {"type": "string", "repeated": true, "location": "query"}, "userId": {"type": "string", "repeated": true, "location": "query"}}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "update": {"id": "plus.circles.update", "path": "circles/{circleId}", "httpMethod": "PUT", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Circle"}, "response": {"$ref": "Circle"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true));
501    $this->comments = new Google_CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"get": {"id": "plus.comments.get", "path": "comments/{commentId}", "httpMethod": "GET", "parameters": {"commentId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Comment"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "insert": {"id": "plus.comments.insert", "path": "activities/{activityId}/comments", "httpMethod": "POST", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Comment"}, "response": {"$ref": "Comment"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "list": {"id": "plus.comments.list", "path": "activities/{activityId}/comments", "httpMethod": "GET", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}, "maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "0", "maximum": "500", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "sortOrder": {"type": "string", "default": "ascending", "enum": ["ascending", "descending"], "location": "query"}}, "response": {"$ref": "CommentFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true));
502    $this->media = new Google_MediaServiceResource($this, $this->serviceName, 'media', json_decode('{"methods": {"insert": {"id": "plus.media.insert", "path": "people/{userId}/media/{collection}", "httpMethod": "POST", "parameters": {"collection": {"type": "string", "required": true, "enum": ["cloud"], "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Media"}, "response": {"$ref": "Media"}, "scopes": ["https://www.googleapis.com/auth/plus.login"], "supportsMediaUpload": true, "mediaUpload": {"accept": ["image/*", "video/*"], "protocols": {"simple": {"multipart": true, "path": "/upload/plus/v1domains/people/{userId}/media/{collection}"}, "resumable": {"multipart": true, "path": "/resumable/upload/plus/v1domains/people/{userId}/media/{collection}"}}}}}}', true));
503    $this->people = new Google_PeopleServiceResource($this, $this->serviceName, 'people', json_decode('{"methods": {"get": {"id": "plus.people.get", "path": "people/{userId}", "httpMethod": "GET", "parameters": {"userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Person"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/plus.profiles.read"]}, "list": {"id": "plus.people.list", "path": "people/{userId}/people/{collection}", "httpMethod": "GET", "parameters": {"collection": {"type": "string", "required": true, "enum": ["circled"], "location": "path"}, "maxResults": {"type": "integer", "default": "100", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "orderBy": {"type": "string", "enum": ["alphabetical", "best"], "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "PeopleFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login", "https://www.googleapis.com/auth/plus.me"]}, "listByActivity": {"id": "plus.people.listByActivity", "path": "activities/{activityId}/people/{collection}", "httpMethod": "GET", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}, "collection": {"type": "string", "required": true, "enum": ["plusoners", "resharers", "sharedto"], "location": "path"}, "maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "PeopleFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}, "listByCircle": {"id": "plus.people.listByCircle", "path": "circles/{circleId}/people", "httpMethod": "GET", "parameters": {"circleId": {"type": "string", "required": true, "location": "path"}, "maxResults": {"type": "integer", "default": "20", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "PeopleFeed"}, "scopes": ["https://www.googleapis.com/auth/plus.login"]}}}', true));
504
505  }
506}
507
508
509
510class Google_Acl extends Google_Model {
511  public $description;
512  public $domainRestricted;
513  protected $__itemsType = 'Google_PlusAclentryResource';
514  protected $__itemsDataType = 'array';
515  public $items;
516  public $kind;
517  public function setDescription( $description) {
518    $this->description = $description;
519  }
520  public function getDescription() {
521    return $this->description;
522  }
523  public function setDomainRestricted( $domainRestricted) {
524    $this->domainRestricted = $domainRestricted;
525  }
526  public function getDomainRestricted() {
527    return $this->domainRestricted;
528  }
529  public function setItems(/* array(Google_PlusAclentryResource) */ $items) {
530    $this->assertIsArray($items, 'Google_PlusAclentryResource', __METHOD__);
531    $this->items = $items;
532  }
533  public function getItems() {
534    return $this->items;
535  }
536  public function setKind( $kind) {
537    $this->kind = $kind;
538  }
539  public function getKind() {
540    return $this->kind;
541  }
542}
543
544class Google_Activity extends Google_Model {
545  protected $__accessType = 'Google_Acl';
546  protected $__accessDataType = '';
547  public $access;
548  protected $__actorType = 'Google_ActivityActor';
549  protected $__actorDataType = '';
550  public $actor;
551  public $address;
552  public $annotation;
553  public $crosspostSource;
554  public $etag;
555  public $geocode;
556  public $id;
557  public $kind;
558  protected $__locationType = 'Google_Place';
559  protected $__locationDataType = '';
560  public $location;
561  protected $__objectType = 'Google_ActivityObject';
562  protected $__objectDataType = '';
563  public $object;
564  public $placeId;
565  public $placeName;
566  protected $__providerType = 'Google_ActivityProvider';
567  protected $__providerDataType = '';
568  public $provider;
569  public $published;
570  public $radius;
571  public $title;
572  public $updated;
573  public $url;
574  public $verb;
575  public function setAccess(Google_Acl $access) {
576    $this->access = $access;
577  }
578  public function getAccess() {
579    return $this->access;
580  }
581  public function setActor(Google_ActivityActor $actor) {
582    $this->actor = $actor;
583  }
584  public function getActor() {
585    return $this->actor;
586  }
587  public function setAddress( $address) {
588    $this->address = $address;
589  }
590  public function getAddress() {
591    return $this->address;
592  }
593  public function setAnnotation( $annotation) {
594    $this->annotation = $annotation;
595  }
596  public function getAnnotation() {
597    return $this->annotation;
598  }
599  public function setCrosspostSource( $crosspostSource) {
600    $this->crosspostSource = $crosspostSource;
601  }
602  public function getCrosspostSource() {
603    return $this->crosspostSource;
604  }
605  public function setEtag( $etag) {
606    $this->etag = $etag;
607  }
608  public function getEtag() {
609    return $this->etag;
610  }
611  public function setGeocode( $geocode) {
612    $this->geocode = $geocode;
613  }
614  public function getGeocode() {
615    return $this->geocode;
616  }
617  public function setId( $id) {
618    $this->id = $id;
619  }
620  public function getId() {
621    return $this->id;
622  }
623  public function setKind( $kind) {
624    $this->kind = $kind;
625  }
626  public function getKind() {
627    return $this->kind;
628  }
629  public function setLocation(Google_Place $location) {
630    $this->location = $location;
631  }
632  public function getLocation() {
633    return $this->location;
634  }
635  public function setObject(Google_ActivityObject $object) {
636    $this->object = $object;
637  }
638  public function getObject() {
639    return $this->object;
640  }
641  public function setPlaceId( $placeId) {
642    $this->placeId = $placeId;
643  }
644  public function getPlaceId() {
645    return $this->placeId;
646  }
647  public function setPlaceName( $placeName) {
648    $this->placeName = $placeName;
649  }
650  public function getPlaceName() {
651    return $this->placeName;
652  }
653  public function setProvider(Google_ActivityProvider $provider) {
654    $this->provider = $provider;
655  }
656  public function getProvider() {
657    return $this->provider;
658  }
659  public function setPublished( $published) {
660    $this->published = $published;
661  }
662  public function getPublished() {
663    return $this->published;
664  }
665  public function setRadius( $radius) {
666    $this->radius = $radius;
667  }
668  public function getRadius() {
669    return $this->radius;
670  }
671  public function setTitle( $title) {
672    $this->title = $title;
673  }
674  public function getTitle() {
675    return $this->title;
676  }
677  public function setUpdated( $updated) {
678    $this->updated = $updated;
679  }
680  public function getUpdated() {
681    return $this->updated;
682  }
683  public function setUrl( $url) {
684    $this->url = $url;
685  }
686  public function getUrl() {
687    return $this->url;
688  }
689  public function setVerb( $verb) {
690    $this->verb = $verb;
691  }
692  public function getVerb() {
693    return $this->verb;
694  }
695}
696
697class Google_ActivityActor extends Google_Model {
698  public $displayName;
699  public $id;
700  protected $__imageType = 'Google_ActivityActorImage';
701  protected $__imageDataType = '';
702  public $image;
703  protected $__nameType = 'Google_ActivityActorName';
704  protected $__nameDataType = '';
705  public $name;
706  public $url;
707  public function setDisplayName( $displayName) {
708    $this->displayName = $displayName;
709  }
710  public function getDisplayName() {
711    return $this->displayName;
712  }
713  public function setId( $id) {
714    $this->id = $id;
715  }
716  public function getId() {
717    return $this->id;
718  }
719  public function setImage(Google_ActivityActorImage $image) {
720    $this->image = $image;
721  }
722  public function getImage() {
723    return $this->image;
724  }
725  public function setName(Google_ActivityActorName $name) {
726    $this->name = $name;
727  }
728  public function getName() {
729    return $this->name;
730  }
731  public function setUrl( $url) {
732    $this->url = $url;
733  }
734  public function getUrl() {
735    return $this->url;
736  }
737}
738
739class Google_ActivityActorImage extends Google_Model {
740  public $url;
741  public function setUrl( $url) {
742    $this->url = $url;
743  }
744  public function getUrl() {
745    return $this->url;
746  }
747}
748
749class Google_ActivityActorName extends Google_Model {
750  public $familyName;
751  public $givenName;
752  public function setFamilyName( $familyName) {
753    $this->familyName = $familyName;
754  }
755  public function getFamilyName() {
756    return $this->familyName;
757  }
758  public function setGivenName( $givenName) {
759    $this->givenName = $givenName;
760  }
761  public function getGivenName() {
762    return $this->givenName;
763  }
764}
765
766class Google_ActivityFeed extends Google_Model {
767  public $etag;
768  public $id;
769  protected $__itemsType = 'Google_Activity';
770  protected $__itemsDataType = 'array';
771  public $items;
772  public $kind;
773  public $nextLink;
774  public $nextPageToken;
775  public $selfLink;
776  public $title;
777  public $updated;
778  public function setEtag( $etag) {
779    $this->etag = $etag;
780  }
781  public function getEtag() {
782    return $this->etag;
783  }
784  public function setId( $id) {
785    $this->id = $id;
786  }
787  public function getId() {
788    return $this->id;
789  }
790  public function setItems(/* array(Google_Activity) */ $items) {
791    $this->assertIsArray($items, 'Google_Activity', __METHOD__);
792    $this->items = $items;
793  }
794  public function getItems() {
795    return $this->items;
796  }
797  public function setKind( $kind) {
798    $this->kind = $kind;
799  }
800  public function getKind() {
801    return $this->kind;
802  }
803  public function setNextLink( $nextLink) {
804    $this->nextLink = $nextLink;
805  }
806  public function getNextLink() {
807    return $this->nextLink;
808  }
809  public function setNextPageToken( $nextPageToken) {
810    $this->nextPageToken = $nextPageToken;
811  }
812  public function getNextPageToken() {
813    return $this->nextPageToken;
814  }
815  public function setSelfLink( $selfLink) {
816    $this->selfLink = $selfLink;
817  }
818  public function getSelfLink() {
819    return $this->selfLink;
820  }
821  public function setTitle( $title) {
822    $this->title = $title;
823  }
824  public function getTitle() {
825    return $this->title;
826  }
827  public function setUpdated( $updated) {
828    $this->updated = $updated;
829  }
830  public function getUpdated() {
831    return $this->updated;
832  }
833}
834
835class Google_ActivityObject extends Google_Model {
836  protected $__actorType = 'Google_ActivityObjectActor';
837  protected $__actorDataType = '';
838  public $actor;
839  protected $__attachmentsType = 'Google_ActivityObjectAttachments';
840  protected $__attachmentsDataType = 'array';
841  public $attachments;
842  public $content;
843  public $id;
844  public $objectType;
845  public $originalContent;
846  protected $__plusonersType = 'Google_ActivityObjectPlusoners';
847  protected $__plusonersDataType = '';
848  public $plusoners;
849  protected $__repliesType = 'Google_ActivityObjectReplies';
850  protected $__repliesDataType = '';
851  public $replies;
852  protected $__resharersType = 'Google_ActivityObjectResharers';
853  protected $__resharersDataType = '';
854  public $resharers;
855  protected $__statusForViewerType = 'Google_ActivityObjectStatusForViewer';
856  protected $__statusForViewerDataType = '';
857  public $statusForViewer;
858  public $url;
859  public function setActor(Google_ActivityObjectActor $actor) {
860    $this->actor = $actor;
861  }
862  public function getActor() {
863    return $this->actor;
864  }
865  public function setAttachments(/* array(Google_ActivityObjectAttachments) */ $attachments) {
866    $this->assertIsArray($attachments, 'Google_ActivityObjectAttachments', __METHOD__);
867    $this->attachments = $attachments;
868  }
869  public function getAttachments() {
870    return $this->attachments;
871  }
872  public function setContent( $content) {
873    $this->content = $content;
874  }
875  public function getContent() {
876    return $this->content;
877  }
878  public function setId( $id) {
879    $this->id = $id;
880  }
881  public function getId() {
882    return $this->id;
883  }
884  public function setObjectType( $objectType) {
885    $this->objectType = $objectType;
886  }
887  public function getObjectType() {
888    return $this->objectType;
889  }
890  public function setOriginalContent( $originalContent) {
891    $this->originalContent = $originalContent;
892  }
893  public function getOriginalContent() {
894    return $this->originalContent;
895  }
896  public function setPlusoners(Google_ActivityObjectPlusoners $plusoners) {
897    $this->plusoners = $plusoners;
898  }
899  public function getPlusoners() {
900    return $this->plusoners;
901  }
902  public function setReplies(Google_ActivityObjectReplies $replies) {
903    $this->replies = $replies;
904  }
905  public function getReplies() {
906    return $this->replies;
907  }
908  public function setResharers(Google_ActivityObjectResharers $resharers) {
909    $this->resharers = $resharers;
910  }
911  public function getResharers() {
912    return $this->resharers;
913  }
914  public function setStatusForViewer(Google_ActivityObjectStatusForViewer $statusForViewer) {
915    $this->statusForViewer = $statusForViewer;
916  }
917  public function getStatusForViewer() {
918    return $this->statusForViewer;
919  }
920  public function setUrl( $url) {
921    $this->url = $url;
922  }
923  public function getUrl() {
924    return $this->url;
925  }
926}
927
928class Google_ActivityObjectActor extends Google_Model {
929  public $displayName;
930  public $id;
931  protected $__imageType = 'Google_ActivityObjectActorImage';
932  protected $__imageDataType = '';
933  public $image;
934  public $url;
935  public function setDisplayName( $displayName) {
936    $this->displayName = $displayName;
937  }
938  public function getDisplayName() {
939    return $this->displayName;
940  }
941  public function setId( $id) {
942    $this->id = $id;
943  }
944  public function getId() {
945    return $this->id;
946  }
947  public function setImage(Google_ActivityObjectActorImage $image) {
948    $this->image = $image;
949  }
950  public function getImage() {
951    return $this->image;
952  }
953  public function setUrl( $url) {
954    $this->url = $url;
955  }
956  public function getUrl() {
957    return $this->url;
958  }
959}
960
961class Google_ActivityObjectActorImage extends Google_Model {
962  public $url;
963  public function setUrl( $url) {
964    $this->url = $url;
965  }
966  public function getUrl() {
967    return $this->url;
968  }
969}
970
971class Google_ActivityObjectAttachments extends Google_Model {
972  public $content;
973  public $displayName;
974  protected $__embedType = 'Google_ActivityObjectAttachmentsEmbed';
975  protected $__embedDataType = '';
976  public $embed;
977  protected $__fullImageType = 'Google_ActivityObjectAttachmentsFullImage';
978  protected $__fullImageDataType = '';
979  public $fullImage;
980  public $id;
981  protected $__imageType = 'Google_ActivityObjectAttachmentsImage';
982  protected $__imageDataType = '';
983  public $image;
984  public $objectType;
985  protected $__previewThumbnailsType = 'Google_ActivityObjectAttachmentsPreviewThumbnails';
986  protected $__previewThumbnailsDataType = 'array';
987  public $previewThumbnails;
988  protected $__thumbnailsType = 'Google_ActivityObjectAttachmentsThumbnails';
989  protected $__thumbnailsDataType = 'array';
990  public $thumbnails;
991  public $url;
992  public function setContent( $content) {
993    $this->content = $content;
994  }
995  public function getContent() {
996    return $this->content;
997  }
998  public function setDisplayName( $displayName) {
999    $this->displayName = $displayName;
1000  }
1001  public function getDisplayName() {
1002    return $this->displayName;
1003  }
1004  public function setEmbed(Google_ActivityObjectAttachmentsEmbed $embed) {
1005    $this->embed = $embed;
1006  }
1007  public function getEmbed() {
1008    return $this->embed;
1009  }
1010  public function setFullImage(Google_ActivityObjectAttachmentsFullImage $fullImage) {
1011    $this->fullImage = $fullImage;
1012  }
1013  public function getFullImage() {
1014    return $this->fullImage;
1015  }
1016  public function setId( $id) {
1017    $this->id = $id;
1018  }
1019  public function getId() {
1020    return $this->id;
1021  }
1022  public function setImage(Google_ActivityObjectAttachmentsImage $image) {
1023    $this->image = $image;
1024  }
1025  public function getImage() {
1026    return $this->image;
1027  }
1028  public function setObjectType( $objectType) {
1029    $this->objectType = $objectType;
1030  }
1031  public function getObjectType() {
1032    return $this->objectType;
1033  }
1034  public function setPreviewThumbnails(/* array(Google_ActivityObjectAttachmentsPreviewThumbnails) */ $previewThumbnails) {
1035    $this->assertIsArray($previewThumbnails, 'Google_ActivityObjectAttachmentsPreviewThumbnails', __METHOD__);
1036    $this->previewThumbnails = $previewThumbnails;
1037  }
1038  public function getPreviewThumbnails() {
1039    return $this->previewThumbnails;
1040  }
1041  public function setThumbnails(/* array(Google_ActivityObjectAttachmentsThumbnails) */ $thumbnails) {
1042    $this->assertIsArray($thumbnails, 'Google_ActivityObjectAttachmentsThumbnails', __METHOD__);
1043    $this->thumbnails = $thumbnails;
1044  }
1045  public function getThumbnails() {
1046    return $this->thumbnails;
1047  }
1048  public function setUrl( $url) {
1049    $this->url = $url;
1050  }
1051  public function getUrl() {
1052    return $this->url;
1053  }
1054}
1055
1056class Google_ActivityObjectAttachmentsEmbed extends Google_Model {
1057  public $type;
1058  public $url;
1059  public function setType( $type) {
1060    $this->type = $type;
1061  }
1062  public function getType() {
1063    return $this->type;
1064  }
1065  public function setUrl( $url) {
1066    $this->url = $url;
1067  }
1068  public function getUrl() {
1069    return $this->url;
1070  }
1071}
1072
1073class Google_ActivityObjectAttachmentsFullImage extends Google_Model {
1074  public $height;
1075  public $type;
1076  public $url;
1077  public $width;
1078  public function setHeight( $height) {
1079    $this->height = $height;
1080  }
1081  public function getHeight() {
1082    return $this->height;
1083  }
1084  public function setType( $type) {
1085    $this->type = $type;
1086  }
1087  public function getType() {
1088    return $this->type;
1089  }
1090  public function setUrl( $url) {
1091    $this->url = $url;
1092  }
1093  public function getUrl() {
1094    return $this->url;
1095  }
1096  public function setWidth( $width) {
1097    $this->width = $width;
1098  }
1099  public function getWidth() {
1100    return $this->width;
1101  }
1102}
1103
1104class Google_ActivityObjectAttachmentsImage extends Google_Model {
1105  public $height;
1106  public $type;
1107  public $url;
1108  public $width;
1109  public function setHeight( $height) {
1110    $this->height = $height;
1111  }
1112  public function getHeight() {
1113    return $this->height;
1114  }
1115  public function setType( $type) {
1116    $this->type = $type;
1117  }
1118  public function getType() {
1119    return $this->type;
1120  }
1121  public function setUrl( $url) {
1122    $this->url = $url;
1123  }
1124  public function getUrl() {
1125    return $this->url;
1126  }
1127  public function setWidth( $width) {
1128    $this->width = $width;
1129  }
1130  public function getWidth() {
1131    return $this->width;
1132  }
1133}
1134
1135class Google_ActivityObjectAttachmentsPreviewThumbnails extends Google_Model {
1136  public $url;
1137  public function setUrl( $url) {
1138    $this->url = $url;
1139  }
1140  public function getUrl() {
1141    return $this->url;
1142  }
1143}
1144
1145class Google_ActivityObjectAttachmentsThumbnails extends Google_Model {
1146  public $description;
1147  protected $__imageType = 'Google_ActivityObjectAttachmentsThumbnailsImage';
1148  protected $__imageDataType = '';
1149  public $image;
1150  public $url;
1151  public function setDescription( $description) {
1152    $this->description = $description;
1153  }
1154  public function getDescription() {
1155    return $this->description;
1156  }
1157  public function setImage(Google_ActivityObjectAttachmentsThumbnailsImage $image) {
1158    $this->image = $image;
1159  }
1160  public function getImage() {
1161    return $this->image;
1162  }
1163  public function setUrl( $url) {
1164    $this->url = $url;
1165  }
1166  public function getUrl() {
1167    return $this->url;
1168  }
1169}
1170
1171class Google_ActivityObjectAttachmentsThumbnailsImage extends Google_Model {
1172  public $height;
1173  public $type;
1174  public $url;
1175  public $width;
1176  public function setHeight( $height) {
1177    $this->height = $height;
1178  }
1179  public function getHeight() {
1180    return $this->height;
1181  }
1182  public function setType( $type) {
1183    $this->type = $type;
1184  }
1185  public function getType() {
1186    return $this->type;
1187  }
1188  public function setUrl( $url) {
1189    $this->url = $url;
1190  }
1191  public function getUrl() {
1192    return $this->url;
1193  }
1194  public function setWidth( $width) {
1195    $this->width = $width;
1196  }
1197  public function getWidth() {
1198    return $this->width;
1199  }
1200}
1201
1202class Google_ActivityObjectPlusoners extends Google_Model {
1203  public $selfLink;
1204  public $totalItems;
1205  public function setSelfLink( $selfLink) {
1206    $this->selfLink = $selfLink;
1207  }
1208  public function getSelfLink() {
1209    return $this->selfLink;
1210  }
1211  public function setTotalItems( $totalItems) {
1212    $this->totalItems = $totalItems;
1213  }
1214  public function getTotalItems() {
1215    return $this->totalItems;
1216  }
1217}
1218
1219class Google_ActivityObjectReplies extends Google_Model {
1220  public $selfLink;
1221  public $totalItems;
1222  public function setSelfLink( $selfLink) {
1223    $this->selfLink = $selfLink;
1224  }
1225  public function getSelfLink() {
1226    return $this->selfLink;
1227  }
1228  public function setTotalItems( $totalItems) {
1229    $this->totalItems = $totalItems;
1230  }
1231  public function getTotalItems() {
1232    return $this->totalItems;
1233  }
1234}
1235
1236class Google_ActivityObjectResharers extends Google_Model {
1237  public $selfLink;
1238  public $totalItems;
1239  public function setSelfLink( $selfLink) {
1240    $this->selfLink = $selfLink;
1241  }
1242  public function getSelfLink() {
1243    return $this->selfLink;
1244  }
1245  public function setTotalItems( $totalItems) {
1246    $this->totalItems = $totalItems;
1247  }
1248  public function getTotalItems() {
1249    return $this->totalItems;
1250  }
1251}
1252
1253class Google_ActivityObjectStatusForViewer extends Google_Model {
1254  public $canComment;
1255  public $canPlusone;
1256  public $isPlusOned;
1257  public $resharingDisabled;
1258  public function setCanComment( $canComment) {
1259    $this->canComment = $canComment;
1260  }
1261  public function getCanComment() {
1262    return $this->canComment;
1263  }
1264  public function setCanPlusone( $canPlusone) {
1265    $this->canPlusone = $canPlusone;
1266  }
1267  public function getCanPlusone() {
1268    return $this->canPlusone;
1269  }
1270  public function setIsPlusOned( $isPlusOned) {
1271    $this->isPlusOned = $isPlusOned;
1272  }
1273  public function getIsPlusOned() {
1274    return $this->isPlusOned;
1275  }
1276  public function setResharingDisabled( $resharingDisabled) {
1277    $this->resharingDisabled = $resharingDisabled;
1278  }
1279  public function getResharingDisabled() {
1280    return $this->resharingDisabled;
1281  }
1282}
1283
1284class Google_ActivityProvider extends Google_Model {
1285  public $title;
1286  public function setTitle( $title) {
1287    $this->title = $title;
1288  }
1289  public function getTitle() {
1290    return $this->title;
1291  }
1292}
1293
1294class Google_Audience extends Google_Model {
1295  public $etag;
1296  protected $__itemType = 'Google_PlusAclentryResource';
1297  protected $__itemDataType = '';
1298  public $item;
1299  public $kind;
1300  public $visibility;
1301  public function setEtag( $etag) {
1302    $this->etag = $etag;
1303  }
1304  public function getEtag() {
1305    return $this->etag;
1306  }
1307  public function setItem(Google_PlusAclentryResource $item) {
1308    $this->item = $item;
1309  }
1310  public function getItem() {
1311    return $this->item;
1312  }
1313  public function setKind( $kind) {
1314    $this->kind = $kind;
1315  }
1316  public function getKind() {
1317    return $this->kind;
1318  }
1319  public function setVisibility( $visibility) {
1320    $this->visibility = $visibility;
1321  }
1322  public function getVisibility() {
1323    return $this->visibility;
1324  }
1325}
1326
1327class Google_AudiencesFeed extends Google_Model {
1328  public $etag;
1329  protected $__itemsType = 'Google_Audience';
1330  protected $__itemsDataType = 'array';
1331  public $items;
1332  public $kind;
1333  public $nextPageToken;
1334  public $totalItems;
1335  public function setEtag( $etag) {
1336    $this->etag = $etag;
1337  }
1338  public function getEtag() {
1339    return $this->etag;
1340  }
1341  public function setItems(/* array(Google_Audience) */ $items) {
1342    $this->assertIsArray($items, 'Google_Audience', __METHOD__);
1343    $this->items = $items;
1344  }
1345  public function getItems() {
1346    return $this->items;
1347  }
1348  public function setKind( $kind) {
1349    $this->kind = $kind;
1350  }
1351  public function getKind() {
1352    return $this->kind;
1353  }
1354  public function setNextPageToken( $nextPageToken) {
1355    $this->nextPageToken = $nextPageToken;
1356  }
1357  public function getNextPageToken() {
1358    return $this->nextPageToken;
1359  }
1360  public function setTotalItems( $totalItems) {
1361    $this->totalItems = $totalItems;
1362  }
1363  public function getTotalItems() {
1364    return $this->totalItems;
1365  }
1366}
1367
1368class Google_Circle extends Google_Model {
1369  public $description;
1370  public $displayName;
1371  public $etag;
1372  public $id;
1373  public $kind;
1374  protected $__peopleType = 'Google_CirclePeople';
1375  protected $__peopleDataType = '';
1376  public $people;
1377  public $selfLink;
1378  public function setDescription( $description) {
1379    $this->description = $description;
1380  }
1381  public function getDescription() {
1382    return $this->description;
1383  }
1384  public function setDisplayName( $displayName) {
1385    $this->displayName = $displayName;
1386  }
1387  public function getDisplayName() {
1388    return $this->displayName;
1389  }
1390  public function setEtag( $etag) {
1391    $this->etag = $etag;
1392  }
1393  public function getEtag() {
1394    return $this->etag;
1395  }
1396  public function setId( $id) {
1397    $this->id = $id;
1398  }
1399  public function getId() {
1400    return $this->id;
1401  }
1402  public function setKind( $kind) {
1403    $this->kind = $kind;
1404  }
1405  public function getKind() {
1406    return $this->kind;
1407  }
1408  public function setPeople(Google_CirclePeople $people) {
1409    $this->people = $people;
1410  }
1411  public function getPeople() {
1412    return $this->people;
1413  }
1414  public function setSelfLink( $selfLink) {
1415    $this->selfLink = $selfLink;
1416  }
1417  public function getSelfLink() {
1418    return $this->selfLink;
1419  }
1420}
1421
1422class Google_CircleFeed extends Google_Model {
1423  public $etag;
1424  protected $__itemsType = 'Google_Circle';
1425  protected $__itemsDataType = 'array';
1426  public $items;
1427  public $kind;
1428  public $nextLink;
1429  public $nextPageToken;
1430  public $selfLink;
1431  public $title;
1432  public $totalItems;
1433  public function setEtag( $etag) {
1434    $this->etag = $etag;
1435  }
1436  public function getEtag() {
1437    return $this->etag;
1438  }
1439  public function setItems(/* array(Google_Circle) */ $items) {
1440    $this->assertIsArray($items, 'Google_Circle', __METHOD__);
1441    $this->items = $items;
1442  }
1443  public function getItems() {
1444    return $this->items;
1445  }
1446  public function setKind( $kind) {
1447    $this->kind = $kind;
1448  }
1449  public function getKind() {
1450    return $this->kind;
1451  }
1452  public function setNextLink( $nextLink) {
1453    $this->nextLink = $nextLink;
1454  }
1455  public function getNextLink() {
1456    return $this->nextLink;
1457  }
1458  public function setNextPageToken( $nextPageToken) {
1459    $this->nextPageToken = $nextPageToken;
1460  }
1461  public function getNextPageToken() {
1462    return $this->nextPageToken;
1463  }
1464  public function setSelfLink( $selfLink) {
1465    $this->selfLink = $selfLink;
1466  }
1467  public function getSelfLink() {
1468    return $this->selfLink;
1469  }
1470  public function setTitle( $title) {
1471    $this->title = $title;
1472  }
1473  public function getTitle() {
1474    return $this->title;
1475  }
1476  public function setTotalItems( $totalItems) {
1477    $this->totalItems = $totalItems;
1478  }
1479  public function getTotalItems() {
1480    return $this->totalItems;
1481  }
1482}
1483
1484class Google_CirclePeople extends Google_Model {
1485  public $totalItems;
1486  public function setTotalItems( $totalItems) {
1487    $this->totalItems = $totalItems;
1488  }
1489  public function getTotalItems() {
1490    return $this->totalItems;
1491  }
1492}
1493
1494class Google_Comment extends Google_Model {
1495  protected $__actorType = 'Google_CommentActor';
1496  protected $__actorDataType = '';
1497  public $actor;
1498  public $etag;
1499  public $id;
1500  protected $__inReplyToType = 'Google_CommentInReplyTo';
1501  protected $__inReplyToDataType = 'array';
1502  public $inReplyTo;
1503  public $kind;
1504  protected $__objectType = 'Google_CommentObject';
1505  protected $__objectDataType = '';
1506  public $object;
1507  protected $__plusonersType = 'Google_CommentPlusoners';
1508  protected $__plusonersDataType = '';
1509  public $plusoners;
1510  public $published;
1511  public $selfLink;
1512  public $updated;
1513  public $verb;
1514  public function setActor(Google_CommentActor $actor) {
1515    $this->actor = $actor;
1516  }
1517  public function getActor() {
1518    return $this->actor;
1519  }
1520  public function setEtag( $etag) {
1521    $this->etag = $etag;
1522  }
1523  public function getEtag() {
1524    return $this->etag;
1525  }
1526  public function setId( $id) {
1527    $this->id = $id;
1528  }
1529  public function getId() {
1530    return $this->id;
1531  }
1532  public function setInReplyTo(/* array(Google_CommentInReplyTo) */ $inReplyTo) {
1533    $this->assertIsArray($inReplyTo, 'Google_CommentInReplyTo', __METHOD__);
1534    $this->inReplyTo = $inReplyTo;
1535  }
1536  public function getInReplyTo() {
1537    return $this->inReplyTo;
1538  }
1539  public function setKind( $kind) {
1540    $this->kind = $kind;
1541  }
1542  public function getKind() {
1543    return $this->kind;
1544  }
1545  public function setObject(Google_CommentObject $object) {
1546    $this->object = $object;
1547  }
1548  public function getObject() {
1549    return $this->object;
1550  }
1551  public function setPlusoners(Google_CommentPlusoners $plusoners) {
1552    $this->plusoners = $plusoners;
1553  }
1554  public function getPlusoners() {
1555    return $this->plusoners;
1556  }
1557  public function setPublished( $published) {
1558    $this->published = $published;
1559  }
1560  public function getPublished() {
1561    return $this->published;
1562  }
1563  public function setSelfLink( $selfLink) {
1564    $this->selfLink = $selfLink;
1565  }
1566  public function getSelfLink() {
1567    return $this->selfLink;
1568  }
1569  public function setUpdated( $updated) {
1570    $this->updated = $updated;
1571  }
1572  public function getUpdated() {
1573    return $this->updated;
1574  }
1575  public function setVerb( $verb) {
1576    $this->verb = $verb;
1577  }
1578  public function getVerb() {
1579    return $this->verb;
1580  }
1581}
1582
1583class Google_CommentActor extends Google_Model {
1584  public $displayName;
1585  public $id;
1586  protected $__imageType = 'Google_CommentActorImage';
1587  protected $__imageDataType = '';
1588  public $image;
1589  public $url;
1590  public function setDisplayName( $displayName) {
1591    $this->displayName = $displayName;
1592  }
1593  public function getDisplayName() {
1594    return $this->displayName;
1595  }
1596  public function setId( $id) {
1597    $this->id = $id;
1598  }
1599  public function getId() {
1600    return $this->id;
1601  }
1602  public function setImage(Google_CommentActorImage $image) {
1603    $this->image = $image;
1604  }
1605  public function getImage() {
1606    return $this->image;
1607  }
1608  public function setUrl( $url) {
1609    $this->url = $url;
1610  }
1611  public function getUrl() {
1612    return $this->url;
1613  }
1614}
1615
1616class Google_CommentActorImage extends Google_Model {
1617  public $url;
1618  public function setUrl( $url) {
1619    $this->url = $url;
1620  }
1621  public function getUrl() {
1622    return $this->url;
1623  }
1624}
1625
1626class Google_CommentFeed extends Google_Model {
1627  public $etag;
1628  public $id;
1629  protected $__itemsType = 'Google_Comment';
1630  protected $__itemsDataType = 'array';
1631  public $items;
1632  public $kind;
1633  public $nextLink;
1634  public $nextPageToken;
1635  public $title;
1636  public $updated;
1637  public function setEtag( $etag) {
1638    $this->etag = $etag;
1639  }
1640  public function getEtag() {
1641    return $this->etag;
1642  }
1643  public function setId( $id) {
1644    $this->id = $id;
1645  }
1646  public function getId() {
1647    return $this->id;
1648  }
1649  public function setItems(/* array(Google_Comment) */ $items) {
1650    $this->assertIsArray($items, 'Google_Comment', __METHOD__);
1651    $this->items = $items;
1652  }
1653  public function getItems() {
1654    return $this->items;
1655  }
1656  public function setKind( $kind) {
1657    $this->kind = $kind;
1658  }
1659  public function getKind() {
1660    return $this->kind;
1661  }
1662  public function setNextLink( $nextLink) {
1663    $this->nextLink = $nextLink;
1664  }
1665  public function getNextLink() {
1666    return $this->nextLink;
1667  }
1668  public function setNextPageToken( $nextPageToken) {
1669    $this->nextPageToken = $nextPageToken;
1670  }
1671  public function getNextPageToken() {
1672    return $this->nextPageToken;
1673  }
1674  public function setTitle( $title) {
1675    $this->title = $title;
1676  }
1677  public function getTitle() {
1678    return $this->title;
1679  }
1680  public function setUpdated( $updated) {
1681    $this->updated = $updated;
1682  }
1683  public function getUpdated() {
1684    return $this->updated;
1685  }
1686}
1687
1688class Google_CommentInReplyTo extends Google_Model {
1689  public $id;
1690  public $url;
1691  public function setId( $id) {
1692    $this->id = $id;
1693  }
1694  public function getId() {
1695    return $this->id;
1696  }
1697  public function setUrl( $url) {
1698    $this->url = $url;
1699  }
1700  public function getUrl() {
1701    return $this->url;
1702  }
1703}
1704
1705class Google_CommentObject extends Google_Model {
1706  public $content;
1707  public $objectType;
1708  public $originalContent;
1709  public function setContent( $content) {
1710    $this->content = $content;
1711  }
1712  public function getContent() {
1713    return $this->content;
1714  }
1715  public function setObjectType( $objectType) {
1716    $this->objectType = $objectType;
1717  }
1718  public function getObjectType() {
1719    return $this->objectType;
1720  }
1721  public function setOriginalContent( $originalContent) {
1722    $this->originalContent = $originalContent;
1723  }
1724  public function getOriginalContent() {
1725    return $this->originalContent;
1726  }
1727}
1728
1729class Google_CommentPlusoners extends Google_Model {
1730  public $totalItems;
1731  public function setTotalItems( $totalItems) {
1732    $this->totalItems = $totalItems;
1733  }
1734  public function getTotalItems() {
1735    return $this->totalItems;
1736  }
1737}
1738
1739class Google_Media extends Google_Model {
1740  protected $__authorType = 'Google_MediaAuthor';
1741  protected $__authorDataType = '';
1742  public $author;
1743  public $displayName;
1744  public $etag;
1745  protected $__exifType = 'Google_MediaExif';
1746  protected $__exifDataType = '';
1747  public $exif;
1748  public $height;
1749  public $id;
1750  public $kind;
1751  public $mediaUrl;
1752  public $published;
1753  public $sizeBytes;
1754  protected $__streamsType = 'Google_Videostream';
1755  protected $__streamsDataType = 'array';
1756  public $streams;
1757  public $summary;
1758  public $updated;
1759  public $url;
1760  public $videoDuration;
1761  public $videoStatus;
1762  public $width;
1763  public function setAuthor(Google_MediaAuthor $author) {
1764    $this->author = $author;
1765  }
1766  public function getAuthor() {
1767    return $this->author;
1768  }
1769  public function setDisplayName( $displayName) {
1770    $this->displayName = $displayName;
1771  }
1772  public function getDisplayName() {
1773    return $this->displayName;
1774  }
1775  public function setEtag( $etag) {
1776    $this->etag = $etag;
1777  }
1778  public function getEtag() {
1779    return $this->etag;
1780  }
1781  public function setExif(Google_MediaExif $exif) {
1782    $this->exif = $exif;
1783  }
1784  public function getExif() {
1785    return $this->exif;
1786  }
1787  public function setHeight( $height) {
1788    $this->height = $height;
1789  }
1790  public function getHeight() {
1791    return $this->height;
1792  }
1793  public function setId( $id) {
1794    $this->id = $id;
1795  }
1796  public function getId() {
1797    return $this->id;
1798  }
1799  public function setKind( $kind) {
1800    $this->kind = $kind;
1801  }
1802  public function getKind() {
1803    return $this->kind;
1804  }
1805  public function setMediaUrl( $mediaUrl) {
1806    $this->mediaUrl = $mediaUrl;
1807  }
1808  public function getMediaUrl() {
1809    return $this->mediaUrl;
1810  }
1811  public function setPublished( $published) {
1812    $this->published = $published;
1813  }
1814  public function getPublished() {
1815    return $this->published;
1816  }
1817  public function setSizeBytes( $sizeBytes) {
1818    $this->sizeBytes = $sizeBytes;
1819  }
1820  public function getSizeBytes() {
1821    return $this->sizeBytes;
1822  }
1823  public function setStreams(/* array(Google_Videostream) */ $streams) {
1824    $this->assertIsArray($streams, 'Google_Videostream', __METHOD__);
1825    $this->streams = $streams;
1826  }
1827  public function getStreams() {
1828    return $this->streams;
1829  }
1830  public function setSummary( $summary) {
1831    $this->summary = $summary;
1832  }
1833  public function getSummary() {
1834    return $this->summary;
1835  }
1836  public function setUpdated( $updated) {
1837    $this->updated = $updated;
1838  }
1839  public function getUpdated() {
1840    return $this->updated;
1841  }
1842  public function setUrl( $url) {
1843    $this->url = $url;
1844  }
1845  public function getUrl() {
1846    return $this->url;
1847  }
1848  public function setVideoDuration( $videoDuration) {
1849    $this->videoDuration = $videoDuration;
1850  }
1851  public function getVideoDuration() {
1852    return $this->videoDuration;
1853  }
1854  public function setVideoStatus( $videoStatus) {
1855    $this->videoStatus = $videoStatus;
1856  }
1857  public function getVideoStatus() {
1858    return $this->videoStatus;
1859  }
1860  public function setWidth( $width) {
1861    $this->width = $width;
1862  }
1863  public function getWidth() {
1864    return $this->width;
1865  }
1866}
1867
1868class Google_MediaAuthor extends Google_Model {
1869  public $displayName;
1870  public $id;
1871  protected $__imageType = 'Google_MediaAuthorImage';
1872  protected $__imageDataType = '';
1873  public $image;
1874  public $url;
1875  public function setDisplayName( $displayName) {
1876    $this->displayName = $displayName;
1877  }
1878  public function getDisplayName() {
1879    return $this->displayName;
1880  }
1881  public function setId( $id) {
1882    $this->id = $id;
1883  }
1884  public function getId() {
1885    return $this->id;
1886  }
1887  public function setImage(Google_MediaAuthorImage $image) {
1888    $this->image = $image;
1889  }
1890  public function getImage() {
1891    return $this->image;
1892  }
1893  public function setUrl( $url) {
1894    $this->url = $url;
1895  }
1896  public function getUrl() {
1897    return $this->url;
1898  }
1899}
1900
1901class Google_MediaAuthorImage extends Google_Model {
1902  public $url;
1903  public function setUrl( $url) {
1904    $this->url = $url;
1905  }
1906  public function getUrl() {
1907    return $this->url;
1908  }
1909}
1910
1911class Google_MediaExif extends Google_Model {
1912  public $time;
1913  public function setTime( $time) {
1914    $this->time = $time;
1915  }
1916  public function getTime() {
1917    return $this->time;
1918  }
1919}
1920
1921class Google_PeopleFeed extends Google_Model {
1922  public $etag;
1923  protected $__itemsType = 'Google_Person';
1924  protected $__itemsDataType = 'array';
1925  public $items;
1926  public $kind;
1927  public $nextPageToken;
1928  public $selfLink;
1929  public $title;
1930  public $totalItems;
1931  public function setEtag( $etag) {
1932    $this->etag = $etag;
1933  }
1934  public function getEtag() {
1935    return $this->etag;
1936  }
1937  public function setItems(/* array(Google_Person) */ $items) {
1938    $this->assertIsArray($items, 'Google_Person', __METHOD__);
1939    $this->items = $items;
1940  }
1941  public function getItems() {
1942    return $this->items;
1943  }
1944  public function setKind( $kind) {
1945    $this->kind = $kind;
1946  }
1947  public function getKind() {
1948    return $this->kind;
1949  }
1950  public function setNextPageToken( $nextPageToken) {
1951    $this->nextPageToken = $nextPageToken;
1952  }
1953  public function getNextPageToken() {
1954    return $this->nextPageToken;
1955  }
1956  public function setSelfLink( $selfLink) {
1957    $this->selfLink = $selfLink;
1958  }
1959  public function getSelfLink() {
1960    return $this->selfLink;
1961  }
1962  public function setTitle( $title) {
1963    $this->title = $title;
1964  }
1965  public function getTitle() {
1966    return $this->title;
1967  }
1968  public function setTotalItems( $totalItems) {
1969    $this->totalItems = $totalItems;
1970  }
1971  public function getTotalItems() {
1972    return $this->totalItems;
1973  }
1974}
1975
1976class Google_Person extends Google_Model {
1977  public $aboutMe;
1978  public $birthday;
1979  public $braggingRights;
1980  public $circledByCount;
1981  protected $__coverType = 'Google_PersonCover';
1982  protected $__coverDataType = '';
1983  public $cover;
1984  public $currentLocation;
1985  public $displayName;
1986  public $etag;
1987  public $gender;
1988  public $id;
1989  protected $__imageType = 'Google_PersonImage';
1990  protected $__imageDataType = '';
1991  public $image;
1992  public $isPlusUser;
1993  public $kind;
1994  protected $__nameType = 'Google_PersonName';
1995  protected $__nameDataType = '';
1996  public $name;
1997  public $nickname;
1998  public $objectType;
1999  protected $__organizationsType = 'Google_PersonOrganizations';
2000  protected $__organizationsDataType = 'array';
2001  public $organizations;
2002  protected $__placesLivedType = 'Google_PersonPlacesLived';
2003  protected $__placesLivedDataType = 'array';
2004  public $placesLived;
2005  public $plusOneCount;
2006  public $relationshipStatus;
2007  public $tagline;
2008  public $url;
2009  protected $__urlsType = 'Google_PersonUrls';
2010  protected $__urlsDataType = 'array';
2011  public $urls;
2012  public $verified;
2013  public function setAboutMe( $aboutMe) {
2014    $this->aboutMe = $aboutMe;
2015  }
2016  public function getAboutMe() {
2017    return $this->aboutMe;
2018  }
2019  public function setBirthday( $birthday) {
2020    $this->birthday = $birthday;
2021  }
2022  public function getBirthday() {
2023    return $this->birthday;
2024  }
2025  public function setBraggingRights( $braggingRights) {
2026    $this->braggingRights = $braggingRights;
2027  }
2028  public function getBraggingRights() {
2029    return $this->braggingRights;
2030  }
2031  public function setCircledByCount( $circledByCount) {
2032    $this->circledByCount = $circledByCount;
2033  }
2034  public function getCircledByCount() {
2035    return $this->circledByCount;
2036  }
2037  public function setCover(Google_PersonCover $cover) {
2038    $this->cover = $cover;
2039  }
2040  public function getCover() {
2041    return $this->cover;
2042  }
2043  public function setCurrentLocation( $currentLocation) {
2044    $this->currentLocation = $currentLocation;
2045  }
2046  public function getCurrentLocation() {
2047    return $this->currentLocation;
2048  }
2049  public function setDisplayName( $displayName) {
2050    $this->displayName = $displayName;
2051  }
2052  public function getDisplayName() {
2053    return $this->displayName;
2054  }
2055  public function setEtag( $etag) {
2056    $this->etag = $etag;
2057  }
2058  public function getEtag() {
2059    return $this->etag;
2060  }
2061  public function setGender( $gender) {
2062    $this->gender = $gender;
2063  }
2064  public function getGender() {
2065    return $this->gender;
2066  }
2067  public function setId( $id) {
2068    $this->id = $id;
2069  }
2070  public function getId() {
2071    return $this->id;
2072  }
2073  public function setImage(Google_PersonImage $image) {
2074    $this->image = $image;
2075  }
2076  public function getImage() {
2077    return $this->image;
2078  }
2079  public function setIsPlusUser( $isPlusUser) {
2080    $this->isPlusUser = $isPlusUser;
2081  }
2082  public function getIsPlusUser() {
2083    return $this->isPlusUser;
2084  }
2085  public function setKind( $kind) {
2086    $this->kind = $kind;
2087  }
2088  public function getKind() {
2089    return $this->kind;
2090  }
2091  public function setName(Google_PersonName $name) {
2092    $this->name = $name;
2093  }
2094  public function getName() {
2095    return $this->name;
2096  }
2097  public function setNickname( $nickname) {
2098    $this->nickname = $nickname;
2099  }
2100  public function getNickname() {
2101    return $this->nickname;
2102  }
2103  public function setObjectType( $objectType) {
2104    $this->objectType = $objectType;
2105  }
2106  public function getObjectType() {
2107    return $this->objectType;
2108  }
2109  public function setOrganizations(/* array(Google_PersonOrganizations) */ $organizations) {
2110    $this->assertIsArray($organizations, 'Google_PersonOrganizations', __METHOD__);
2111    $this->organizations = $organizations;
2112  }
2113  public function getOrganizations() {
2114    return $this->organizations;
2115  }
2116  public function setPlacesLived(/* array(Google_PersonPlacesLived) */ $placesLived) {
2117    $this->assertIsArray($placesLived, 'Google_PersonPlacesLived', __METHOD__);
2118    $this->placesLived = $placesLived;
2119  }
2120  public function getPlacesLived() {
2121    return $this->placesLived;
2122  }
2123  public function setPlusOneCount( $plusOneCount) {
2124    $this->plusOneCount = $plusOneCount;
2125  }
2126  public function getPlusOneCount() {
2127    return $this->plusOneCount;
2128  }
2129  public function setRelationshipStatus( $relationshipStatus) {
2130    $this->relationshipStatus = $relationshipStatus;
2131  }
2132  public function getRelationshipStatus() {
2133    return $this->relationshipStatus;
2134  }
2135  public function setTagline( $tagline) {
2136    $this->tagline = $tagline;
2137  }
2138  public function getTagline() {
2139    return $this->tagline;
2140  }
2141  public function setUrl( $url) {
2142    $this->url = $url;
2143  }
2144  public function getUrl() {
2145    return $this->url;
2146  }
2147  public function setUrls(/* array(Google_PersonUrls) */ $urls) {
2148    $this->assertIsArray($urls, 'Google_PersonUrls', __METHOD__);
2149    $this->urls = $urls;
2150  }
2151  public function getUrls() {
2152    return $this->urls;
2153  }
2154  public function setVerified( $verified) {
2155    $this->verified = $verified;
2156  }
2157  public function getVerified() {
2158    return $this->verified;
2159  }
2160}
2161
2162class Google_PersonCover extends Google_Model {
2163  protected $__coverInfoType = 'Google_PersonCoverCoverInfo';
2164  protected $__coverInfoDataType = '';
2165  public $coverInfo;
2166  protected $__coverPhotoType = 'Google_PersonCoverCoverPhoto';
2167  protected $__coverPhotoDataType = '';
2168  public $coverPhoto;
2169  public $layout;
2170  public function setCoverInfo(Google_PersonCoverCoverInfo $coverInfo) {
2171    $this->coverInfo = $coverInfo;
2172  }
2173  public function getCoverInfo() {
2174    return $this->coverInfo;
2175  }
2176  public function setCoverPhoto(Google_PersonCoverCoverPhoto $coverPhoto) {
2177    $this->coverPhoto = $coverPhoto;
2178  }
2179  public function getCoverPhoto() {
2180    return $this->coverPhoto;
2181  }
2182  public function setLayout( $layout) {
2183    $this->layout = $layout;
2184  }
2185  public function getLayout() {
2186    return $this->layout;
2187  }
2188}
2189
2190class Google_PersonCoverCoverInfo extends Google_Model {
2191  public $leftImageOffset;
2192  public $topImageOffset;
2193  public function setLeftImageOffset( $leftImageOffset) {
2194    $this->leftImageOffset = $leftImageOffset;
2195  }
2196  public function getLeftImageOffset() {
2197    return $this->leftImageOffset;
2198  }
2199  public function setTopImageOffset( $topImageOffset) {
2200    $this->topImageOffset = $topImageOffset;
2201  }
2202  public function getTopImageOffset() {
2203    return $this->topImageOffset;
2204  }
2205}
2206
2207class Google_PersonCoverCoverPhoto extends Google_Model {
2208  public $height;
2209  public $url;
2210  public $width;
2211  public function setHeight( $height) {
2212    $this->height = $height;
2213  }
2214  public function getHeight() {
2215    return $this->height;
2216  }
2217  public function setUrl( $url) {
2218    $this->url = $url;
2219  }
2220  public function getUrl() {
2221    return $this->url;
2222  }
2223  public function setWidth( $width) {
2224    $this->width = $width;
2225  }
2226  public function getWidth() {
2227    return $this->width;
2228  }
2229}
2230
2231class Google_PersonImage extends Google_Model {
2232  public $url;
2233  public function setUrl( $url) {
2234    $this->url = $url;
2235  }
2236  public function getUrl() {
2237    return $this->url;
2238  }
2239}
2240
2241class Google_PersonName extends Google_Model {
2242  public $familyName;
2243  public $formatted;
2244  public $givenName;
2245  public $honorificPrefix;
2246  public $honorificSuffix;
2247  public $middleName;
2248  public function setFamilyName( $familyName) {
2249    $this->familyName = $familyName;
2250  }
2251  public function getFamilyName() {
2252    return $this->familyName;
2253  }
2254  public function setFormatted( $formatted) {
2255    $this->formatted = $formatted;
2256  }
2257  public function getFormatted() {
2258    return $this->formatted;
2259  }
2260  public function setGivenName( $givenName) {
2261    $this->givenName = $givenName;
2262  }
2263  public function getGivenName() {
2264    return $this->givenName;
2265  }
2266  public function setHonorificPrefix( $honorificPrefix) {
2267    $this->honorificPrefix = $honorificPrefix;
2268  }
2269  public function getHonorificPrefix() {
2270    return $this->honorificPrefix;
2271  }
2272  public function setHonorificSuffix( $honorificSuffix) {
2273    $this->honorificSuffix = $honorificSuffix;
2274  }
2275  public function getHonorificSuffix() {
2276    return $this->honorificSuffix;
2277  }
2278  public function setMiddleName( $middleName) {
2279    $this->middleName = $middleName;
2280  }
2281  public function getMiddleName() {
2282    return $this->middleName;
2283  }
2284}
2285
2286class Google_PersonOrganizations extends Google_Model {
2287  public $department;
2288  public $description;
2289  public $endDate;
2290  public $location;
2291  public $name;
2292  public $primary;
2293  public $startDate;
2294  public $title;
2295  public $type;
2296  public function setDepartment( $department) {
2297    $this->department = $department;
2298  }
2299  public function getDepartment() {
2300    return $this->department;
2301  }
2302  public function setDescription( $description) {
2303    $this->description = $description;
2304  }
2305  public function getDescription() {
2306    return $this->description;
2307  }
2308  public function setEndDate( $endDate) {
2309    $this->endDate = $endDate;
2310  }
2311  public function getEndDate() {
2312    return $this->endDate;
2313  }
2314  public function setLocation( $location) {
2315    $this->location = $location;
2316  }
2317  public function getLocation() {
2318    return $this->location;
2319  }
2320  public function setName( $name) {
2321    $this->name = $name;
2322  }
2323  public function getName() {
2324    return $this->name;
2325  }
2326  public function setPrimary( $primary) {
2327    $this->primary = $primary;
2328  }
2329  public function getPrimary() {
2330    return $this->primary;
2331  }
2332  public function setStartDate( $startDate) {
2333    $this->startDate = $startDate;
2334  }
2335  public function getStartDate() {
2336    return $this->startDate;
2337  }
2338  public function setTitle( $title) {
2339    $this->title = $title;
2340  }
2341  public function getTitle() {
2342    return $this->title;
2343  }
2344  public function setType( $type) {
2345    $this->type = $type;
2346  }
2347  public function getType() {
2348    return $this->type;
2349  }
2350}
2351
2352class Google_PersonPlacesLived extends Google_Model {
2353  public $primary;
2354  public $value;
2355  public function setPrimary( $primary) {
2356    $this->primary = $primary;
2357  }
2358  public function getPrimary() {
2359    return $this->primary;
2360  }
2361  public function setValue( $value) {
2362    $this->value = $value;
2363  }
2364  public function getValue() {
2365    return $this->value;
2366  }
2367}
2368
2369class Google_PersonUrls extends Google_Model {
2370  public $label;
2371  public $type;
2372  public $value;
2373  public function setLabel( $label) {
2374    $this->label = $label;
2375  }
2376  public function getLabel() {
2377    return $this->label;
2378  }
2379  public function setType( $type) {
2380    $this->type = $type;
2381  }
2382  public function getType() {
2383    return $this->type;
2384  }
2385  public function setValue( $value) {
2386    $this->value = $value;
2387  }
2388  public function getValue() {
2389    return $this->value;
2390  }
2391}
2392
2393class Google_Place extends Google_Model {
2394  protected $__addressType = 'Google_PlaceAddress';
2395  protected $__addressDataType = '';
2396  public $address;
2397  public $displayName;
2398  public $kind;
2399  protected $__positionType = 'Google_PlacePosition';
2400  protected $__positionDataType = '';
2401  public $position;
2402  public function setAddress(Google_PlaceAddress $address) {
2403    $this->address = $address;
2404  }
2405  public function getAddress() {
2406    return $this->address;
2407  }
2408  public function setDisplayName( $displayName) {
2409    $this->displayName = $displayName;
2410  }
2411  public function getDisplayName() {
2412    return $this->displayName;
2413  }
2414  public function setKind( $kind) {
2415    $this->kind = $kind;
2416  }
2417  public function getKind() {
2418    return $this->kind;
2419  }
2420  public function setPosition(Google_PlacePosition $position) {
2421    $this->position = $position;
2422  }
2423  public function getPosition() {
2424    return $this->position;
2425  }
2426}
2427
2428class Google_PlaceAddress extends Google_Model {
2429  public $formatted;
2430  public function setFormatted( $formatted) {
2431    $this->formatted = $formatted;
2432  }
2433  public function getFormatted() {
2434    return $this->formatted;
2435  }
2436}
2437
2438class Google_PlacePosition extends Google_Model {
2439  public $latitude;
2440  public $longitude;
2441  public function setLatitude( $latitude) {
2442    $this->latitude = $latitude;
2443  }
2444  public function getLatitude() {
2445    return $this->latitude;
2446  }
2447  public function setLongitude( $longitude) {
2448    $this->longitude = $longitude;
2449  }
2450  public function getLongitude() {
2451    return $this->longitude;
2452  }
2453}
2454
2455class Google_PlusAclentryResource extends Google_Model {
2456  public $displayName;
2457  public $id;
2458  public $type;
2459  public function setDisplayName( $displayName) {
2460    $this->displayName = $displayName;
2461  }
2462  public function getDisplayName() {
2463    return $this->displayName;
2464  }
2465  public function setId( $id) {
2466    $this->id = $id;
2467  }
2468  public function getId() {
2469    return $this->id;
2470  }
2471  public function setType( $type) {
2472    $this->type = $type;
2473  }
2474  public function getType() {
2475    return $this->type;
2476  }
2477}
2478
2479class Google_Videostream extends Google_Model {
2480  public $height;
2481  public $type;
2482  public $url;
2483  public $width;
2484  public function setHeight( $height) {
2485    $this->height = $height;
2486  }
2487  public function getHeight() {
2488    return $this->height;
2489  }
2490  public function setType( $type) {
2491    $this->type = $type;
2492  }
2493  public function getType() {
2494    return $this->type;
2495  }
2496  public function setUrl( $url) {
2497    $this->url = $url;
2498  }
2499  public function getUrl() {
2500    return $this->url;
2501  }
2502  public function setWidth( $width) {
2503    $this->width = $width;
2504  }
2505  public function getWidth() {
2506    return $this->width;
2507  }
2508}
2509