PageRenderTime 55ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/lib/google/src/Google/Service/Plus.php

http://github.com/moodle/moodle
PHP | 3692 lines | 3278 code | 186 blank | 228 comment | 0 complexity | 6c07ee4cdba036e459a4588f771e812a MD5 | raw file
Possible License(s): MIT, AGPL-3.0, MPL-2.0-no-copyleft-exception, LGPL-3.0, GPL-3.0, Apache-2.0, LGPL-2.1, BSD-3-Clause

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

  1. <?php
  2. /*
  3. * Copyright 2010 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for Plus (v1).
  19. *
  20. * <p>
  21. * The Google+ API enables developers to build on top of the Google+ platform.</p>
  22. *
  23. * <p>
  24. * For more information about this service, see the API
  25. * <a href="https://developers.google.com/+/api/" target="_blank">Documentation</a>
  26. * </p>
  27. *
  28. * @author Google, Inc.
  29. */
  30. class Google_Service_Plus extends Google_Service
  31. {
  32. /** Know your basic profile info and list of people in your circles.. */
  33. const PLUS_LOGIN =
  34. "https://www.googleapis.com/auth/plus.login";
  35. /** Know who you are on Google. */
  36. const PLUS_ME =
  37. "https://www.googleapis.com/auth/plus.me";
  38. /** View your email address. */
  39. const USERINFO_EMAIL =
  40. "https://www.googleapis.com/auth/userinfo.email";
  41. /** View your basic profile info. */
  42. const USERINFO_PROFILE =
  43. "https://www.googleapis.com/auth/userinfo.profile";
  44. public $activities;
  45. public $comments;
  46. public $moments;
  47. public $people;
  48. /**
  49. * Constructs the internal representation of the Plus service.
  50. *
  51. * @param Google_Client $client
  52. */
  53. public function __construct(Google_Client $client)
  54. {
  55. parent::__construct($client);
  56. $this->rootUrl = 'https://www.googleapis.com/';
  57. $this->servicePath = 'plus/v1/';
  58. $this->version = 'v1';
  59. $this->serviceName = 'plus';
  60. $this->activities = new Google_Service_Plus_Activities_Resource(
  61. $this,
  62. $this->serviceName,
  63. 'activities',
  64. array(
  65. 'methods' => array(
  66. 'get' => array(
  67. 'path' => 'activities/{activityId}',
  68. 'httpMethod' => 'GET',
  69. 'parameters' => array(
  70. 'activityId' => array(
  71. 'location' => 'path',
  72. 'type' => 'string',
  73. 'required' => true,
  74. ),
  75. ),
  76. ),'list' => array(
  77. 'path' => 'people/{userId}/activities/{collection}',
  78. 'httpMethod' => 'GET',
  79. 'parameters' => array(
  80. 'userId' => array(
  81. 'location' => 'path',
  82. 'type' => 'string',
  83. 'required' => true,
  84. ),
  85. 'collection' => array(
  86. 'location' => 'path',
  87. 'type' => 'string',
  88. 'required' => true,
  89. ),
  90. 'pageToken' => array(
  91. 'location' => 'query',
  92. 'type' => 'string',
  93. ),
  94. 'maxResults' => array(
  95. 'location' => 'query',
  96. 'type' => 'integer',
  97. ),
  98. ),
  99. ),'search' => array(
  100. 'path' => 'activities',
  101. 'httpMethod' => 'GET',
  102. 'parameters' => array(
  103. 'query' => array(
  104. 'location' => 'query',
  105. 'type' => 'string',
  106. 'required' => true,
  107. ),
  108. 'orderBy' => array(
  109. 'location' => 'query',
  110. 'type' => 'string',
  111. ),
  112. 'pageToken' => array(
  113. 'location' => 'query',
  114. 'type' => 'string',
  115. ),
  116. 'maxResults' => array(
  117. 'location' => 'query',
  118. 'type' => 'integer',
  119. ),
  120. 'language' => array(
  121. 'location' => 'query',
  122. 'type' => 'string',
  123. ),
  124. ),
  125. ),
  126. )
  127. )
  128. );
  129. $this->comments = new Google_Service_Plus_Comments_Resource(
  130. $this,
  131. $this->serviceName,
  132. 'comments',
  133. array(
  134. 'methods' => array(
  135. 'get' => array(
  136. 'path' => 'comments/{commentId}',
  137. 'httpMethod' => 'GET',
  138. 'parameters' => array(
  139. 'commentId' => array(
  140. 'location' => 'path',
  141. 'type' => 'string',
  142. 'required' => true,
  143. ),
  144. ),
  145. ),'list' => array(
  146. 'path' => 'activities/{activityId}/comments',
  147. 'httpMethod' => 'GET',
  148. 'parameters' => array(
  149. 'activityId' => array(
  150. 'location' => 'path',
  151. 'type' => 'string',
  152. 'required' => true,
  153. ),
  154. 'pageToken' => array(
  155. 'location' => 'query',
  156. 'type' => 'string',
  157. ),
  158. 'sortOrder' => array(
  159. 'location' => 'query',
  160. 'type' => 'string',
  161. ),
  162. 'maxResults' => array(
  163. 'location' => 'query',
  164. 'type' => 'integer',
  165. ),
  166. ),
  167. ),
  168. )
  169. )
  170. );
  171. $this->moments = new Google_Service_Plus_Moments_Resource(
  172. $this,
  173. $this->serviceName,
  174. 'moments',
  175. array(
  176. 'methods' => array(
  177. 'insert' => array(
  178. 'path' => 'people/{userId}/moments/{collection}',
  179. 'httpMethod' => 'POST',
  180. 'parameters' => array(
  181. 'userId' => array(
  182. 'location' => 'path',
  183. 'type' => 'string',
  184. 'required' => true,
  185. ),
  186. 'collection' => array(
  187. 'location' => 'path',
  188. 'type' => 'string',
  189. 'required' => true,
  190. ),
  191. 'debug' => array(
  192. 'location' => 'query',
  193. 'type' => 'boolean',
  194. ),
  195. ),
  196. ),'list' => array(
  197. 'path' => 'people/{userId}/moments/{collection}',
  198. 'httpMethod' => 'GET',
  199. 'parameters' => array(
  200. 'userId' => array(
  201. 'location' => 'path',
  202. 'type' => 'string',
  203. 'required' => true,
  204. ),
  205. 'collection' => array(
  206. 'location' => 'path',
  207. 'type' => 'string',
  208. 'required' => true,
  209. ),
  210. 'maxResults' => array(
  211. 'location' => 'query',
  212. 'type' => 'integer',
  213. ),
  214. 'pageToken' => array(
  215. 'location' => 'query',
  216. 'type' => 'string',
  217. ),
  218. 'targetUrl' => array(
  219. 'location' => 'query',
  220. 'type' => 'string',
  221. ),
  222. 'type' => array(
  223. 'location' => 'query',
  224. 'type' => 'string',
  225. ),
  226. ),
  227. ),
  228. )
  229. )
  230. );
  231. $this->people = new Google_Service_Plus_People_Resource(
  232. $this,
  233. $this->serviceName,
  234. 'people',
  235. array(
  236. 'methods' => array(
  237. 'get' => array(
  238. 'path' => 'people/{userId}',
  239. 'httpMethod' => 'GET',
  240. 'parameters' => array(
  241. 'userId' => array(
  242. 'location' => 'path',
  243. 'type' => 'string',
  244. 'required' => true,
  245. ),
  246. ),
  247. ),'list' => array(
  248. 'path' => 'people/{userId}/people/{collection}',
  249. 'httpMethod' => 'GET',
  250. 'parameters' => array(
  251. 'userId' => array(
  252. 'location' => 'path',
  253. 'type' => 'string',
  254. 'required' => true,
  255. ),
  256. 'collection' => array(
  257. 'location' => 'path',
  258. 'type' => 'string',
  259. 'required' => true,
  260. ),
  261. 'orderBy' => array(
  262. 'location' => 'query',
  263. 'type' => 'string',
  264. ),
  265. 'pageToken' => array(
  266. 'location' => 'query',
  267. 'type' => 'string',
  268. ),
  269. 'maxResults' => array(
  270. 'location' => 'query',
  271. 'type' => 'integer',
  272. ),
  273. ),
  274. ),'listByActivity' => array(
  275. 'path' => 'activities/{activityId}/people/{collection}',
  276. 'httpMethod' => 'GET',
  277. 'parameters' => array(
  278. 'activityId' => array(
  279. 'location' => 'path',
  280. 'type' => 'string',
  281. 'required' => true,
  282. ),
  283. 'collection' => array(
  284. 'location' => 'path',
  285. 'type' => 'string',
  286. 'required' => true,
  287. ),
  288. 'pageToken' => array(
  289. 'location' => 'query',
  290. 'type' => 'string',
  291. ),
  292. 'maxResults' => array(
  293. 'location' => 'query',
  294. 'type' => 'integer',
  295. ),
  296. ),
  297. ),'search' => array(
  298. 'path' => 'people',
  299. 'httpMethod' => 'GET',
  300. 'parameters' => array(
  301. 'query' => array(
  302. 'location' => 'query',
  303. 'type' => 'string',
  304. 'required' => true,
  305. ),
  306. 'pageToken' => array(
  307. 'location' => 'query',
  308. 'type' => 'string',
  309. ),
  310. 'maxResults' => array(
  311. 'location' => 'query',
  312. 'type' => 'integer',
  313. ),
  314. 'language' => array(
  315. 'location' => 'query',
  316. 'type' => 'string',
  317. ),
  318. ),
  319. ),
  320. )
  321. )
  322. );
  323. }
  324. }
  325. /**
  326. * The "activities" collection of methods.
  327. * Typical usage is:
  328. * <code>
  329. * $plusService = new Google_Service_Plus(...);
  330. * $activities = $plusService->activities;
  331. * </code>
  332. */
  333. class Google_Service_Plus_Activities_Resource extends Google_Service_Resource
  334. {
  335. /**
  336. * Get an activity. (activities.get)
  337. *
  338. * @param string $activityId The ID of the activity to get.
  339. * @param array $optParams Optional parameters.
  340. * @return Google_Service_Plus_Activity
  341. */
  342. public function get($activityId, $optParams = array())
  343. {
  344. $params = array('activityId' => $activityId);
  345. $params = array_merge($params, $optParams);
  346. return $this->call('get', array($params), "Google_Service_Plus_Activity");
  347. }
  348. /**
  349. * List all of the activities in the specified collection for a particular user.
  350. * (activities.listActivities)
  351. *
  352. * @param string $userId The ID of the user to get activities for. The special
  353. * value "me" can be used to indicate the authenticated user.
  354. * @param string $collection The collection of activities to list.
  355. * @param array $optParams Optional parameters.
  356. *
  357. * @opt_param string pageToken The continuation token, which is used to page
  358. * through large result sets. To get the next page of results, set this
  359. * parameter to the value of "nextPageToken" from the previous response.
  360. * @opt_param string maxResults The maximum number of activities to include in
  361. * the response, which is used for paging. For any response, the actual number
  362. * returned might be less than the specified maxResults.
  363. * @return Google_Service_Plus_ActivityFeed
  364. */
  365. public function listActivities($userId, $collection, $optParams = array())
  366. {
  367. $params = array('userId' => $userId, 'collection' => $collection);
  368. $params = array_merge($params, $optParams);
  369. return $this->call('list', array($params), "Google_Service_Plus_ActivityFeed");
  370. }
  371. /**
  372. * Search public activities. (activities.search)
  373. *
  374. * @param string $query Full-text search query string.
  375. * @param array $optParams Optional parameters.
  376. *
  377. * @opt_param string orderBy Specifies how to order search results.
  378. * @opt_param string pageToken The continuation token, which is used to page
  379. * through large result sets. To get the next page of results, set this
  380. * parameter to the value of "nextPageToken" from the previous response. This
  381. * token can be of any length.
  382. * @opt_param string maxResults The maximum number of activities to include in
  383. * the response, which is used for paging. For any response, the actual number
  384. * returned might be less than the specified maxResults.
  385. * @opt_param string language Specify the preferred language to search with. See
  386. * search language codes for available values.
  387. * @return Google_Service_Plus_ActivityFeed
  388. */
  389. public function search($query, $optParams = array())
  390. {
  391. $params = array('query' => $query);
  392. $params = array_merge($params, $optParams);
  393. return $this->call('search', array($params), "Google_Service_Plus_ActivityFeed");
  394. }
  395. }
  396. /**
  397. * The "comments" collection of methods.
  398. * Typical usage is:
  399. * <code>
  400. * $plusService = new Google_Service_Plus(...);
  401. * $comments = $plusService->comments;
  402. * </code>
  403. */
  404. class Google_Service_Plus_Comments_Resource extends Google_Service_Resource
  405. {
  406. /**
  407. * Get a comment. (comments.get)
  408. *
  409. * @param string $commentId The ID of the comment to get.
  410. * @param array $optParams Optional parameters.
  411. * @return Google_Service_Plus_Comment
  412. */
  413. public function get($commentId, $optParams = array())
  414. {
  415. $params = array('commentId' => $commentId);
  416. $params = array_merge($params, $optParams);
  417. return $this->call('get', array($params), "Google_Service_Plus_Comment");
  418. }
  419. /**
  420. * List all of the comments for an activity. (comments.listComments)
  421. *
  422. * @param string $activityId The ID of the activity to get comments for.
  423. * @param array $optParams Optional parameters.
  424. *
  425. * @opt_param string pageToken The continuation token, which is used to page
  426. * through large result sets. To get the next page of results, set this
  427. * parameter to the value of "nextPageToken" from the previous response.
  428. * @opt_param string sortOrder The order in which to sort the list of comments.
  429. * @opt_param string maxResults The maximum number of comments to include in the
  430. * response, which is used for paging. For any response, the actual number
  431. * returned might be less than the specified maxResults.
  432. * @return Google_Service_Plus_CommentFeed
  433. */
  434. public function listComments($activityId, $optParams = array())
  435. {
  436. $params = array('activityId' => $activityId);
  437. $params = array_merge($params, $optParams);
  438. return $this->call('list', array($params), "Google_Service_Plus_CommentFeed");
  439. }
  440. }
  441. /**
  442. * The "moments" collection of methods.
  443. * Typical usage is:
  444. * <code>
  445. * $plusService = new Google_Service_Plus(...);
  446. * $moments = $plusService->moments;
  447. * </code>
  448. */
  449. class Google_Service_Plus_Moments_Resource extends Google_Service_Resource
  450. {
  451. /**
  452. * Record a moment representing a user's action such as making a purchase or
  453. * commenting on a blog. (moments.insert)
  454. *
  455. * @param string $userId The ID of the user to record actions for. The only
  456. * valid values are "me" and the ID of the authenticated user.
  457. * @param string $collection The collection to which to write moments.
  458. * @param Google_Moment $postBody
  459. * @param array $optParams Optional parameters.
  460. *
  461. * @opt_param bool debug Return the moment as written. Should be used only for
  462. * debugging.
  463. * @return Google_Service_Plus_Moment
  464. */
  465. public function insert($userId, $collection, Google_Service_Plus_Moment $postBody, $optParams = array())
  466. {
  467. $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
  468. $params = array_merge($params, $optParams);
  469. return $this->call('insert', array($params), "Google_Service_Plus_Moment");
  470. }
  471. /**
  472. * List all of the moments for a particular user. (moments.listMoments)
  473. *
  474. * @param string $userId The ID of the user to get moments for. The special
  475. * value "me" can be used to indicate the authenticated user.
  476. * @param string $collection The collection of moments to list.
  477. * @param array $optParams Optional parameters.
  478. *
  479. * @opt_param string maxResults The maximum number of moments to include in the
  480. * response, which is used for paging. For any response, the actual number
  481. * returned might be less than the specified maxResults.
  482. * @opt_param string pageToken The continuation token, which is used to page
  483. * through large result sets. To get the next page of results, set this
  484. * parameter to the value of "nextPageToken" from the previous response.
  485. * @opt_param string targetUrl Only moments containing this targetUrl will be
  486. * returned.
  487. * @opt_param string type Only moments of this type will be returned.
  488. * @return Google_Service_Plus_MomentsFeed
  489. */
  490. public function listMoments($userId, $collection, $optParams = array())
  491. {
  492. $params = array('userId' => $userId, 'collection' => $collection);
  493. $params = array_merge($params, $optParams);
  494. return $this->call('list', array($params), "Google_Service_Plus_MomentsFeed");
  495. }
  496. }
  497. /**
  498. * The "people" collection of methods.
  499. * Typical usage is:
  500. * <code>
  501. * $plusService = new Google_Service_Plus(...);
  502. * $people = $plusService->people;
  503. * </code>
  504. */
  505. class Google_Service_Plus_People_Resource extends Google_Service_Resource
  506. {
  507. /**
  508. * Get a person's profile. If your app uses scope
  509. * https://www.googleapis.com/auth/plus.login, this method is guaranteed to
  510. * return ageRange and language. (people.get)
  511. *
  512. * @param string $userId The ID of the person to get the profile for. The
  513. * special value "me" can be used to indicate the authenticated user.
  514. * @param array $optParams Optional parameters.
  515. * @return Google_Service_Plus_Person
  516. */
  517. public function get($userId, $optParams = array())
  518. {
  519. $params = array('userId' => $userId);
  520. $params = array_merge($params, $optParams);
  521. return $this->call('get', array($params), "Google_Service_Plus_Person");
  522. }
  523. /**
  524. * List all of the people in the specified collection. (people.listPeople)
  525. *
  526. * @param string $userId Get the collection of people for the person identified.
  527. * Use "me" to indicate the authenticated user.
  528. * @param string $collection The collection of people to list.
  529. * @param array $optParams Optional parameters.
  530. *
  531. * @opt_param string orderBy The order to return people in.
  532. * @opt_param string pageToken The continuation token, which is used to page
  533. * through large result sets. To get the next page of results, set this
  534. * parameter to the value of "nextPageToken" from the previous response.
  535. * @opt_param string maxResults The maximum number of people to include in the
  536. * response, which is used for paging. For any response, the actual number
  537. * returned might be less than the specified maxResults.
  538. * @return Google_Service_Plus_PeopleFeed
  539. */
  540. public function listPeople($userId, $collection, $optParams = array())
  541. {
  542. $params = array('userId' => $userId, 'collection' => $collection);
  543. $params = array_merge($params, $optParams);
  544. return $this->call('list', array($params), "Google_Service_Plus_PeopleFeed");
  545. }
  546. /**
  547. * List all of the people in the specified collection for a particular activity.
  548. * (people.listByActivity)
  549. *
  550. * @param string $activityId The ID of the activity to get the list of people
  551. * for.
  552. * @param string $collection The collection of people to list.
  553. * @param array $optParams Optional parameters.
  554. *
  555. * @opt_param string pageToken The continuation token, which is used to page
  556. * through large result sets. To get the next page of results, set this
  557. * parameter to the value of "nextPageToken" from the previous response.
  558. * @opt_param string maxResults The maximum number of people to include in the
  559. * response, which is used for paging. For any response, the actual number
  560. * returned might be less than the specified maxResults.
  561. * @return Google_Service_Plus_PeopleFeed
  562. */
  563. public function listByActivity($activityId, $collection, $optParams = array())
  564. {
  565. $params = array('activityId' => $activityId, 'collection' => $collection);
  566. $params = array_merge($params, $optParams);
  567. return $this->call('listByActivity', array($params), "Google_Service_Plus_PeopleFeed");
  568. }
  569. /**
  570. * Search all public profiles. (people.search)
  571. *
  572. * @param string $query Specify a query string for full text search of public
  573. * text in all profiles.
  574. * @param array $optParams Optional parameters.
  575. *
  576. * @opt_param string pageToken The continuation token, which is used to page
  577. * through large result sets. To get the next page of results, set this
  578. * parameter to the value of "nextPageToken" from the previous response. This
  579. * token can be of any length.
  580. * @opt_param string maxResults The maximum number of people to include in the
  581. * response, which is used for paging. For any response, the actual number
  582. * returned might be less than the specified maxResults.
  583. * @opt_param string language Specify the preferred language to search with. See
  584. * search language codes for available values.
  585. * @return Google_Service_Plus_PeopleFeed
  586. */
  587. public function search($query, $optParams = array())
  588. {
  589. $params = array('query' => $query);
  590. $params = array_merge($params, $optParams);
  591. return $this->call('search', array($params), "Google_Service_Plus_PeopleFeed");
  592. }
  593. }
  594. class Google_Service_Plus_Acl extends Google_Collection
  595. {
  596. protected $collection_key = 'items';
  597. protected $internal_gapi_mappings = array(
  598. );
  599. public $description;
  600. protected $itemsType = 'Google_Service_Plus_PlusAclentryResource';
  601. protected $itemsDataType = 'array';
  602. public $kind;
  603. public function setDescription($description)
  604. {
  605. $this->description = $description;
  606. }
  607. public function getDescription()
  608. {
  609. return $this->description;
  610. }
  611. public function setItems($items)
  612. {
  613. $this->items = $items;
  614. }
  615. public function getItems()
  616. {
  617. return $this->items;
  618. }
  619. public function setKind($kind)
  620. {
  621. $this->kind = $kind;
  622. }
  623. public function getKind()
  624. {
  625. return $this->kind;
  626. }
  627. }
  628. class Google_Service_Plus_Activity extends Google_Model
  629. {
  630. protected $internal_gapi_mappings = array(
  631. );
  632. protected $accessType = 'Google_Service_Plus_Acl';
  633. protected $accessDataType = '';
  634. protected $actorType = 'Google_Service_Plus_ActivityActor';
  635. protected $actorDataType = '';
  636. public $address;
  637. public $annotation;
  638. public $crosspostSource;
  639. public $etag;
  640. public $geocode;
  641. public $id;
  642. public $kind;
  643. protected $locationType = 'Google_Service_Plus_Place';
  644. protected $locationDataType = '';
  645. protected $objectType = 'Google_Service_Plus_ActivityObject';
  646. protected $objectDataType = '';
  647. public $placeId;
  648. public $placeName;
  649. protected $providerType = 'Google_Service_Plus_ActivityProvider';
  650. protected $providerDataType = '';
  651. public $published;
  652. public $radius;
  653. public $title;
  654. public $updated;
  655. public $url;
  656. public $verb;
  657. public function setAccess(Google_Service_Plus_Acl $access)
  658. {
  659. $this->access = $access;
  660. }
  661. public function getAccess()
  662. {
  663. return $this->access;
  664. }
  665. public function setActor(Google_Service_Plus_ActivityActor $actor)
  666. {
  667. $this->actor = $actor;
  668. }
  669. public function getActor()
  670. {
  671. return $this->actor;
  672. }
  673. public function setAddress($address)
  674. {
  675. $this->address = $address;
  676. }
  677. public function getAddress()
  678. {
  679. return $this->address;
  680. }
  681. public function setAnnotation($annotation)
  682. {
  683. $this->annotation = $annotation;
  684. }
  685. public function getAnnotation()
  686. {
  687. return $this->annotation;
  688. }
  689. public function setCrosspostSource($crosspostSource)
  690. {
  691. $this->crosspostSource = $crosspostSource;
  692. }
  693. public function getCrosspostSource()
  694. {
  695. return $this->crosspostSource;
  696. }
  697. public function setEtag($etag)
  698. {
  699. $this->etag = $etag;
  700. }
  701. public function getEtag()
  702. {
  703. return $this->etag;
  704. }
  705. public function setGeocode($geocode)
  706. {
  707. $this->geocode = $geocode;
  708. }
  709. public function getGeocode()
  710. {
  711. return $this->geocode;
  712. }
  713. public function setId($id)
  714. {
  715. $this->id = $id;
  716. }
  717. public function getId()
  718. {
  719. return $this->id;
  720. }
  721. public function setKind($kind)
  722. {
  723. $this->kind = $kind;
  724. }
  725. public function getKind()
  726. {
  727. return $this->kind;
  728. }
  729. public function setLocation(Google_Service_Plus_Place $location)
  730. {
  731. $this->location = $location;
  732. }
  733. public function getLocation()
  734. {
  735. return $this->location;
  736. }
  737. public function setObject(Google_Service_Plus_ActivityObject $object)
  738. {
  739. $this->object = $object;
  740. }
  741. public function getObject()
  742. {
  743. return $this->object;
  744. }
  745. public function setPlaceId($placeId)
  746. {
  747. $this->placeId = $placeId;
  748. }
  749. public function getPlaceId()
  750. {
  751. return $this->placeId;
  752. }
  753. public function setPlaceName($placeName)
  754. {
  755. $this->placeName = $placeName;
  756. }
  757. public function getPlaceName()
  758. {
  759. return $this->placeName;
  760. }
  761. public function setProvider(Google_Service_Plus_ActivityProvider $provider)
  762. {
  763. $this->provider = $provider;
  764. }
  765. public function getProvider()
  766. {
  767. return $this->provider;
  768. }
  769. public function setPublished($published)
  770. {
  771. $this->published = $published;
  772. }
  773. public function getPublished()
  774. {
  775. return $this->published;
  776. }
  777. public function setRadius($radius)
  778. {
  779. $this->radius = $radius;
  780. }
  781. public function getRadius()
  782. {
  783. return $this->radius;
  784. }
  785. public function setTitle($title)
  786. {
  787. $this->title = $title;
  788. }
  789. public function getTitle()
  790. {
  791. return $this->title;
  792. }
  793. public function setUpdated($updated)
  794. {
  795. $this->updated = $updated;
  796. }
  797. public function getUpdated()
  798. {
  799. return $this->updated;
  800. }
  801. public function setUrl($url)
  802. {
  803. $this->url = $url;
  804. }
  805. public function getUrl()
  806. {
  807. return $this->url;
  808. }
  809. public function setVerb($verb)
  810. {
  811. $this->verb = $verb;
  812. }
  813. public function getVerb()
  814. {
  815. return $this->verb;
  816. }
  817. }
  818. class Google_Service_Plus_ActivityActor extends Google_Model
  819. {
  820. protected $internal_gapi_mappings = array(
  821. );
  822. protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfo';
  823. protected $clientSpecificActorInfoDataType = '';
  824. public $displayName;
  825. public $id;
  826. protected $imageType = 'Google_Service_Plus_ActivityActorImage';
  827. protected $imageDataType = '';
  828. protected $nameType = 'Google_Service_Plus_ActivityActorName';
  829. protected $nameDataType = '';
  830. public $url;
  831. protected $verificationType = 'Google_Service_Plus_ActivityActorVerification';
  832. protected $verificationDataType = '';
  833. public function setClientSpecificActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfo $clientSpecificActorInfo)
  834. {
  835. $this->clientSpecificActorInfo = $clientSpecificActorInfo;
  836. }
  837. public function getClientSpecificActorInfo()
  838. {
  839. return $this->clientSpecificActorInfo;
  840. }
  841. public function setDisplayName($displayName)
  842. {
  843. $this->displayName = $displayName;
  844. }
  845. public function getDisplayName()
  846. {
  847. return $this->displayName;
  848. }
  849. public function setId($id)
  850. {
  851. $this->id = $id;
  852. }
  853. public function getId()
  854. {
  855. return $this->id;
  856. }
  857. public function setImage(Google_Service_Plus_ActivityActorImage $image)
  858. {
  859. $this->image = $image;
  860. }
  861. public function getImage()
  862. {
  863. return $this->image;
  864. }
  865. public function setName(Google_Service_Plus_ActivityActorName $name)
  866. {
  867. $this->name = $name;
  868. }
  869. public function getName()
  870. {
  871. return $this->name;
  872. }
  873. public function setUrl($url)
  874. {
  875. $this->url = $url;
  876. }
  877. public function getUrl()
  878. {
  879. return $this->url;
  880. }
  881. public function setVerification(Google_Service_Plus_ActivityActorVerification $verification)
  882. {
  883. $this->verification = $verification;
  884. }
  885. public function getVerification()
  886. {
  887. return $this->verification;
  888. }
  889. }
  890. class Google_Service_Plus_ActivityActorClientSpecificActorInfo extends Google_Model
  891. {
  892. protected $internal_gapi_mappings = array(
  893. );
  894. protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo';
  895. protected $youtubeActorInfoDataType = '';
  896. public function setYoutubeActorInfo(Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
  897. {
  898. $this->youtubeActorInfo = $youtubeActorInfo;
  899. }
  900. public function getYoutubeActorInfo()
  901. {
  902. return $this->youtubeActorInfo;
  903. }
  904. }
  905. class Google_Service_Plus_ActivityActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
  906. {
  907. protected $internal_gapi_mappings = array(
  908. );
  909. public $channelId;
  910. public function setChannelId($channelId)
  911. {
  912. $this->channelId = $channelId;
  913. }
  914. public function getChannelId()
  915. {
  916. return $this->channelId;
  917. }
  918. }
  919. class Google_Service_Plus_ActivityActorImage extends Google_Model
  920. {
  921. protected $internal_gapi_mappings = array(
  922. );
  923. public $url;
  924. public function setUrl($url)
  925. {
  926. $this->url = $url;
  927. }
  928. public function getUrl()
  929. {
  930. return $this->url;
  931. }
  932. }
  933. class Google_Service_Plus_ActivityActorName extends Google_Model
  934. {
  935. protected $internal_gapi_mappings = array(
  936. );
  937. public $familyName;
  938. public $givenName;
  939. public function setFamilyName($familyName)
  940. {
  941. $this->familyName = $familyName;
  942. }
  943. public function getFamilyName()
  944. {
  945. return $this->familyName;
  946. }
  947. public function setGivenName($givenName)
  948. {
  949. $this->givenName = $givenName;
  950. }
  951. public function getGivenName()
  952. {
  953. return $this->givenName;
  954. }
  955. }
  956. class Google_Service_Plus_ActivityActorVerification extends Google_Model
  957. {
  958. protected $internal_gapi_mappings = array(
  959. );
  960. public $adHocVerified;
  961. public function setAdHocVerified($adHocVerified)
  962. {
  963. $this->adHocVerified = $adHocVerified;
  964. }
  965. public function getAdHocVerified()
  966. {
  967. return $this->adHocVerified;
  968. }
  969. }
  970. class Google_Service_Plus_ActivityFeed extends Google_Collection
  971. {
  972. protected $collection_key = 'items';
  973. protected $internal_gapi_mappings = array(
  974. );
  975. public $etag;
  976. public $id;
  977. protected $itemsType = 'Google_Service_Plus_Activity';
  978. protected $itemsDataType = 'array';
  979. public $kind;
  980. public $nextLink;
  981. public $nextPageToken;
  982. public $selfLink;
  983. public $title;
  984. public $updated;
  985. public function setEtag($etag)
  986. {
  987. $this->etag = $etag;
  988. }
  989. public function getEtag()
  990. {
  991. return $this->etag;
  992. }
  993. public function setId($id)
  994. {
  995. $this->id = $id;
  996. }
  997. public function getId()
  998. {
  999. return $this->id;
  1000. }
  1001. public function setItems($items)
  1002. {
  1003. $this->items = $items;
  1004. }
  1005. public function getItems()
  1006. {
  1007. return $this->items;
  1008. }
  1009. public function setKind($kind)
  1010. {
  1011. $this->kind = $kind;
  1012. }
  1013. public function getKind()
  1014. {
  1015. return $this->kind;
  1016. }
  1017. public function setNextLink($nextLink)
  1018. {
  1019. $this->nextLink = $nextLink;
  1020. }
  1021. public function getNextLink()
  1022. {
  1023. return $this->nextLink;
  1024. }
  1025. public function setNextPageToken($nextPageToken)
  1026. {
  1027. $this->nextPageToken = $nextPageToken;
  1028. }
  1029. public function getNextPageToken()
  1030. {
  1031. return $this->nextPageToken;
  1032. }
  1033. public function setSelfLink($selfLink)
  1034. {
  1035. $this->selfLink = $selfLink;
  1036. }
  1037. public function getSelfLink()
  1038. {
  1039. return $this->selfLink;
  1040. }
  1041. public function setTitle($title)
  1042. {
  1043. $this->title = $title;
  1044. }
  1045. public function getTitle()
  1046. {
  1047. return $this->title;
  1048. }
  1049. public function setUpdated($updated)
  1050. {
  1051. $this->updated = $updated;
  1052. }
  1053. public function getUpdated()
  1054. {
  1055. return $this->updated;
  1056. }
  1057. }
  1058. class Google_Service_Plus_ActivityObject extends Google_Collection
  1059. {
  1060. protected $collection_key = 'attachments';
  1061. protected $internal_gapi_mappings = array(
  1062. );
  1063. protected $actorType = 'Google_Service_Plus_ActivityObjectActor';
  1064. protected $actorDataType = '';
  1065. protected $attachmentsType = 'Google_Service_Plus_ActivityObjectAttachments';
  1066. protected $attachmentsDataType = 'array';
  1067. public $content;
  1068. public $id;
  1069. public $objectType;
  1070. public $originalContent;
  1071. protected $plusonersType = 'Google_Service_Plus_ActivityObjectPlusoners';
  1072. protected $plusonersDataType = '';
  1073. protected $repliesType = 'Google_Service_Plus_ActivityObjectReplies';
  1074. protected $repliesDataType = '';
  1075. protected $resharersType = 'Google_Service_Plus_ActivityObjectResharers';
  1076. protected $resharersDataType = '';
  1077. public $url;
  1078. public function setActor(Google_Service_Plus_ActivityObjectActor $actor)
  1079. {
  1080. $this->actor = $actor;
  1081. }
  1082. public function getActor()
  1083. {
  1084. return $this->actor;
  1085. }
  1086. public function setAttachments($attachments)
  1087. {
  1088. $this->attachments = $attachments;
  1089. }
  1090. public function getAttachments()
  1091. {
  1092. return $this->attachments;
  1093. }
  1094. public function setContent($content)
  1095. {
  1096. $this->content = $content;
  1097. }
  1098. public function getContent()
  1099. {
  1100. return $this->content;
  1101. }
  1102. public function setId($id)
  1103. {
  1104. $this->id = $id;
  1105. }
  1106. public function getId()
  1107. {
  1108. return $this->id;
  1109. }
  1110. public function setObjectType($objectType)
  1111. {
  1112. $this->objectType = $objectType;
  1113. }
  1114. public function getObjectType()
  1115. {
  1116. return $this->objectType;
  1117. }
  1118. public function setOriginalContent($originalContent)
  1119. {
  1120. $this->originalContent = $originalContent;
  1121. }
  1122. public function getOriginalContent()
  1123. {
  1124. return $this->originalContent;
  1125. }
  1126. public function setPlusoners(Google_Service_Plus_ActivityObjectPlusoners $plusoners)
  1127. {
  1128. $this->plusoners = $plusoners;
  1129. }
  1130. public function getPlusoners()
  1131. {
  1132. return $this->plusoners;
  1133. }
  1134. public function setReplies(Google_Service_Plus_ActivityObjectReplies $replies)
  1135. {
  1136. $this->replies = $replies;
  1137. }
  1138. public function getReplies()
  1139. {
  1140. return $this->replies;
  1141. }
  1142. public function setResharers(Google_Service_Plus_ActivityObjectResharers $resharers)
  1143. {
  1144. $this->resharers = $resharers;
  1145. }
  1146. public function getResharers()
  1147. {
  1148. return $this->resharers;
  1149. }
  1150. public function setUrl($url)
  1151. {
  1152. $this->url = $url;
  1153. }
  1154. public function getUrl()
  1155. {
  1156. return $this->url;
  1157. }
  1158. }
  1159. class Google_Service_Plus_ActivityObjectActor extends Google_Model
  1160. {
  1161. protected $internal_gapi_mappings = array(
  1162. );
  1163. protected $clientSpecificActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo';
  1164. protected $clientSpecificActorInfoDataType = '';
  1165. public $displayName;
  1166. public $id;
  1167. protected $imageType = 'Google_Service_Plus_ActivityObjectActorImage';
  1168. protected $imageDataType = '';
  1169. public $url;
  1170. protected $verificationType = 'Google_Service_Plus_ActivityObjectActorVerification';
  1171. protected $verificationDataType = '';
  1172. public function setClientSpecificActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo $clientSpecificActorInfo)
  1173. {
  1174. $this->clientSpecificActorInfo = $clientSpecificActorInfo;
  1175. }
  1176. public function getClientSpecificActorInfo()
  1177. {
  1178. return $this->clientSpecificActorInfo;
  1179. }
  1180. public function setDisplayName($displayName)
  1181. {
  1182. $this->displayName = $displayName;
  1183. }
  1184. public function getDisplayName()
  1185. {
  1186. return $this->displayName;
  1187. }
  1188. public function setId($id)
  1189. {
  1190. $this->id = $id;
  1191. }
  1192. public function getId()
  1193. {
  1194. return $this->id;
  1195. }
  1196. public function setImage(Google_Service_Plus_ActivityObjectActorImage $image)
  1197. {
  1198. $this->image = $image;
  1199. }
  1200. public function getImage()
  1201. {
  1202. return $this->image;
  1203. }
  1204. public function setUrl($url)
  1205. {
  1206. $this->url = $url;
  1207. }
  1208. public function getUrl()
  1209. {
  1210. return $this->url;
  1211. }
  1212. public function setVerification(Google_Service_Plus_ActivityObjectActorVerification $verification)
  1213. {
  1214. $this->verification = $verification;
  1215. }
  1216. public function getVerification()
  1217. {
  1218. return $this->verification;
  1219. }
  1220. }
  1221. class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfo extends Google_Model
  1222. {
  1223. protected $internal_gapi_mappings = array(
  1224. );
  1225. protected $youtubeActorInfoType = 'Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo';
  1226. protected $youtubeActorInfoDataType = '';
  1227. public function setYoutubeActorInfo(Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
  1228. {
  1229. $this->youtubeActorInfo = $youtubeActorInfo;
  1230. }
  1231. public function getYoutubeActorInfo()
  1232. {
  1233. return $this->youtubeActorInfo;
  1234. }
  1235. }
  1236. class Google_Service_Plus_ActivityObjectActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
  1237. {
  1238. protected $internal_gapi_mappings = array(
  1239. );
  1240. public $channelId;
  1241. public function setChannelId($channelId)
  1242. {
  1243. $this->channelId = $channelId;
  1244. }
  1245. public function getChannelId()
  1246. {
  1247. return $this->channelId;
  1248. }
  1249. }
  1250. class Google_Service_Plus_ActivityObjectActorImage extends Google_Model
  1251. {
  1252. protected $internal_gapi_mappings = array(
  1253. );
  1254. public $url;
  1255. public function setUrl($url)
  1256. {
  1257. $this->url = $url;
  1258. }
  1259. public function getUrl()
  1260. {
  1261. return $this->url;
  1262. }
  1263. }
  1264. class Google_Service_Plus_ActivityObjectActorVerification extends Google_Model
  1265. {
  1266. protected $internal_gapi_mappings = array(
  1267. );
  1268. public $adHocVerified;
  1269. public function setAdHocVerified($adHocVerified)
  1270. {
  1271. $this->adHocVerified = $adHocVerified;
  1272. }
  1273. public function getAdHocVerified()
  1274. {
  1275. return $this->adHocVerified;
  1276. }
  1277. }
  1278. class Google_Service_Plus_ActivityObjectAttachments extends Google_Collection
  1279. {
  1280. protected $collection_key = 'thumbnails';
  1281. protected $internal_gapi_mappings = array(
  1282. );
  1283. public $content;
  1284. public $displayName;
  1285. protected $embedType = 'Google_Service_Plus_ActivityObjectAttachmentsEmbed';
  1286. protected $embedDataType = '';
  1287. protected $fullImageType = 'Google_Service_Plus_ActivityObjectAttachmentsFullImage';
  1288. protected $fullImageDataType = '';
  1289. public $id;
  1290. protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsImage';
  1291. protected $imageDataType = '';
  1292. public $objectType;
  1293. protected $thumbnailsType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnails';
  1294. protected $thumbnailsDataType = 'array';
  1295. public $url;
  1296. public function setContent($content)
  1297. {
  1298. $this->content = $content;
  1299. }
  1300. public function getContent()
  1301. {
  1302. return $this->content;
  1303. }
  1304. public function setDisplayName($displayName)
  1305. {
  1306. $this->displayName = $displayName;
  1307. }
  1308. public function getDisplayName()
  1309. {
  1310. return $this->displayName;
  1311. }
  1312. public function setEmbed(Google_Service_Plus_ActivityObjectAttachmentsEmbed $embed)
  1313. {
  1314. $this->embed = $embed;
  1315. }
  1316. public function getEmbed()
  1317. {
  1318. return $this->embed;
  1319. }
  1320. public function setFullImage(Google_Service_Plus_ActivityObjectAttachmentsFullImage $fullImage)
  1321. {
  1322. $this->fullImage = $fullImage;
  1323. }
  1324. public function getFullImage()
  1325. {
  1326. return $this->fullImage;
  1327. }
  1328. public function setId($id)
  1329. {
  1330. $this->id = $id;
  1331. }
  1332. public function getId()
  1333. {
  1334. return $this->id;
  1335. }
  1336. public function setImage(Google_Service_Plus_ActivityObjectAttachmentsImage $image)
  1337. {
  1338. $this->image = $image;
  1339. }
  1340. public function getImage()
  1341. {
  1342. return $this->image;
  1343. }
  1344. public function setObjectType($objectType)
  1345. {
  1346. $this->objectType = $objectType;
  1347. }
  1348. public function getObjectType()
  1349. {
  1350. return $this->objectType;
  1351. }
  1352. public function setThumbnails($thumbnails)
  1353. {
  1354. $this->thumbnails = $thumbnails;
  1355. }
  1356. public function getThumbnails()
  1357. {
  1358. return $this->thumbnails;
  1359. }
  1360. public function setUrl($url)
  1361. {
  1362. $this->url = $url;
  1363. }
  1364. public function getUrl()
  1365. {
  1366. return $this->url;
  1367. }
  1368. }
  1369. class Google_Service_Plus_ActivityObjectAttachmentsEmbed extends Google_Model
  1370. {
  1371. protected $internal_gapi_mappings = array(
  1372. );
  1373. public $type;
  1374. public $url;
  1375. public function setType($type)
  1376. {
  1377. $this->type = $type;
  1378. }
  1379. public function getType()
  1380. {
  1381. return $this->type;
  1382. }
  1383. public function setUrl($url)
  1384. {
  1385. $this->url = $url;
  1386. }
  1387. public function getUrl()
  1388. {
  1389. return $this->url;
  1390. }
  1391. }
  1392. class Google_Service_Plus_ActivityObjectAttachmentsFullImage extends Google_Model
  1393. {
  1394. protected $internal_gapi_mappings = array(
  1395. );
  1396. public $height;
  1397. public $type;
  1398. public $url;
  1399. public $width;
  1400. public function setHeight($height)
  1401. {
  1402. $this->height = $height;
  1403. }
  1404. public function getHeight()
  1405. {
  1406. return $this->height;
  1407. }
  1408. public function setType($type)
  1409. {
  1410. $this->type = $type;
  1411. }
  1412. public function getType()
  1413. {
  1414. return $this->type;
  1415. }
  1416. public function setUrl($url)
  1417. {
  1418. $this->url = $url;
  1419. }
  1420. public function getUrl()
  1421. {
  1422. return $this->url;
  1423. }
  1424. public function setWidth($width)
  1425. {
  1426. $this->width = $width;
  1427. }
  1428. public function getWidth()
  1429. {
  1430. return $this->width;
  1431. }
  1432. }
  1433. class Google_Service_Plus_ActivityObjectAttachmentsImage extends Google_Model
  1434. {
  1435. protected $internal_gapi_mappings = array(
  1436. );
  1437. public $height;
  1438. public $type;
  1439. public $url;
  1440. public $width;
  1441. public function setHeight($height)
  1442. {
  1443. $this->height = $height;
  1444. }
  1445. public function getHeight()
  1446. {
  1447. return $this->height;
  1448. }
  1449. public function setType($type)
  1450. {
  1451. $this->type = $type;
  1452. }
  1453. public function getType()
  1454. {
  1455. return $this->type;
  1456. }
  1457. public function setUrl($url)
  1458. {
  1459. $this->url = $url;
  1460. }
  1461. public function getUrl()
  1462. {
  1463. return $this->url;
  1464. }
  1465. public function setWidth($width)
  1466. {
  1467. $this->width = $width;
  1468. }
  1469. public function getWidth()
  1470. {
  1471. return $this->width;
  1472. }
  1473. }
  1474. class Google_Service_Plus_ActivityObjectAttachmentsThumbnails extends Google_Model
  1475. {
  1476. protected $internal_gapi_mappings = array(
  1477. );
  1478. public $description;
  1479. protected $imageType = 'Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage';
  1480. protected $imageDataType = '';
  1481. public $url;
  1482. public function setDescription($description)
  1483. {
  1484. $this->description = $description;
  1485. }
  1486. public function getDescription()
  1487. {
  1488. return $this->description;
  1489. }
  1490. public function setImage(Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage $image)
  1491. {
  1492. $this->image = $image;
  1493. }
  1494. public function getImage()
  1495. {
  1496. return $this->image;
  1497. }
  1498. public function setUrl($url)
  1499. {
  1500. $this->url = $url;
  1501. }
  1502. public function getUrl()
  1503. {
  1504. return $this->url;
  1505. }
  1506. }
  1507. class Google_Service_Plus_ActivityObjectAttachmentsThumbnailsImage extends Google_Model
  1508. {
  1509. protected $internal_gapi_mappings = array(
  1510. );
  1511. public $height;
  1512. public $type;
  1513. public $url;
  1514. public $width;
  1515. public function setHeight($height)
  1516. {
  1517. $this->height = $height;
  1518. }
  1519. public function getHeight()
  1520. {
  1521. return $this->height;
  1522. }
  1523. public function setType($type)
  1524. {
  1525. $this->type = $type;
  1526. }
  1527. public function getType()
  1528. {
  1529. return $this->type;
  1530. }
  1531. public function setUrl($url)
  1532. {
  1533. $this->url = $url;
  1534. }
  1535. public function getUrl()
  1536. {
  1537. return $this->url;
  1538. }
  1539. public function setWidth($width)
  1540. {
  1541. $this->width = $width;
  1542. }
  1543. public function getWidth()
  1544. {
  1545. return $this->width;
  1546. }
  1547. }
  1548. class Google_Service_Plus_ActivityObjectPlusoners extends Google_Model
  1549. {
  1550. protected $internal_gapi_mappings = array(
  1551. );
  1552. public $selfLink;
  1553. public $totalItems;
  1554. public function setSelfLink($selfLink)
  1555. {
  1556. $this->selfLink = $selfLink;
  1557. }
  1558. public function getSelfLink()
  1559. {
  1560. return $this->selfLink;
  1561. }
  1562. public function setTotalItems($totalItems)
  1563. {
  1564. $this->totalItems = $totalItems;
  1565. }
  1566. public function getTotalItems()
  1567. {
  1568. return $this->totalItems;
  1569. }
  1570. }
  1571. class Google_Service_Plus_ActivityObjectReplies extends Google_Model
  1572. {
  1573. protected $internal_gapi_mappings = array(
  1574. );
  1575. public $selfLink;
  1576. public $totalItems;
  1577. public function setSelfLink($selfLink)
  1578. {
  1579. $this->selfLink = $selfLink;
  1580. }
  1581. public function getSelfLink()
  1582. {
  1583. return $this->selfLink;
  1584. }
  1585. public function setTotalItems($totalItems)
  1586. {
  1587. $this->totalItems = $totalItems;
  1588. }
  1589. public function getTotalItems()
  1590. {
  1591. return $this->totalItems;
  1592. }
  1593. }
  1594. class Google_Service_Plus_ActivityObjectResharers extends Google_Model
  1595. {
  1596. protected $internal_gapi_mappings = array(
  1597. );
  1598. public $selfLink;
  1599. public $totalItems;
  1600. public function setSelfLink($selfLink)
  1601. {
  1602. $this->selfLink = $selfLink;
  1603. }
  1604. public function getSelfLink()
  1605. {
  1606. return $this->selfLink;
  1607. }
  1608. public function setTotalItems($totalItems)
  1609. {
  1610. $this->totalItems = $totalItems;
  1611. }
  1612. public function getTotalItems()
  1613. {
  1614. return $this->totalItems;
  1615. }
  1616. }
  1617. class Google_Service_Plus_ActivityProvider extends Google_Model
  1618. {
  1619. protected $internal_gapi_mappings = array(
  1620. );
  1621. public $title;
  1622. public function setTitle($title)
  1623. {
  1624. $this->title = $title;
  1625. }
  1626. public function getTitle()
  1627. {
  1628. return $this->title;
  1629. }
  1630. }
  1631. class Google_Service_Plus_Comment extends Google_Collection
  1632. {
  1633. protected $collection_key = 'inReplyTo';
  1634. protected $internal_gapi_mappings = array(
  1635. );
  1636. protected $actorType = 'Google_Service_Plus_CommentActor';
  1637. protected $actorDataType = '';
  1638. public $etag;
  1639. public $id;
  1640. protected $inReplyToType = 'Google_Service_Plus_CommentInReplyTo';
  1641. protected $inReplyToDataType = 'array';
  1642. public $kind;
  1643. protected $objectType = 'Google_Service_Plus_CommentObject';
  1644. protected $objectDataType = '';
  1645. protected $plusonersType = 'Google_Service_Plus_CommentPlusoners';
  1646. protected $plusonersDataType = '';
  1647. public $published;
  1648. public $selfLink;
  1649. public $updated;
  1650. public $verb;
  1651. public function setActor(Google_Service_Plus_CommentActor $actor)
  1652. {
  1653. $this->actor = $actor;
  1654. }
  1655. public function getActor()
  1656. {
  1657. return $this->actor;
  1658. }
  1659. public function setEtag($etag)
  1660. {
  1661. $this->etag = $etag;
  1662. }
  1663. public function getEtag()
  1664. {
  1665. return $this->etag;
  1666. }
  1667. public function setId($id)
  1668. {
  1669. $this->id = $id;
  1670. }
  1671. public function getId()
  1672. {
  1673. return $this->id;
  1674. }
  1675. public function setInReplyTo($inReplyTo)
  1676. {
  1677. $this->inReplyTo = $inReplyTo;
  1678. }
  1679. public function getInReplyTo()
  1680. {
  1681. return $this->inReplyTo;
  1682. }
  1683. public function setKind($kind)
  1684. {
  1685. $this->kind = $kind;
  1686. }
  1687. public function getKind()
  1688. {
  1689. return $this->kind;
  1690. }
  1691. public function setObject(Google_Service_Plus_CommentObject $object)
  1692. {
  1693. $this->object = $object;
  1694. }
  1695. public function getObject()
  1696. {
  1697. return $this->object;
  1698. }
  1699. public function setPlusoners(Google_Service_Plus_CommentPlusoners $plusoners)
  1700. {
  1701. $this->plusoners = $plusoners;
  1702. }
  1703. public function getPlusoners()
  1704. {
  1705. return $this->plusoners;
  1706. }
  1707. public function setPublished($published)
  1708. {
  1709. $this->published = $published;
  1710. }
  1711. public function getPublished()
  1712. {
  1713. return $this->published;
  1714. }
  1715. public function setSelfLink($selfLink)
  1716. {
  1717. $this->selfLink = $selfLink;
  1718. }
  1719. public function getSelfLink()
  1720. {
  1721. return $this->selfLink;
  1722. }
  1723. public function setUpdated($updated)
  1724. {
  1725. $this->updated = $updated;
  1726. }
  1727. public function getUpdated()
  1728. {
  1729. return $this->updated;
  1730. }
  1731. public function setVerb($verb)
  1732. {
  1733. $this->verb = $verb;
  1734. }
  1735. public function getVerb()
  1736. {
  1737. return $this->verb;
  1738. }
  1739. }
  1740. class Google_Service_Plus_CommentActor extends Google_Model
  1741. {
  1742. protected $internal_gapi_mappings = array(
  1743. );
  1744. protected $clientSpecificActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfo';
  1745. protected $clientSpecificActorInfoDataType = '';
  1746. public $displayName;
  1747. public $id;
  1748. protected $imageType = 'Google_Service_Plus_CommentActorImage';
  1749. protected $imageDataType = '';
  1750. public $url;
  1751. protected $verificationType = 'Google_Service_Plus_CommentActorVerification';
  1752. protected $verificationDataType = '';
  1753. public function setClientSpecificActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfo $clientSpecificActorInfo)
  1754. {
  1755. $this->clientSpecificActorInfo = $clientSpecificActorInfo;
  1756. }
  1757. public function getClientSpecificActorInfo()
  1758. {
  1759. return $this->clientSpecificActorInfo;
  1760. }
  1761. public function setDisplayName($displayName)
  1762. {
  1763. $this->displayName = $displayName;
  1764. }
  1765. public function getDisplayName()
  1766. {
  1767. return $this->displayName;
  1768. }
  1769. public function setId($id)
  1770. {
  1771. $this->id = $id;
  1772. }
  1773. public function getId()
  1774. {
  1775. return $this->id;
  1776. }
  1777. public function setImage(Google_Service_Plus_CommentActorImage $image)
  1778. {
  1779. $this->image = $image;
  1780. }
  1781. public function getImage()
  1782. {
  1783. return $this->image;
  1784. }
  1785. public function setUrl($url)
  1786. {
  1787. $this->url = $url;
  1788. }
  1789. public function getUrl()
  1790. {
  1791. return $this->url;
  1792. }
  1793. public function setVerification(Google_Service_Plus_CommentActorVerification $verification)
  1794. {
  1795. $this->verification = $verification;
  1796. }
  1797. public function getVerification()
  1798. {
  1799. return $this->verification;
  1800. }
  1801. }
  1802. class Google_Service_Plus_CommentActorClientSpecificActorInfo extends Google_Model
  1803. {
  1804. protected $internal_gapi_mappings = array(
  1805. );
  1806. protected $youtubeActorInfoType = 'Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo';
  1807. protected $youtubeActorInfoDataType = '';
  1808. public function setYoutubeActorInfo(Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo $youtubeActorInfo)
  1809. {
  1810. $this->youtubeActorInfo = $youtubeActorInfo;
  1811. }
  1812. public function getYoutubeActorInfo()
  1813. {
  1814. return $this->youtubeActorInfo;
  1815. }
  1816. }
  1817. class Google_Service_Plus_CommentActorClientSpecificActorInfoYoutubeActorInfo extends Google_Model
  1818. {
  1819. protected $internal_gapi_mappings = array(
  1820. );
  1821. public $channelId;
  1822. public function setChannelId($channelId)
  1823. {
  1824. $this->channelId = $channelId;
  1825. }
  1826. public functio

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