PageRenderTime 47ms CodeModel.GetById 12ms RepoModel.GetById 0ms app.codeStats 1ms

/src/main/Google/contrib/Google_PlusService.php

https://bitbucket.org/snowqbe/playhp
PHP | 3520 lines | 2751 code | 583 blank | 186 comment | 22 complexity | 9891d874b5e1b458ca00889f0136d347 MD5 | raw file

Large files files are truncated, but you can click here to view the full file

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

Large files files are truncated, but you can click here to view the full file