PageRenderTime 63ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 1ms

/config/google-api-php-bng/src/Google/Service/PlusDomains.php

https://github.com/SimpleStudiosDevelopment/oa2019_old_website
PHP | 3988 lines | 3053 code | 588 blank | 347 comment | 0 complexity | 9bca144d8776a0d3ce366ce84b6908c1 MD5 | raw file
Possible License(s): Apache-2.0

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 PlusDomains (v1).
  19. *
  20. * <p>
  21. * The Google+ API enables developers to build on top of the Google+ platform.
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/+/domains/" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_PlusDomains extends Google_Service
  32. {
  33. /** View your circles and the people and pages in them. */
  34. const PLUS_CIRCLES_READ = "https://www.googleapis.com/auth/plus.circles.read";
  35. /** Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.. */
  36. const PLUS_CIRCLES_WRITE = "https://www.googleapis.com/auth/plus.circles.write";
  37. /** Know your basic profile info and list of people in your circles.. */
  38. const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login";
  39. /** Know who you are on Google. */
  40. const PLUS_ME = "https://www.googleapis.com/auth/plus.me";
  41. /** Send your photos and videos to Google+. */
  42. const PLUS_MEDIA_UPLOAD = "https://www.googleapis.com/auth/plus.media.upload";
  43. /** View your own Google+ profile and profiles visible to you. */
  44. const PLUS_PROFILES_READ = "https://www.googleapis.com/auth/plus.profiles.read";
  45. /** View your Google+ posts, comments, and stream. */
  46. const PLUS_STREAM_READ = "https://www.googleapis.com/auth/plus.stream.read";
  47. /** Manage your Google+ posts, comments, and stream. */
  48. const PLUS_STREAM_WRITE = "https://www.googleapis.com/auth/plus.stream.write";
  49. /** View your email address. */
  50. const USERINFO_EMAIL = "https://www.googleapis.com/auth/userinfo.email";
  51. /** View basic information about your account. */
  52. const USERINFO_PROFILE = "https://www.googleapis.com/auth/userinfo.profile";
  53. public $activities;
  54. public $audiences;
  55. public $circles;
  56. public $comments;
  57. public $media;
  58. public $people;
  59. /**
  60. * Constructs the internal representation of the PlusDomains service.
  61. *
  62. * @param Google_Client $client
  63. */
  64. public function __construct(Google_Client $client)
  65. {
  66. parent::__construct($client);
  67. $this->servicePath = 'plusDomains/v1/';
  68. $this->version = 'v1';
  69. $this->serviceName = 'plusDomains';
  70. $this->activities = new Google_Service_PlusDomains_Activities_Resource(
  71. $this,
  72. $this->serviceName,
  73. 'activities',
  74. array(
  75. 'methods' => array(
  76. 'get' => array(
  77. 'path' => 'activities/{activityId}',
  78. 'httpMethod' => 'GET',
  79. 'parameters' => array(
  80. 'activityId' => array(
  81. 'location' => 'path',
  82. 'type' => 'string',
  83. 'required' => true,
  84. ),
  85. ),
  86. ),'insert' => array(
  87. 'path' => 'people/{userId}/activities',
  88. 'httpMethod' => 'POST',
  89. 'parameters' => array(
  90. 'userId' => array(
  91. 'location' => 'path',
  92. 'type' => 'string',
  93. 'required' => true,
  94. ),
  95. 'preview' => array(
  96. 'location' => 'query',
  97. 'type' => 'boolean',
  98. ),
  99. ),
  100. ),'list' => array(
  101. 'path' => 'people/{userId}/activities/{collection}',
  102. 'httpMethod' => 'GET',
  103. 'parameters' => array(
  104. 'userId' => array(
  105. 'location' => 'path',
  106. 'type' => 'string',
  107. 'required' => true,
  108. ),
  109. 'collection' => array(
  110. 'location' => 'path',
  111. 'type' => 'string',
  112. 'required' => true,
  113. ),
  114. 'pageToken' => array(
  115. 'location' => 'query',
  116. 'type' => 'string',
  117. ),
  118. 'maxResults' => array(
  119. 'location' => 'query',
  120. 'type' => 'integer',
  121. ),
  122. ),
  123. ),
  124. )
  125. )
  126. );
  127. $this->audiences = new Google_Service_PlusDomains_Audiences_Resource(
  128. $this,
  129. $this->serviceName,
  130. 'audiences',
  131. array(
  132. 'methods' => array(
  133. 'list' => array(
  134. 'path' => 'people/{userId}/audiences',
  135. 'httpMethod' => 'GET',
  136. 'parameters' => array(
  137. 'userId' => array(
  138. 'location' => 'path',
  139. 'type' => 'string',
  140. 'required' => true,
  141. ),
  142. 'pageToken' => array(
  143. 'location' => 'query',
  144. 'type' => 'string',
  145. ),
  146. 'maxResults' => array(
  147. 'location' => 'query',
  148. 'type' => 'integer',
  149. ),
  150. ),
  151. ),
  152. )
  153. )
  154. );
  155. $this->circles = new Google_Service_PlusDomains_Circles_Resource(
  156. $this,
  157. $this->serviceName,
  158. 'circles',
  159. array(
  160. 'methods' => array(
  161. 'addPeople' => array(
  162. 'path' => 'circles/{circleId}/people',
  163. 'httpMethod' => 'PUT',
  164. 'parameters' => array(
  165. 'circleId' => array(
  166. 'location' => 'path',
  167. 'type' => 'string',
  168. 'required' => true,
  169. ),
  170. 'userId' => array(
  171. 'location' => 'query',
  172. 'type' => 'string',
  173. 'repeated' => true,
  174. ),
  175. 'email' => array(
  176. 'location' => 'query',
  177. 'type' => 'string',
  178. 'repeated' => true,
  179. ),
  180. ),
  181. ),'get' => array(
  182. 'path' => 'circles/{circleId}',
  183. 'httpMethod' => 'GET',
  184. 'parameters' => array(
  185. 'circleId' => array(
  186. 'location' => 'path',
  187. 'type' => 'string',
  188. 'required' => true,
  189. ),
  190. ),
  191. ),'insert' => array(
  192. 'path' => 'people/{userId}/circles',
  193. 'httpMethod' => 'POST',
  194. 'parameters' => array(
  195. 'userId' => array(
  196. 'location' => 'path',
  197. 'type' => 'string',
  198. 'required' => true,
  199. ),
  200. ),
  201. ),'list' => array(
  202. 'path' => 'people/{userId}/circles',
  203. 'httpMethod' => 'GET',
  204. 'parameters' => array(
  205. 'userId' => array(
  206. 'location' => 'path',
  207. 'type' => 'string',
  208. 'required' => true,
  209. ),
  210. 'pageToken' => array(
  211. 'location' => 'query',
  212. 'type' => 'string',
  213. ),
  214. 'maxResults' => array(
  215. 'location' => 'query',
  216. 'type' => 'integer',
  217. ),
  218. ),
  219. ),'patch' => array(
  220. 'path' => 'circles/{circleId}',
  221. 'httpMethod' => 'PATCH',
  222. 'parameters' => array(
  223. 'circleId' => array(
  224. 'location' => 'path',
  225. 'type' => 'string',
  226. 'required' => true,
  227. ),
  228. ),
  229. ),'remove' => array(
  230. 'path' => 'circles/{circleId}',
  231. 'httpMethod' => 'DELETE',
  232. 'parameters' => array(
  233. 'circleId' => array(
  234. 'location' => 'path',
  235. 'type' => 'string',
  236. 'required' => true,
  237. ),
  238. ),
  239. ),'removePeople' => array(
  240. 'path' => 'circles/{circleId}/people',
  241. 'httpMethod' => 'DELETE',
  242. 'parameters' => array(
  243. 'circleId' => array(
  244. 'location' => 'path',
  245. 'type' => 'string',
  246. 'required' => true,
  247. ),
  248. 'userId' => array(
  249. 'location' => 'query',
  250. 'type' => 'string',
  251. 'repeated' => true,
  252. ),
  253. 'email' => array(
  254. 'location' => 'query',
  255. 'type' => 'string',
  256. 'repeated' => true,
  257. ),
  258. ),
  259. ),'update' => array(
  260. 'path' => 'circles/{circleId}',
  261. 'httpMethod' => 'PUT',
  262. 'parameters' => array(
  263. 'circleId' => array(
  264. 'location' => 'path',
  265. 'type' => 'string',
  266. 'required' => true,
  267. ),
  268. ),
  269. ),
  270. )
  271. )
  272. );
  273. $this->comments = new Google_Service_PlusDomains_Comments_Resource(
  274. $this,
  275. $this->serviceName,
  276. 'comments',
  277. array(
  278. 'methods' => array(
  279. 'get' => array(
  280. 'path' => 'comments/{commentId}',
  281. 'httpMethod' => 'GET',
  282. 'parameters' => array(
  283. 'commentId' => array(
  284. 'location' => 'path',
  285. 'type' => 'string',
  286. 'required' => true,
  287. ),
  288. ),
  289. ),'insert' => array(
  290. 'path' => 'activities/{activityId}/comments',
  291. 'httpMethod' => 'POST',
  292. 'parameters' => array(
  293. 'activityId' => array(
  294. 'location' => 'path',
  295. 'type' => 'string',
  296. 'required' => true,
  297. ),
  298. ),
  299. ),'list' => array(
  300. 'path' => 'activities/{activityId}/comments',
  301. 'httpMethod' => 'GET',
  302. 'parameters' => array(
  303. 'activityId' => array(
  304. 'location' => 'path',
  305. 'type' => 'string',
  306. 'required' => true,
  307. ),
  308. 'pageToken' => array(
  309. 'location' => 'query',
  310. 'type' => 'string',
  311. ),
  312. 'sortOrder' => array(
  313. 'location' => 'query',
  314. 'type' => 'string',
  315. ),
  316. 'maxResults' => array(
  317. 'location' => 'query',
  318. 'type' => 'integer',
  319. ),
  320. ),
  321. ),
  322. )
  323. )
  324. );
  325. $this->media = new Google_Service_PlusDomains_Media_Resource(
  326. $this,
  327. $this->serviceName,
  328. 'media',
  329. array(
  330. 'methods' => array(
  331. 'insert' => array(
  332. 'path' => 'people/{userId}/media/{collection}',
  333. 'httpMethod' => 'POST',
  334. 'parameters' => array(
  335. 'userId' => array(
  336. 'location' => 'path',
  337. 'type' => 'string',
  338. 'required' => true,
  339. ),
  340. 'collection' => array(
  341. 'location' => 'path',
  342. 'type' => 'string',
  343. 'required' => true,
  344. ),
  345. ),
  346. ),
  347. )
  348. )
  349. );
  350. $this->people = new Google_Service_PlusDomains_People_Resource(
  351. $this,
  352. $this->serviceName,
  353. 'people',
  354. array(
  355. 'methods' => array(
  356. 'get' => array(
  357. 'path' => 'people/{userId}',
  358. 'httpMethod' => 'GET',
  359. 'parameters' => array(
  360. 'userId' => array(
  361. 'location' => 'path',
  362. 'type' => 'string',
  363. 'required' => true,
  364. ),
  365. ),
  366. ),'list' => array(
  367. 'path' => 'people/{userId}/people/{collection}',
  368. 'httpMethod' => 'GET',
  369. 'parameters' => array(
  370. 'userId' => array(
  371. 'location' => 'path',
  372. 'type' => 'string',
  373. 'required' => true,
  374. ),
  375. 'collection' => array(
  376. 'location' => 'path',
  377. 'type' => 'string',
  378. 'required' => true,
  379. ),
  380. 'orderBy' => array(
  381. 'location' => 'query',
  382. 'type' => 'string',
  383. ),
  384. 'pageToken' => array(
  385. 'location' => 'query',
  386. 'type' => 'string',
  387. ),
  388. 'maxResults' => array(
  389. 'location' => 'query',
  390. 'type' => 'integer',
  391. ),
  392. ),
  393. ),'listByActivity' => array(
  394. 'path' => 'activities/{activityId}/people/{collection}',
  395. 'httpMethod' => 'GET',
  396. 'parameters' => array(
  397. 'activityId' => array(
  398. 'location' => 'path',
  399. 'type' => 'string',
  400. 'required' => true,
  401. ),
  402. 'collection' => array(
  403. 'location' => 'path',
  404. 'type' => 'string',
  405. 'required' => true,
  406. ),
  407. 'pageToken' => array(
  408. 'location' => 'query',
  409. 'type' => 'string',
  410. ),
  411. 'maxResults' => array(
  412. 'location' => 'query',
  413. 'type' => 'integer',
  414. ),
  415. ),
  416. ),'listByCircle' => array(
  417. 'path' => 'circles/{circleId}/people',
  418. 'httpMethod' => 'GET',
  419. 'parameters' => array(
  420. 'circleId' => array(
  421. 'location' => 'path',
  422. 'type' => 'string',
  423. 'required' => true,
  424. ),
  425. 'pageToken' => array(
  426. 'location' => 'query',
  427. 'type' => 'string',
  428. ),
  429. 'maxResults' => array(
  430. 'location' => 'query',
  431. 'type' => 'integer',
  432. ),
  433. ),
  434. ),
  435. )
  436. )
  437. );
  438. }
  439. }
  440. /**
  441. * The "activities" collection of methods.
  442. * Typical usage is:
  443. * <code>
  444. * $plusDomainsService = new Google_Service_PlusDomains(...);
  445. * $activities = $plusDomainsService->activities;
  446. * </code>
  447. */
  448. class Google_Service_PlusDomains_Activities_Resource extends Google_Service_Resource
  449. {
  450. /**
  451. * Get an activity. (activities.get)
  452. *
  453. * @param string $activityId
  454. * The ID of the activity to get.
  455. * @param array $optParams Optional parameters.
  456. * @return Google_Service_PlusDomains_Activity
  457. */
  458. public function get($activityId, $optParams = array())
  459. {
  460. $params = array('activityId' => $activityId);
  461. $params = array_merge($params, $optParams);
  462. return $this->call('get', array($params), "Google_Service_PlusDomains_Activity");
  463. }
  464. /**
  465. * Create a new activity for the authenticated user. (activities.insert)
  466. *
  467. * @param string $userId
  468. * The ID of the user to create the activity on behalf of. Its value should be "me", to indicate
  469. * the authenticated user.
  470. * @param Google_Activity $postBody
  471. * @param array $optParams Optional parameters.
  472. *
  473. * @opt_param bool preview
  474. * If "true", extract the potential media attachments for a URL. The response will include all
  475. * possible attachments for a URL, including video, photos, and articles based on the content of
  476. * the page.
  477. * @return Google_Service_PlusDomains_Activity
  478. */
  479. public function insert($userId, Google_Service_PlusDomains_Activity $postBody, $optParams = array())
  480. {
  481. $params = array('userId' => $userId, 'postBody' => $postBody);
  482. $params = array_merge($params, $optParams);
  483. return $this->call('insert', array($params), "Google_Service_PlusDomains_Activity");
  484. }
  485. /**
  486. * List all of the activities in the specified collection for a particular user.
  487. * (activities.listActivities)
  488. *
  489. * @param string $userId
  490. * The ID of the user to get activities for. The special value "me" can be used to indicate the
  491. * authenticated user.
  492. * @param string $collection
  493. * The collection of activities to list.
  494. * @param array $optParams Optional parameters.
  495. *
  496. * @opt_param string pageToken
  497. * The continuation token, which is used to page through large result sets. To get the next page of
  498. * results, set this parameter to the value of "nextPageToken" from the previous response.
  499. * @opt_param string maxResults
  500. * The maximum number of activities to include in the response, which is used for paging. For any
  501. * response, the actual number returned might be less than the specified maxResults.
  502. * @return Google_Service_PlusDomains_ActivityFeed
  503. */
  504. public function listActivities($userId, $collection, $optParams = array())
  505. {
  506. $params = array('userId' => $userId, 'collection' => $collection);
  507. $params = array_merge($params, $optParams);
  508. return $this->call('list', array($params), "Google_Service_PlusDomains_ActivityFeed");
  509. }
  510. }
  511. /**
  512. * The "audiences" collection of methods.
  513. * Typical usage is:
  514. * <code>
  515. * $plusDomainsService = new Google_Service_PlusDomains(...);
  516. * $audiences = $plusDomainsService->audiences;
  517. * </code>
  518. */
  519. class Google_Service_PlusDomains_Audiences_Resource extends Google_Service_Resource
  520. {
  521. /**
  522. * List all of the audiences to which a user can share.
  523. * (audiences.listAudiences)
  524. *
  525. * @param string $userId
  526. * The ID of the user to get audiences for. The special value "me" can be used to indicate the
  527. * authenticated user.
  528. * @param array $optParams Optional parameters.
  529. *
  530. * @opt_param string pageToken
  531. * The continuation token, which is used to page through large result sets. To get the next page of
  532. * results, set this parameter to the value of "nextPageToken" from the previous response.
  533. * @opt_param string maxResults
  534. * The maximum number of circles to include in the response, which is used for paging. For any
  535. * response, the actual number returned might be less than the specified maxResults.
  536. * @return Google_Service_PlusDomains_AudiencesFeed
  537. */
  538. public function listAudiences($userId, $optParams = array())
  539. {
  540. $params = array('userId' => $userId);
  541. $params = array_merge($params, $optParams);
  542. return $this->call('list', array($params), "Google_Service_PlusDomains_AudiencesFeed");
  543. }
  544. }
  545. /**
  546. * The "circles" collection of methods.
  547. * Typical usage is:
  548. * <code>
  549. * $plusDomainsService = new Google_Service_PlusDomains(...);
  550. * $circles = $plusDomainsService->circles;
  551. * </code>
  552. */
  553. class Google_Service_PlusDomains_Circles_Resource extends Google_Service_Resource
  554. {
  555. /**
  556. * Add a person to a circle. Google+ limits certain circle operations, including
  557. * the number of circle adds. Learn More. (circles.addPeople)
  558. *
  559. * @param string $circleId
  560. * The ID of the circle to add the person to.
  561. * @param array $optParams Optional parameters.
  562. *
  563. * @opt_param string userId
  564. * IDs of the people to add to the circle. Optional, can be repeated.
  565. * @opt_param string email
  566. * Email of the people to add to the circle. Optional, can be repeated.
  567. * @return Google_Service_PlusDomains_Circle
  568. */
  569. public function addPeople($circleId, $optParams = array())
  570. {
  571. $params = array('circleId' => $circleId);
  572. $params = array_merge($params, $optParams);
  573. return $this->call('addPeople', array($params), "Google_Service_PlusDomains_Circle");
  574. }
  575. /**
  576. * Get a circle. (circles.get)
  577. *
  578. * @param string $circleId
  579. * The ID of the circle to get.
  580. * @param array $optParams Optional parameters.
  581. * @return Google_Service_PlusDomains_Circle
  582. */
  583. public function get($circleId, $optParams = array())
  584. {
  585. $params = array('circleId' => $circleId);
  586. $params = array_merge($params, $optParams);
  587. return $this->call('get', array($params), "Google_Service_PlusDomains_Circle");
  588. }
  589. /**
  590. * Create a new circle for the authenticated user. (circles.insert)
  591. *
  592. * @param string $userId
  593. * The ID of the user to create the circle on behalf of. The value "me" can be used to indicate the
  594. * authenticated user.
  595. * @param Google_Circle $postBody
  596. * @param array $optParams Optional parameters.
  597. * @return Google_Service_PlusDomains_Circle
  598. */
  599. public function insert($userId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  600. {
  601. $params = array('userId' => $userId, 'postBody' => $postBody);
  602. $params = array_merge($params, $optParams);
  603. return $this->call('insert', array($params), "Google_Service_PlusDomains_Circle");
  604. }
  605. /**
  606. * List all of the circles for a user. (circles.listCircles)
  607. *
  608. * @param string $userId
  609. * The ID of the user to get circles for. The special value "me" can be used to indicate the
  610. * authenticated user.
  611. * @param array $optParams Optional parameters.
  612. *
  613. * @opt_param string pageToken
  614. * The continuation token, which is used to page through large result sets. To get the next page of
  615. * results, set this parameter to the value of "nextPageToken" from the previous response.
  616. * @opt_param string maxResults
  617. * The maximum number of circles to include in the response, which is used for paging. For any
  618. * response, the actual number returned might be less than the specified maxResults.
  619. * @return Google_Service_PlusDomains_CircleFeed
  620. */
  621. public function listCircles($userId, $optParams = array())
  622. {
  623. $params = array('userId' => $userId);
  624. $params = array_merge($params, $optParams);
  625. return $this->call('list', array($params), "Google_Service_PlusDomains_CircleFeed");
  626. }
  627. /**
  628. * Update a circle's description. This method supports patch semantics.
  629. * (circles.patch)
  630. *
  631. * @param string $circleId
  632. * The ID of the circle to update.
  633. * @param Google_Circle $postBody
  634. * @param array $optParams Optional parameters.
  635. * @return Google_Service_PlusDomains_Circle
  636. */
  637. public function patch($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  638. {
  639. $params = array('circleId' => $circleId, 'postBody' => $postBody);
  640. $params = array_merge($params, $optParams);
  641. return $this->call('patch', array($params), "Google_Service_PlusDomains_Circle");
  642. }
  643. /**
  644. * Delete a circle. (circles.remove)
  645. *
  646. * @param string $circleId
  647. * The ID of the circle to delete.
  648. * @param array $optParams Optional parameters.
  649. */
  650. public function remove($circleId, $optParams = array())
  651. {
  652. $params = array('circleId' => $circleId);
  653. $params = array_merge($params, $optParams);
  654. return $this->call('remove', array($params));
  655. }
  656. /**
  657. * Remove a person from a circle. (circles.removePeople)
  658. *
  659. * @param string $circleId
  660. * The ID of the circle to remove the person from.
  661. * @param array $optParams Optional parameters.
  662. *
  663. * @opt_param string userId
  664. * IDs of the people to remove from the circle. Optional, can be repeated.
  665. * @opt_param string email
  666. * Email of the people to add to the circle. Optional, can be repeated.
  667. */
  668. public function removePeople($circleId, $optParams = array())
  669. {
  670. $params = array('circleId' => $circleId);
  671. $params = array_merge($params, $optParams);
  672. return $this->call('removePeople', array($params));
  673. }
  674. /**
  675. * Update a circle's description. (circles.update)
  676. *
  677. * @param string $circleId
  678. * The ID of the circle to update.
  679. * @param Google_Circle $postBody
  680. * @param array $optParams Optional parameters.
  681. * @return Google_Service_PlusDomains_Circle
  682. */
  683. public function update($circleId, Google_Service_PlusDomains_Circle $postBody, $optParams = array())
  684. {
  685. $params = array('circleId' => $circleId, 'postBody' => $postBody);
  686. $params = array_merge($params, $optParams);
  687. return $this->call('update', array($params), "Google_Service_PlusDomains_Circle");
  688. }
  689. }
  690. /**
  691. * The "comments" collection of methods.
  692. * Typical usage is:
  693. * <code>
  694. * $plusDomainsService = new Google_Service_PlusDomains(...);
  695. * $comments = $plusDomainsService->comments;
  696. * </code>
  697. */
  698. class Google_Service_PlusDomains_Comments_Resource extends Google_Service_Resource
  699. {
  700. /**
  701. * Get a comment. (comments.get)
  702. *
  703. * @param string $commentId
  704. * The ID of the comment to get.
  705. * @param array $optParams Optional parameters.
  706. * @return Google_Service_PlusDomains_Comment
  707. */
  708. public function get($commentId, $optParams = array())
  709. {
  710. $params = array('commentId' => $commentId);
  711. $params = array_merge($params, $optParams);
  712. return $this->call('get', array($params), "Google_Service_PlusDomains_Comment");
  713. }
  714. /**
  715. * Create a new comment in reply to an activity. (comments.insert)
  716. *
  717. * @param string $activityId
  718. * The ID of the activity to reply to.
  719. * @param Google_Comment $postBody
  720. * @param array $optParams Optional parameters.
  721. * @return Google_Service_PlusDomains_Comment
  722. */
  723. public function insert($activityId, Google_Service_PlusDomains_Comment $postBody, $optParams = array())
  724. {
  725. $params = array('activityId' => $activityId, 'postBody' => $postBody);
  726. $params = array_merge($params, $optParams);
  727. return $this->call('insert', array($params), "Google_Service_PlusDomains_Comment");
  728. }
  729. /**
  730. * List all of the comments for an activity. (comments.listComments)
  731. *
  732. * @param string $activityId
  733. * The ID of the activity to get comments for.
  734. * @param array $optParams Optional parameters.
  735. *
  736. * @opt_param string pageToken
  737. * The continuation token, which is used to page through large result sets. To get the next page of
  738. * results, set this parameter to the value of "nextPageToken" from the previous response.
  739. * @opt_param string sortOrder
  740. * The order in which to sort the list of comments.
  741. * @opt_param string maxResults
  742. * The maximum number of comments to include in the response, which is used for paging. For any
  743. * response, the actual number returned might be less than the specified maxResults.
  744. * @return Google_Service_PlusDomains_CommentFeed
  745. */
  746. public function listComments($activityId, $optParams = array())
  747. {
  748. $params = array('activityId' => $activityId);
  749. $params = array_merge($params, $optParams);
  750. return $this->call('list', array($params), "Google_Service_PlusDomains_CommentFeed");
  751. }
  752. }
  753. /**
  754. * The "media" collection of methods.
  755. * Typical usage is:
  756. * <code>
  757. * $plusDomainsService = new Google_Service_PlusDomains(...);
  758. * $media = $plusDomainsService->media;
  759. * </code>
  760. */
  761. class Google_Service_PlusDomains_Media_Resource extends Google_Service_Resource
  762. {
  763. /**
  764. * Add a new media item to an album. The current upload size limitations are
  765. * 36MB for a photo and 1GB for a video. Uploads do not count against quota if
  766. * photos are less than 2048 pixels on their longest side or videos are less
  767. * than 15 minutes in length. (media.insert)
  768. *
  769. * @param string $userId
  770. * The ID of the user to create the activity on behalf of.
  771. * @param string $collection
  772. *
  773. * @param Google_Media $postBody
  774. * @param array $optParams Optional parameters.
  775. * @return Google_Service_PlusDomains_Media
  776. */
  777. public function insert($userId, $collection, Google_Service_PlusDomains_Media $postBody, $optParams = array())
  778. {
  779. $params = array('userId' => $userId, 'collection' => $collection, 'postBody' => $postBody);
  780. $params = array_merge($params, $optParams);
  781. return $this->call('insert', array($params), "Google_Service_PlusDomains_Media");
  782. }
  783. }
  784. /**
  785. * The "people" collection of methods.
  786. * Typical usage is:
  787. * <code>
  788. * $plusDomainsService = new Google_Service_PlusDomains(...);
  789. * $people = $plusDomainsService->people;
  790. * </code>
  791. */
  792. class Google_Service_PlusDomains_People_Resource extends Google_Service_Resource
  793. {
  794. /**
  795. * Get a person's profile. (people.get)
  796. *
  797. * @param string $userId
  798. * The ID of the person to get the profile for. The special value "me" can be used to indicate the
  799. * authenticated user.
  800. * @param array $optParams Optional parameters.
  801. * @return Google_Service_PlusDomains_Person
  802. */
  803. public function get($userId, $optParams = array())
  804. {
  805. $params = array('userId' => $userId);
  806. $params = array_merge($params, $optParams);
  807. return $this->call('get', array($params), "Google_Service_PlusDomains_Person");
  808. }
  809. /**
  810. * List all of the people in the specified collection. (people.listPeople)
  811. *
  812. * @param string $userId
  813. * Get the collection of people for the person identified. Use "me" to indicate the authenticated
  814. * user.
  815. * @param string $collection
  816. * The collection of people to list.
  817. * @param array $optParams Optional parameters.
  818. *
  819. * @opt_param string orderBy
  820. * The order to return people in.
  821. * @opt_param string pageToken
  822. * The continuation token, which is used to page through large result sets. To get the next page of
  823. * results, set this parameter to the value of "nextPageToken" from the previous response.
  824. * @opt_param string maxResults
  825. * The maximum number of people to include in the response, which is used for paging. For any
  826. * response, the actual number returned might be less than the specified maxResults.
  827. * @return Google_Service_PlusDomains_PeopleFeed
  828. */
  829. public function listPeople($userId, $collection, $optParams = array())
  830. {
  831. $params = array('userId' => $userId, 'collection' => $collection);
  832. $params = array_merge($params, $optParams);
  833. return $this->call('list', array($params), "Google_Service_PlusDomains_PeopleFeed");
  834. }
  835. /**
  836. * List all of the people in the specified collection for a particular activity.
  837. * (people.listByActivity)
  838. *
  839. * @param string $activityId
  840. * The ID of the activity to get the list of people for.
  841. * @param string $collection
  842. * The collection of people to list.
  843. * @param array $optParams Optional parameters.
  844. *
  845. * @opt_param string pageToken
  846. * The continuation token, which is used to page through large result sets. To get the next page of
  847. * results, set this parameter to the value of "nextPageToken" from the previous response.
  848. * @opt_param string maxResults
  849. * The maximum number of people to include in the response, which is used for paging. For any
  850. * response, the actual number returned might be less than the specified maxResults.
  851. * @return Google_Service_PlusDomains_PeopleFeed
  852. */
  853. public function listByActivity($activityId, $collection, $optParams = array())
  854. {
  855. $params = array('activityId' => $activityId, 'collection' => $collection);
  856. $params = array_merge($params, $optParams);
  857. return $this->call('listByActivity', array($params), "Google_Service_PlusDomains_PeopleFeed");
  858. }
  859. /**
  860. * List all of the people who are members of a circle. (people.listByCircle)
  861. *
  862. * @param string $circleId
  863. * The ID of the circle to get the members of.
  864. * @param array $optParams Optional parameters.
  865. *
  866. * @opt_param string pageToken
  867. * The continuation token, which is used to page through large result sets. To get the next page of
  868. * results, set this parameter to the value of "nextPageToken" from the previous response.
  869. * @opt_param string maxResults
  870. * The maximum number of people to include in the response, which is used for paging. For any
  871. * response, the actual number returned might be less than the specified maxResults.
  872. * @return Google_Service_PlusDomains_PeopleFeed
  873. */
  874. public function listByCircle($circleId, $optParams = array())
  875. {
  876. $params = array('circleId' => $circleId);
  877. $params = array_merge($params, $optParams);
  878. return $this->call('listByCircle', array($params), "Google_Service_PlusDomains_PeopleFeed");
  879. }
  880. }
  881. class Google_Service_PlusDomains_Acl extends Google_Collection
  882. {
  883. public $description;
  884. public $domainRestricted;
  885. protected $itemsType = 'Google_Service_PlusDomains_PlusDomainsAclentryResource';
  886. protected $itemsDataType = 'array';
  887. public $kind;
  888. public function setDescription($description)
  889. {
  890. $this->description = $description;
  891. }
  892. public function getDescription()
  893. {
  894. return $this->description;
  895. }
  896. public function setDomainRestricted($domainRestricted)
  897. {
  898. $this->domainRestricted = $domainRestricted;
  899. }
  900. public function getDomainRestricted()
  901. {
  902. return $this->domainRestricted;
  903. }
  904. public function setItems($items)
  905. {
  906. $this->items = $items;
  907. }
  908. public function getItems()
  909. {
  910. return $this->items;
  911. }
  912. public function setKind($kind)
  913. {
  914. $this->kind = $kind;
  915. }
  916. public function getKind()
  917. {
  918. return $this->kind;
  919. }
  920. }
  921. class Google_Service_PlusDomains_Activity extends Google_Model
  922. {
  923. protected $accessType = 'Google_Service_PlusDomains_Acl';
  924. protected $accessDataType = '';
  925. protected $actorType = 'Google_Service_PlusDomains_ActivityActor';
  926. protected $actorDataType = '';
  927. public $address;
  928. public $annotation;
  929. public $crosspostSource;
  930. public $etag;
  931. public $geocode;
  932. public $id;
  933. public $kind;
  934. protected $locationType = 'Google_Service_PlusDomains_Place';
  935. protected $locationDataType = '';
  936. protected $objectType = 'Google_Service_PlusDomains_ActivityObject';
  937. protected $objectDataType = '';
  938. public $placeId;
  939. public $placeName;
  940. protected $providerType = 'Google_Service_PlusDomains_ActivityProvider';
  941. protected $providerDataType = '';
  942. public $published;
  943. public $radius;
  944. public $title;
  945. public $updated;
  946. public $url;
  947. public $verb;
  948. public function setAccess(Google_Service_PlusDomains_Acl $access)
  949. {
  950. $this->access = $access;
  951. }
  952. public function getAccess()
  953. {
  954. return $this->access;
  955. }
  956. public function setActor(Google_Service_PlusDomains_ActivityActor $actor)
  957. {
  958. $this->actor = $actor;
  959. }
  960. public function getActor()
  961. {
  962. return $this->actor;
  963. }
  964. public function setAddress($address)
  965. {
  966. $this->address = $address;
  967. }
  968. public function getAddress()
  969. {
  970. return $this->address;
  971. }
  972. public function setAnnotation($annotation)
  973. {
  974. $this->annotation = $annotation;
  975. }
  976. public function getAnnotation()
  977. {
  978. return $this->annotation;
  979. }
  980. public function setCrosspostSource($crosspostSource)
  981. {
  982. $this->crosspostSource = $crosspostSource;
  983. }
  984. public function getCrosspostSource()
  985. {
  986. return $this->crosspostSource;
  987. }
  988. public function setEtag($etag)
  989. {
  990. $this->etag = $etag;
  991. }
  992. public function getEtag()
  993. {
  994. return $this->etag;
  995. }
  996. public function setGeocode($geocode)
  997. {
  998. $this->geocode = $geocode;
  999. }
  1000. public function getGeocode()
  1001. {
  1002. return $this->geocode;
  1003. }
  1004. public function setId($id)
  1005. {
  1006. $this->id = $id;
  1007. }
  1008. public function getId()
  1009. {
  1010. return $this->id;
  1011. }
  1012. public function setKind($kind)
  1013. {
  1014. $this->kind = $kind;
  1015. }
  1016. public function getKind()
  1017. {
  1018. return $this->kind;
  1019. }
  1020. public function setLocation(Google_Service_PlusDomains_Place $location)
  1021. {
  1022. $this->location = $location;
  1023. }
  1024. public function getLocation()
  1025. {
  1026. return $this->location;
  1027. }
  1028. public function setObject(Google_Service_PlusDomains_ActivityObject $object)
  1029. {
  1030. $this->object = $object;
  1031. }
  1032. public function getObject()
  1033. {
  1034. return $this->object;
  1035. }
  1036. public function setPlaceId($placeId)
  1037. {
  1038. $this->placeId = $placeId;
  1039. }
  1040. public function getPlaceId()
  1041. {
  1042. return $this->placeId;
  1043. }
  1044. public function setPlaceName($placeName)
  1045. {
  1046. $this->placeName = $placeName;
  1047. }
  1048. public function getPlaceName()
  1049. {
  1050. return $this->placeName;
  1051. }
  1052. public function setProvider(Google_Service_PlusDomains_ActivityProvider $provider)
  1053. {
  1054. $this->provider = $provider;
  1055. }
  1056. public function getProvider()
  1057. {
  1058. return $this->provider;
  1059. }
  1060. public function setPublished($published)
  1061. {
  1062. $this->published = $published;
  1063. }
  1064. public function getPublished()
  1065. {
  1066. return $this->published;
  1067. }
  1068. public function setRadius($radius)
  1069. {
  1070. $this->radius = $radius;
  1071. }
  1072. public function getRadius()
  1073. {
  1074. return $this->radius;
  1075. }
  1076. public function setTitle($title)
  1077. {
  1078. $this->title = $title;
  1079. }
  1080. public function getTitle()
  1081. {
  1082. return $this->title;
  1083. }
  1084. public function setUpdated($updated)
  1085. {
  1086. $this->updated = $updated;
  1087. }
  1088. public function getUpdated()
  1089. {
  1090. return $this->updated;
  1091. }
  1092. public function setUrl($url)
  1093. {
  1094. $this->url = $url;
  1095. }
  1096. public function getUrl()
  1097. {
  1098. return $this->url;
  1099. }
  1100. public function setVerb($verb)
  1101. {
  1102. $this->verb = $verb;
  1103. }
  1104. public function getVerb()
  1105. {
  1106. return $this->verb;
  1107. }
  1108. }
  1109. class Google_Service_PlusDomains_ActivityActor extends Google_Model
  1110. {
  1111. public $displayName;
  1112. public $id;
  1113. protected $imageType = 'Google_Service_PlusDomains_ActivityActorImage';
  1114. protected $imageDataType = '';
  1115. protected $nameType = 'Google_Service_PlusDomains_ActivityActorName';
  1116. protected $nameDataType = '';
  1117. public $url;
  1118. public function setDisplayName($displayName)
  1119. {
  1120. $this->displayName = $displayName;
  1121. }
  1122. public function getDisplayName()
  1123. {
  1124. return $this->displayName;
  1125. }
  1126. public function setId($id)
  1127. {
  1128. $this->id = $id;
  1129. }
  1130. public function getId()
  1131. {
  1132. return $this->id;
  1133. }
  1134. public function setImage(Google_Service_PlusDomains_ActivityActorImage $image)
  1135. {
  1136. $this->image = $image;
  1137. }
  1138. public function getImage()
  1139. {
  1140. return $this->image;
  1141. }
  1142. public function setName(Google_Service_PlusDomains_ActivityActorName $name)
  1143. {
  1144. $this->name = $name;
  1145. }
  1146. public function getName()
  1147. {
  1148. return $this->name;
  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_PlusDomains_ActivityActorImage extends Google_Model
  1160. {
  1161. public $url;
  1162. public function setUrl($url)
  1163. {
  1164. $this->url = $url;
  1165. }
  1166. public function getUrl()
  1167. {
  1168. return $this->url;
  1169. }
  1170. }
  1171. class Google_Service_PlusDomains_ActivityActorName extends Google_Model
  1172. {
  1173. public $familyName;
  1174. public $givenName;
  1175. public function setFamilyName($familyName)
  1176. {
  1177. $this->familyName = $familyName;
  1178. }
  1179. public function getFamilyName()
  1180. {
  1181. return $this->familyName;
  1182. }
  1183. public function setGivenName($givenName)
  1184. {
  1185. $this->givenName = $givenName;
  1186. }
  1187. public function getGivenName()
  1188. {
  1189. return $this->givenName;
  1190. }
  1191. }
  1192. class Google_Service_PlusDomains_ActivityFeed extends Google_Collection
  1193. {
  1194. public $etag;
  1195. public $id;
  1196. protected $itemsType = 'Google_Service_PlusDomains_Activity';
  1197. protected $itemsDataType = 'array';
  1198. public $kind;
  1199. public $nextLink;
  1200. public $nextPageToken;
  1201. public $selfLink;
  1202. public $title;
  1203. public $updated;
  1204. public function setEtag($etag)
  1205. {
  1206. $this->etag = $etag;
  1207. }
  1208. public function getEtag()
  1209. {
  1210. return $this->etag;
  1211. }
  1212. public function setId($id)
  1213. {
  1214. $this->id = $id;
  1215. }
  1216. public function getId()
  1217. {
  1218. return $this->id;
  1219. }
  1220. public function setItems($items)
  1221. {
  1222. $this->items = $items;
  1223. }
  1224. public function getItems()
  1225. {
  1226. return $this->items;
  1227. }
  1228. public function setKind($kind)
  1229. {
  1230. $this->kind = $kind;
  1231. }
  1232. public function getKind()
  1233. {
  1234. return $this->kind;
  1235. }
  1236. public function setNextLink($nextLink)
  1237. {
  1238. $this->nextLink = $nextLink;
  1239. }
  1240. public function getNextLink()
  1241. {
  1242. return $this->nextLink;
  1243. }
  1244. public function setNextPageToken($nextPageToken)
  1245. {
  1246. $this->nextPageToken = $nextPageToken;
  1247. }
  1248. public function getNextPageToken()
  1249. {
  1250. return $this->nextPageToken;
  1251. }
  1252. public function setSelfLink($selfLink)
  1253. {
  1254. $this->selfLink = $selfLink;
  1255. }
  1256. public function getSelfLink()
  1257. {
  1258. return $this->selfLink;
  1259. }
  1260. public function setTitle($title)
  1261. {
  1262. $this->title = $title;
  1263. }
  1264. public function getTitle()
  1265. {
  1266. return $this->title;
  1267. }
  1268. public function setUpdated($updated)
  1269. {
  1270. $this->updated = $updated;
  1271. }
  1272. public function getUpdated()
  1273. {
  1274. return $this->updated;
  1275. }
  1276. }
  1277. class Google_Service_PlusDomains_ActivityObject extends Google_Collection
  1278. {
  1279. protected $actorType = 'Google_Service_PlusDomains_ActivityObjectActor';
  1280. protected $actorDataType = '';
  1281. protected $attachmentsType = 'Google_Service_PlusDomains_ActivityObjectAttachments';
  1282. protected $attachmentsDataType = 'array';
  1283. public $content;
  1284. public $id;
  1285. public $objectType;
  1286. public $originalContent;
  1287. protected $plusonersType = 'Google_Service_PlusDomains_ActivityObjectPlusoners';
  1288. protected $plusonersDataType = '';
  1289. protected $repliesType = 'Google_Service_PlusDomains_ActivityObjectReplies';
  1290. protected $repliesDataType = '';
  1291. protected $resharersType = 'Google_Service_PlusDomains_ActivityObjectResharers';
  1292. protected $resharersDataType = '';
  1293. protected $statusForViewerType = 'Google_Service_PlusDomains_ActivityObjectStatusForViewer';
  1294. protected $statusForViewerDataType = '';
  1295. public $url;
  1296. public function setActor(Google_Service_PlusDomains_ActivityObjectActor $actor)
  1297. {
  1298. $this->actor = $actor;
  1299. }
  1300. public function getActor()
  1301. {
  1302. return $this->actor;
  1303. }
  1304. public function setAttachments($attachments)
  1305. {
  1306. $this->attachments = $attachments;
  1307. }
  1308. public function getAttachments()
  1309. {
  1310. return $this->attachments;
  1311. }
  1312. public function setContent($content)
  1313. {
  1314. $this->content = $content;
  1315. }
  1316. public function getContent()
  1317. {
  1318. return $this->content;
  1319. }
  1320. public function setId($id)
  1321. {
  1322. $this->id = $id;
  1323. }
  1324. public function getId()
  1325. {
  1326. return $this->id;
  1327. }
  1328. public function setObjectType($objectType)
  1329. {
  1330. $this->objectType = $objectType;
  1331. }
  1332. public function getObjectType()
  1333. {
  1334. return $this->objectType;
  1335. }
  1336. public function setOriginalContent($originalContent)
  1337. {
  1338. $this->originalContent = $originalContent;
  1339. }
  1340. public function getOriginalContent()
  1341. {
  1342. return $this->originalContent;
  1343. }
  1344. public function setPlusoners(Google_Service_PlusDomains_ActivityObjectPlusoners $plusoners)
  1345. {
  1346. $this->plusoners = $plusoners;
  1347. }
  1348. public function getPlusoners()
  1349. {
  1350. return $this->plusoners;
  1351. }
  1352. public function setReplies(Google_Service_PlusDomains_ActivityObjectReplies $replies)
  1353. {
  1354. $this->replies = $replies;
  1355. }
  1356. public function getReplies()
  1357. {
  1358. return $this->replies;
  1359. }
  1360. public function setResharers(Google_Service_PlusDomains_ActivityObjectResharers $resharers)
  1361. {
  1362. $this->resharers = $resharers;
  1363. }
  1364. public function getResharers()
  1365. {
  1366. return $this->resharers;
  1367. }
  1368. public function setStatusForViewer(Google_Service_PlusDomains_ActivityObjectStatusForViewer $statusForViewer)
  1369. {
  1370. $this->statusForViewer = $statusForViewer;
  1371. }
  1372. public function getStatusForViewer()
  1373. {
  1374. return $this->statusForViewer;
  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_Service_PlusDomains_ActivityObjectActor extends Google_Model
  1386. {
  1387. public $displayName;
  1388. public $id;
  1389. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectActorImage';
  1390. protected $imageDataType = '';
  1391. public $url;
  1392. public function setDisplayName($displayName)
  1393. {
  1394. $this->displayName = $displayName;
  1395. }
  1396. public function getDisplayName()
  1397. {
  1398. return $this->displayName;
  1399. }
  1400. public function setId($id)
  1401. {
  1402. $this->id = $id;
  1403. }
  1404. public function getId()
  1405. {
  1406. return $this->id;
  1407. }
  1408. public function setImage(Google_Service_PlusDomains_ActivityObjectActorImage $image)
  1409. {
  1410. $this->image = $image;
  1411. }
  1412. public function getImage()
  1413. {
  1414. return $this->image;
  1415. }
  1416. public function setUrl($url)
  1417. {
  1418. $this->url = $url;
  1419. }
  1420. public function getUrl()
  1421. {
  1422. return $this->url;
  1423. }
  1424. }
  1425. class Google_Service_PlusDomains_ActivityObjectActorImage extends Google_Model
  1426. {
  1427. public $url;
  1428. public function setUrl($url)
  1429. {
  1430. $this->url = $url;
  1431. }
  1432. public function getUrl()
  1433. {
  1434. return $this->url;
  1435. }
  1436. }
  1437. class Google_Service_PlusDomains_ActivityObjectAttachments extends Google_Collection
  1438. {
  1439. public $content;
  1440. public $displayName;
  1441. protected $embedType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed';
  1442. protected $embedDataType = '';
  1443. protected $fullImageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage';
  1444. protected $fullImageDataType = '';
  1445. public $id;
  1446. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsImage';
  1447. protected $imageDataType = '';
  1448. public $objectType;
  1449. protected $previewThumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails';
  1450. protected $previewThumbnailsDataType = 'array';
  1451. protected $thumbnailsType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails';
  1452. protected $thumbnailsDataType = 'array';
  1453. public $url;
  1454. public function setContent($content)
  1455. {
  1456. $this->content = $content;
  1457. }
  1458. public function getContent()
  1459. {
  1460. return $this->content;
  1461. }
  1462. public function setDisplayName($displayName)
  1463. {
  1464. $this->displayName = $displayName;
  1465. }
  1466. public function getDisplayName()
  1467. {
  1468. return $this->displayName;
  1469. }
  1470. public function setEmbed(Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed $embed)
  1471. {
  1472. $this->embed = $embed;
  1473. }
  1474. public function getEmbed()
  1475. {
  1476. return $this->embed;
  1477. }
  1478. public function setFullImage(Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage $fullImage)
  1479. {
  1480. $this->fullImage = $fullImage;
  1481. }
  1482. public function getFullImage()
  1483. {
  1484. return $this->fullImage;
  1485. }
  1486. public function setId($id)
  1487. {
  1488. $this->id = $id;
  1489. }
  1490. public function getId()
  1491. {
  1492. return $this->id;
  1493. }
  1494. public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsImage $image)
  1495. {
  1496. $this->image = $image;
  1497. }
  1498. public function getImage()
  1499. {
  1500. return $this->image;
  1501. }
  1502. public function setObjectType($objectType)
  1503. {
  1504. $this->objectType = $objectType;
  1505. }
  1506. public function getObjectType()
  1507. {
  1508. return $this->objectType;
  1509. }
  1510. public function setPreviewThumbnails($previewThumbnails)
  1511. {
  1512. $this->previewThumbnails = $previewThumbnails;
  1513. }
  1514. public function getPreviewThumbnails()
  1515. {
  1516. return $this->previewThumbnails;
  1517. }
  1518. public function setThumbnails($thumbnails)
  1519. {
  1520. $this->thumbnails = $thumbnails;
  1521. }
  1522. public function getThumbnails()
  1523. {
  1524. return $this->thumbnails;
  1525. }
  1526. public function setUrl($url)
  1527. {
  1528. $this->url = $url;
  1529. }
  1530. public function getUrl()
  1531. {
  1532. return $this->url;
  1533. }
  1534. }
  1535. class Google_Service_PlusDomains_ActivityObjectAttachmentsEmbed extends Google_Model
  1536. {
  1537. public $type;
  1538. public $url;
  1539. public function setType($type)
  1540. {
  1541. $this->type = $type;
  1542. }
  1543. public function getType()
  1544. {
  1545. return $this->type;
  1546. }
  1547. public function setUrl($url)
  1548. {
  1549. $this->url = $url;
  1550. }
  1551. public function getUrl()
  1552. {
  1553. return $this->url;
  1554. }
  1555. }
  1556. class Google_Service_PlusDomains_ActivityObjectAttachmentsFullImage extends Google_Model
  1557. {
  1558. public $height;
  1559. public $type;
  1560. public $url;
  1561. public $width;
  1562. public function setHeight($height)
  1563. {
  1564. $this->height = $height;
  1565. }
  1566. public function getHeight()
  1567. {
  1568. return $this->height;
  1569. }
  1570. public function setType($type)
  1571. {
  1572. $this->type = $type;
  1573. }
  1574. public function getType()
  1575. {
  1576. return $this->type;
  1577. }
  1578. public function setUrl($url)
  1579. {
  1580. $this->url = $url;
  1581. }
  1582. public function getUrl()
  1583. {
  1584. return $this->url;
  1585. }
  1586. public function setWidth($width)
  1587. {
  1588. $this->width = $width;
  1589. }
  1590. public function getWidth()
  1591. {
  1592. return $this->width;
  1593. }
  1594. }
  1595. class Google_Service_PlusDomains_ActivityObjectAttachmentsImage extends Google_Model
  1596. {
  1597. public $height;
  1598. public $type;
  1599. public $url;
  1600. public $width;
  1601. public function setHeight($height)
  1602. {
  1603. $this->height = $height;
  1604. }
  1605. public function getHeight()
  1606. {
  1607. return $this->height;
  1608. }
  1609. public function setType($type)
  1610. {
  1611. $this->type = $type;
  1612. }
  1613. public function getType()
  1614. {
  1615. return $this->type;
  1616. }
  1617. public function setUrl($url)
  1618. {
  1619. $this->url = $url;
  1620. }
  1621. public function getUrl()
  1622. {
  1623. return $this->url;
  1624. }
  1625. public function setWidth($width)
  1626. {
  1627. $this->width = $width;
  1628. }
  1629. public function getWidth()
  1630. {
  1631. return $this->width;
  1632. }
  1633. }
  1634. class Google_Service_PlusDomains_ActivityObjectAttachmentsPreviewThumbnails extends Google_Model
  1635. {
  1636. public $url;
  1637. public function setUrl($url)
  1638. {
  1639. $this->url = $url;
  1640. }
  1641. public function getUrl()
  1642. {
  1643. return $this->url;
  1644. }
  1645. }
  1646. class Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnails extends Google_Model
  1647. {
  1648. public $description;
  1649. protected $imageType = 'Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage';
  1650. protected $imageDataType = '';
  1651. public $url;
  1652. public function setDescription($description)
  1653. {
  1654. $this->description = $description;
  1655. }
  1656. public function getDescription()
  1657. {
  1658. return $this->description;
  1659. }
  1660. public function setImage(Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage $image)
  1661. {
  1662. $this->image = $image;
  1663. }
  1664. public function getImage()
  1665. {
  1666. return $this->image;
  1667. }
  1668. public function setUrl($url)
  1669. {
  1670. $this->url = $url;
  1671. }
  1672. public function getUrl()
  1673. {
  1674. return $this->url;
  1675. }
  1676. }
  1677. class Google_Service_PlusDomains_ActivityObjectAttachmentsThumbnailsImage

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