PageRenderTime 33ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 1ms

/src/Google/Service/Orkut.php

https://github.com/leogaggl/pluspress
PHP | 4025 lines | 2973 code | 479 blank | 573 comment | 0 complexity | 8ba3080beb474e6dd59c49d9b252103a MD5 | raw 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 Orkut (v2).
  19. *
  20. * <p>
  21. * Lets you manage activities, comments and badges in Orkut. More stuff coming in time.
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="http://code.google.com/apis/orkut/v2/reference.html" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_Orkut extends Google_Service
  32. {
  33. /** Manage your Orkut activity. */
  34. const ORKUT = "https://www.googleapis.com/auth/orkut";
  35. /** View your Orkut data. */
  36. const ORKUT_READONLY = "https://www.googleapis.com/auth/orkut.readonly";
  37. public $acl;
  38. public $activities;
  39. public $activityVisibility;
  40. public $badges;
  41. public $comments;
  42. public $communities;
  43. public $communityFollow;
  44. public $communityMembers;
  45. public $communityMessages;
  46. public $communityPollComments;
  47. public $communityPollVotes;
  48. public $communityPolls;
  49. public $communityRelated;
  50. public $communityTopics;
  51. public $counters;
  52. public $scraps;
  53. /**
  54. * Constructs the internal representation of the Orkut service.
  55. *
  56. * @param Google_Client $client
  57. */
  58. public function __construct(Google_Client $client)
  59. {
  60. parent::__construct($client);
  61. $this->servicePath = 'orkut/v2/';
  62. $this->version = 'v2';
  63. $this->serviceName = 'orkut';
  64. $this->acl = new Google_Service_Orkut_Acl_Resource(
  65. $this,
  66. $this->serviceName,
  67. 'acl',
  68. array(
  69. 'methods' => array(
  70. 'delete' => array(
  71. 'path' => 'activities/{activityId}/acl/{userId}',
  72. 'httpMethod' => 'DELETE',
  73. 'parameters' => array(
  74. 'activityId' => array(
  75. 'location' => 'path',
  76. 'type' => 'string',
  77. 'required' => true,
  78. ),
  79. 'userId' => array(
  80. 'location' => 'path',
  81. 'type' => 'string',
  82. 'required' => true,
  83. ),
  84. ),
  85. ),
  86. )
  87. )
  88. );
  89. $this->activities = new Google_Service_Orkut_Activities_Resource(
  90. $this,
  91. $this->serviceName,
  92. 'activities',
  93. array(
  94. 'methods' => array(
  95. 'delete' => array(
  96. 'path' => 'activities/{activityId}',
  97. 'httpMethod' => 'DELETE',
  98. 'parameters' => array(
  99. 'activityId' => array(
  100. 'location' => 'path',
  101. 'type' => 'string',
  102. 'required' => true,
  103. ),
  104. ),
  105. ),'list' => array(
  106. 'path' => 'people/{userId}/activities/{collection}',
  107. 'httpMethod' => 'GET',
  108. 'parameters' => array(
  109. 'userId' => array(
  110. 'location' => 'path',
  111. 'type' => 'string',
  112. 'required' => true,
  113. ),
  114. 'collection' => array(
  115. 'location' => 'path',
  116. 'type' => 'string',
  117. 'required' => true,
  118. ),
  119. 'pageToken' => array(
  120. 'location' => 'query',
  121. 'type' => 'string',
  122. ),
  123. 'maxResults' => array(
  124. 'location' => 'query',
  125. 'type' => 'integer',
  126. ),
  127. 'hl' => array(
  128. 'location' => 'query',
  129. 'type' => 'string',
  130. ),
  131. ),
  132. ),
  133. )
  134. )
  135. );
  136. $this->activityVisibility = new Google_Service_Orkut_ActivityVisibility_Resource(
  137. $this,
  138. $this->serviceName,
  139. 'activityVisibility',
  140. array(
  141. 'methods' => array(
  142. 'get' => array(
  143. 'path' => 'activities/{activityId}/visibility',
  144. 'httpMethod' => 'GET',
  145. 'parameters' => array(
  146. 'activityId' => array(
  147. 'location' => 'path',
  148. 'type' => 'string',
  149. 'required' => true,
  150. ),
  151. ),
  152. ),'patch' => array(
  153. 'path' => 'activities/{activityId}/visibility',
  154. 'httpMethod' => 'PATCH',
  155. 'parameters' => array(
  156. 'activityId' => array(
  157. 'location' => 'path',
  158. 'type' => 'string',
  159. 'required' => true,
  160. ),
  161. ),
  162. ),'update' => array(
  163. 'path' => 'activities/{activityId}/visibility',
  164. 'httpMethod' => 'PUT',
  165. 'parameters' => array(
  166. 'activityId' => array(
  167. 'location' => 'path',
  168. 'type' => 'string',
  169. 'required' => true,
  170. ),
  171. ),
  172. ),
  173. )
  174. )
  175. );
  176. $this->badges = new Google_Service_Orkut_Badges_Resource(
  177. $this,
  178. $this->serviceName,
  179. 'badges',
  180. array(
  181. 'methods' => array(
  182. 'get' => array(
  183. 'path' => 'people/{userId}/badges/{badgeId}',
  184. 'httpMethod' => 'GET',
  185. 'parameters' => array(
  186. 'userId' => array(
  187. 'location' => 'path',
  188. 'type' => 'string',
  189. 'required' => true,
  190. ),
  191. 'badgeId' => array(
  192. 'location' => 'path',
  193. 'type' => 'string',
  194. 'required' => true,
  195. ),
  196. ),
  197. ),'list' => array(
  198. 'path' => 'people/{userId}/badges',
  199. 'httpMethod' => 'GET',
  200. 'parameters' => array(
  201. 'userId' => array(
  202. 'location' => 'path',
  203. 'type' => 'string',
  204. 'required' => true,
  205. ),
  206. ),
  207. ),
  208. )
  209. )
  210. );
  211. $this->comments = new Google_Service_Orkut_Comments_Resource(
  212. $this,
  213. $this->serviceName,
  214. 'comments',
  215. array(
  216. 'methods' => array(
  217. 'delete' => array(
  218. 'path' => 'comments/{commentId}',
  219. 'httpMethod' => 'DELETE',
  220. 'parameters' => array(
  221. 'commentId' => array(
  222. 'location' => 'path',
  223. 'type' => 'string',
  224. 'required' => true,
  225. ),
  226. ),
  227. ),'get' => array(
  228. 'path' => 'comments/{commentId}',
  229. 'httpMethod' => 'GET',
  230. 'parameters' => array(
  231. 'commentId' => array(
  232. 'location' => 'path',
  233. 'type' => 'string',
  234. 'required' => true,
  235. ),
  236. 'hl' => array(
  237. 'location' => 'query',
  238. 'type' => 'string',
  239. ),
  240. ),
  241. ),'insert' => array(
  242. 'path' => 'activities/{activityId}/comments',
  243. 'httpMethod' => 'POST',
  244. 'parameters' => array(
  245. 'activityId' => array(
  246. 'location' => 'path',
  247. 'type' => 'string',
  248. 'required' => true,
  249. ),
  250. ),
  251. ),'list' => array(
  252. 'path' => 'activities/{activityId}/comments',
  253. 'httpMethod' => 'GET',
  254. 'parameters' => array(
  255. 'activityId' => array(
  256. 'location' => 'path',
  257. 'type' => 'string',
  258. 'required' => true,
  259. ),
  260. 'orderBy' => array(
  261. 'location' => 'query',
  262. 'type' => 'string',
  263. ),
  264. 'pageToken' => array(
  265. 'location' => 'query',
  266. 'type' => 'string',
  267. ),
  268. 'maxResults' => array(
  269. 'location' => 'query',
  270. 'type' => 'integer',
  271. ),
  272. 'hl' => array(
  273. 'location' => 'query',
  274. 'type' => 'string',
  275. ),
  276. ),
  277. ),
  278. )
  279. )
  280. );
  281. $this->communities = new Google_Service_Orkut_Communities_Resource(
  282. $this,
  283. $this->serviceName,
  284. 'communities',
  285. array(
  286. 'methods' => array(
  287. 'get' => array(
  288. 'path' => 'communities/{communityId}',
  289. 'httpMethod' => 'GET',
  290. 'parameters' => array(
  291. 'communityId' => array(
  292. 'location' => 'path',
  293. 'type' => 'integer',
  294. 'required' => true,
  295. ),
  296. 'hl' => array(
  297. 'location' => 'query',
  298. 'type' => 'string',
  299. ),
  300. ),
  301. ),'list' => array(
  302. 'path' => 'people/{userId}/communities',
  303. 'httpMethod' => 'GET',
  304. 'parameters' => array(
  305. 'userId' => array(
  306. 'location' => 'path',
  307. 'type' => 'string',
  308. 'required' => true,
  309. ),
  310. 'orderBy' => array(
  311. 'location' => 'query',
  312. 'type' => 'string',
  313. ),
  314. 'maxResults' => array(
  315. 'location' => 'query',
  316. 'type' => 'integer',
  317. ),
  318. 'hl' => array(
  319. 'location' => 'query',
  320. 'type' => 'string',
  321. ),
  322. ),
  323. ),
  324. )
  325. )
  326. );
  327. $this->communityFollow = new Google_Service_Orkut_CommunityFollow_Resource(
  328. $this,
  329. $this->serviceName,
  330. 'communityFollow',
  331. array(
  332. 'methods' => array(
  333. 'delete' => array(
  334. 'path' => 'communities/{communityId}/followers/{userId}',
  335. 'httpMethod' => 'DELETE',
  336. 'parameters' => array(
  337. 'communityId' => array(
  338. 'location' => 'path',
  339. 'type' => 'integer',
  340. 'required' => true,
  341. ),
  342. 'userId' => array(
  343. 'location' => 'path',
  344. 'type' => 'string',
  345. 'required' => true,
  346. ),
  347. ),
  348. ),'insert' => array(
  349. 'path' => 'communities/{communityId}/followers/{userId}',
  350. 'httpMethod' => 'POST',
  351. 'parameters' => array(
  352. 'communityId' => array(
  353. 'location' => 'path',
  354. 'type' => 'integer',
  355. 'required' => true,
  356. ),
  357. 'userId' => array(
  358. 'location' => 'path',
  359. 'type' => 'string',
  360. 'required' => true,
  361. ),
  362. ),
  363. ),
  364. )
  365. )
  366. );
  367. $this->communityMembers = new Google_Service_Orkut_CommunityMembers_Resource(
  368. $this,
  369. $this->serviceName,
  370. 'communityMembers',
  371. array(
  372. 'methods' => array(
  373. 'delete' => array(
  374. 'path' => 'communities/{communityId}/members/{userId}',
  375. 'httpMethod' => 'DELETE',
  376. 'parameters' => array(
  377. 'communityId' => array(
  378. 'location' => 'path',
  379. 'type' => 'integer',
  380. 'required' => true,
  381. ),
  382. 'userId' => array(
  383. 'location' => 'path',
  384. 'type' => 'string',
  385. 'required' => true,
  386. ),
  387. ),
  388. ),'get' => array(
  389. 'path' => 'communities/{communityId}/members/{userId}',
  390. 'httpMethod' => 'GET',
  391. 'parameters' => array(
  392. 'communityId' => array(
  393. 'location' => 'path',
  394. 'type' => 'integer',
  395. 'required' => true,
  396. ),
  397. 'userId' => array(
  398. 'location' => 'path',
  399. 'type' => 'string',
  400. 'required' => true,
  401. ),
  402. 'hl' => array(
  403. 'location' => 'query',
  404. 'type' => 'string',
  405. ),
  406. ),
  407. ),'insert' => array(
  408. 'path' => 'communities/{communityId}/members/{userId}',
  409. 'httpMethod' => 'POST',
  410. 'parameters' => array(
  411. 'communityId' => array(
  412. 'location' => 'path',
  413. 'type' => 'integer',
  414. 'required' => true,
  415. ),
  416. 'userId' => array(
  417. 'location' => 'path',
  418. 'type' => 'string',
  419. 'required' => true,
  420. ),
  421. ),
  422. ),'list' => array(
  423. 'path' => 'communities/{communityId}/members',
  424. 'httpMethod' => 'GET',
  425. 'parameters' => array(
  426. 'communityId' => array(
  427. 'location' => 'path',
  428. 'type' => 'integer',
  429. 'required' => true,
  430. ),
  431. 'pageToken' => array(
  432. 'location' => 'query',
  433. 'type' => 'string',
  434. ),
  435. 'friendsOnly' => array(
  436. 'location' => 'query',
  437. 'type' => 'boolean',
  438. ),
  439. 'maxResults' => array(
  440. 'location' => 'query',
  441. 'type' => 'integer',
  442. ),
  443. 'hl' => array(
  444. 'location' => 'query',
  445. 'type' => 'string',
  446. ),
  447. ),
  448. ),
  449. )
  450. )
  451. );
  452. $this->communityMessages = new Google_Service_Orkut_CommunityMessages_Resource(
  453. $this,
  454. $this->serviceName,
  455. 'communityMessages',
  456. array(
  457. 'methods' => array(
  458. 'delete' => array(
  459. 'path' => 'communities/{communityId}/topics/{topicId}/messages/{messageId}',
  460. 'httpMethod' => 'DELETE',
  461. 'parameters' => array(
  462. 'communityId' => array(
  463. 'location' => 'path',
  464. 'type' => 'integer',
  465. 'required' => true,
  466. ),
  467. 'topicId' => array(
  468. 'location' => 'path',
  469. 'type' => 'string',
  470. 'required' => true,
  471. ),
  472. 'messageId' => array(
  473. 'location' => 'path',
  474. 'type' => 'string',
  475. 'required' => true,
  476. ),
  477. ),
  478. ),'insert' => array(
  479. 'path' => 'communities/{communityId}/topics/{topicId}/messages',
  480. 'httpMethod' => 'POST',
  481. 'parameters' => array(
  482. 'communityId' => array(
  483. 'location' => 'path',
  484. 'type' => 'integer',
  485. 'required' => true,
  486. ),
  487. 'topicId' => array(
  488. 'location' => 'path',
  489. 'type' => 'string',
  490. 'required' => true,
  491. ),
  492. ),
  493. ),'list' => array(
  494. 'path' => 'communities/{communityId}/topics/{topicId}/messages',
  495. 'httpMethod' => 'GET',
  496. 'parameters' => array(
  497. 'communityId' => array(
  498. 'location' => 'path',
  499. 'type' => 'integer',
  500. 'required' => true,
  501. ),
  502. 'topicId' => array(
  503. 'location' => 'path',
  504. 'type' => 'string',
  505. 'required' => true,
  506. ),
  507. 'pageToken' => array(
  508. 'location' => 'query',
  509. 'type' => 'string',
  510. ),
  511. 'maxResults' => array(
  512. 'location' => 'query',
  513. 'type' => 'integer',
  514. ),
  515. 'hl' => array(
  516. 'location' => 'query',
  517. 'type' => 'string',
  518. ),
  519. ),
  520. ),
  521. )
  522. )
  523. );
  524. $this->communityPollComments = new Google_Service_Orkut_CommunityPollComments_Resource(
  525. $this,
  526. $this->serviceName,
  527. 'communityPollComments',
  528. array(
  529. 'methods' => array(
  530. 'insert' => array(
  531. 'path' => 'communities/{communityId}/polls/{pollId}/comments',
  532. 'httpMethod' => 'POST',
  533. 'parameters' => array(
  534. 'communityId' => array(
  535. 'location' => 'path',
  536. 'type' => 'integer',
  537. 'required' => true,
  538. ),
  539. 'pollId' => array(
  540. 'location' => 'path',
  541. 'type' => 'string',
  542. 'required' => true,
  543. ),
  544. ),
  545. ),'list' => array(
  546. 'path' => 'communities/{communityId}/polls/{pollId}/comments',
  547. 'httpMethod' => 'GET',
  548. 'parameters' => array(
  549. 'communityId' => array(
  550. 'location' => 'path',
  551. 'type' => 'integer',
  552. 'required' => true,
  553. ),
  554. 'pollId' => array(
  555. 'location' => 'path',
  556. 'type' => 'string',
  557. 'required' => true,
  558. ),
  559. 'pageToken' => array(
  560. 'location' => 'query',
  561. 'type' => 'string',
  562. ),
  563. 'maxResults' => array(
  564. 'location' => 'query',
  565. 'type' => 'integer',
  566. ),
  567. 'hl' => array(
  568. 'location' => 'query',
  569. 'type' => 'string',
  570. ),
  571. ),
  572. ),
  573. )
  574. )
  575. );
  576. $this->communityPollVotes = new Google_Service_Orkut_CommunityPollVotes_Resource(
  577. $this,
  578. $this->serviceName,
  579. 'communityPollVotes',
  580. array(
  581. 'methods' => array(
  582. 'insert' => array(
  583. 'path' => 'communities/{communityId}/polls/{pollId}/votes',
  584. 'httpMethod' => 'POST',
  585. 'parameters' => array(
  586. 'communityId' => array(
  587. 'location' => 'path',
  588. 'type' => 'integer',
  589. 'required' => true,
  590. ),
  591. 'pollId' => array(
  592. 'location' => 'path',
  593. 'type' => 'string',
  594. 'required' => true,
  595. ),
  596. ),
  597. ),
  598. )
  599. )
  600. );
  601. $this->communityPolls = new Google_Service_Orkut_CommunityPolls_Resource(
  602. $this,
  603. $this->serviceName,
  604. 'communityPolls',
  605. array(
  606. 'methods' => array(
  607. 'get' => array(
  608. 'path' => 'communities/{communityId}/polls/{pollId}',
  609. 'httpMethod' => 'GET',
  610. 'parameters' => array(
  611. 'communityId' => array(
  612. 'location' => 'path',
  613. 'type' => 'integer',
  614. 'required' => true,
  615. ),
  616. 'pollId' => array(
  617. 'location' => 'path',
  618. 'type' => 'string',
  619. 'required' => true,
  620. ),
  621. 'hl' => array(
  622. 'location' => 'query',
  623. 'type' => 'string',
  624. ),
  625. ),
  626. ),'list' => array(
  627. 'path' => 'communities/{communityId}/polls',
  628. 'httpMethod' => 'GET',
  629. 'parameters' => array(
  630. 'communityId' => array(
  631. 'location' => 'path',
  632. 'type' => 'integer',
  633. 'required' => true,
  634. ),
  635. 'pageToken' => array(
  636. 'location' => 'query',
  637. 'type' => 'string',
  638. ),
  639. 'maxResults' => array(
  640. 'location' => 'query',
  641. 'type' => 'integer',
  642. ),
  643. 'hl' => array(
  644. 'location' => 'query',
  645. 'type' => 'string',
  646. ),
  647. ),
  648. ),
  649. )
  650. )
  651. );
  652. $this->communityRelated = new Google_Service_Orkut_CommunityRelated_Resource(
  653. $this,
  654. $this->serviceName,
  655. 'communityRelated',
  656. array(
  657. 'methods' => array(
  658. 'list' => array(
  659. 'path' => 'communities/{communityId}/related',
  660. 'httpMethod' => 'GET',
  661. 'parameters' => array(
  662. 'communityId' => array(
  663. 'location' => 'path',
  664. 'type' => 'integer',
  665. 'required' => true,
  666. ),
  667. 'hl' => array(
  668. 'location' => 'query',
  669. 'type' => 'string',
  670. ),
  671. ),
  672. ),
  673. )
  674. )
  675. );
  676. $this->communityTopics = new Google_Service_Orkut_CommunityTopics_Resource(
  677. $this,
  678. $this->serviceName,
  679. 'communityTopics',
  680. array(
  681. 'methods' => array(
  682. 'delete' => array(
  683. 'path' => 'communities/{communityId}/topics/{topicId}',
  684. 'httpMethod' => 'DELETE',
  685. 'parameters' => array(
  686. 'communityId' => array(
  687. 'location' => 'path',
  688. 'type' => 'integer',
  689. 'required' => true,
  690. ),
  691. 'topicId' => array(
  692. 'location' => 'path',
  693. 'type' => 'string',
  694. 'required' => true,
  695. ),
  696. ),
  697. ),'get' => array(
  698. 'path' => 'communities/{communityId}/topics/{topicId}',
  699. 'httpMethod' => 'GET',
  700. 'parameters' => array(
  701. 'communityId' => array(
  702. 'location' => 'path',
  703. 'type' => 'integer',
  704. 'required' => true,
  705. ),
  706. 'topicId' => array(
  707. 'location' => 'path',
  708. 'type' => 'string',
  709. 'required' => true,
  710. ),
  711. 'hl' => array(
  712. 'location' => 'query',
  713. 'type' => 'string',
  714. ),
  715. ),
  716. ),'insert' => array(
  717. 'path' => 'communities/{communityId}/topics',
  718. 'httpMethod' => 'POST',
  719. 'parameters' => array(
  720. 'communityId' => array(
  721. 'location' => 'path',
  722. 'type' => 'integer',
  723. 'required' => true,
  724. ),
  725. 'isShout' => array(
  726. 'location' => 'query',
  727. 'type' => 'boolean',
  728. ),
  729. ),
  730. ),'list' => array(
  731. 'path' => 'communities/{communityId}/topics',
  732. 'httpMethod' => 'GET',
  733. 'parameters' => array(
  734. 'communityId' => array(
  735. 'location' => 'path',
  736. 'type' => 'integer',
  737. 'required' => true,
  738. ),
  739. 'pageToken' => array(
  740. 'location' => 'query',
  741. 'type' => 'string',
  742. ),
  743. 'maxResults' => array(
  744. 'location' => 'query',
  745. 'type' => 'integer',
  746. ),
  747. 'hl' => array(
  748. 'location' => 'query',
  749. 'type' => 'string',
  750. ),
  751. ),
  752. ),
  753. )
  754. )
  755. );
  756. $this->counters = new Google_Service_Orkut_Counters_Resource(
  757. $this,
  758. $this->serviceName,
  759. 'counters',
  760. array(
  761. 'methods' => array(
  762. 'list' => array(
  763. 'path' => 'people/{userId}/counters',
  764. 'httpMethod' => 'GET',
  765. 'parameters' => array(
  766. 'userId' => array(
  767. 'location' => 'path',
  768. 'type' => 'string',
  769. 'required' => true,
  770. ),
  771. ),
  772. ),
  773. )
  774. )
  775. );
  776. $this->scraps = new Google_Service_Orkut_Scraps_Resource(
  777. $this,
  778. $this->serviceName,
  779. 'scraps',
  780. array(
  781. 'methods' => array(
  782. 'insert' => array(
  783. 'path' => 'activities/scraps',
  784. 'httpMethod' => 'POST',
  785. 'parameters' => array(),
  786. ),
  787. )
  788. )
  789. );
  790. }
  791. }
  792. /**
  793. * The "acl" collection of methods.
  794. * Typical usage is:
  795. * <code>
  796. * $orkutService = new Google_Service_Orkut(...);
  797. * $acl = $orkutService->acl;
  798. * </code>
  799. */
  800. class Google_Service_Orkut_Acl_Resource extends Google_Service_Resource
  801. {
  802. /**
  803. * Excludes an element from the ACL of the activity. (acl.delete)
  804. *
  805. * @param string $activityId
  806. * ID of the activity.
  807. * @param string $userId
  808. * ID of the user to be removed from the activity.
  809. * @param array $optParams Optional parameters.
  810. */
  811. public function delete($activityId, $userId, $optParams = array())
  812. {
  813. $params = array('activityId' => $activityId, 'userId' => $userId);
  814. $params = array_merge($params, $optParams);
  815. return $this->call('delete', array($params));
  816. }
  817. }
  818. /**
  819. * The "activities" collection of methods.
  820. * Typical usage is:
  821. * <code>
  822. * $orkutService = new Google_Service_Orkut(...);
  823. * $activities = $orkutService->activities;
  824. * </code>
  825. */
  826. class Google_Service_Orkut_Activities_Resource extends Google_Service_Resource
  827. {
  828. /**
  829. * Deletes an existing activity, if the access controls allow it.
  830. * (activities.delete)
  831. *
  832. * @param string $activityId
  833. * ID of the activity to remove.
  834. * @param array $optParams Optional parameters.
  835. */
  836. public function delete($activityId, $optParams = array())
  837. {
  838. $params = array('activityId' => $activityId);
  839. $params = array_merge($params, $optParams);
  840. return $this->call('delete', array($params));
  841. }
  842. /**
  843. * Retrieves a list of activities. (activities.listActivities)
  844. *
  845. * @param string $userId
  846. * The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the
  847. * authenticated user).
  848. * @param string $collection
  849. * The collection of activities to list.
  850. * @param array $optParams Optional parameters.
  851. *
  852. * @opt_param string pageToken
  853. * A continuation token that allows pagination.
  854. * @opt_param string maxResults
  855. * The maximum number of activities to include in the response.
  856. * @opt_param string hl
  857. * Specifies the interface language (host language) of your user interface.
  858. * @return Google_Service_Orkut_ActivityList
  859. */
  860. public function listActivities($userId, $collection, $optParams = array())
  861. {
  862. $params = array('userId' => $userId, 'collection' => $collection);
  863. $params = array_merge($params, $optParams);
  864. return $this->call('list', array($params), "Google_Service_Orkut_ActivityList");
  865. }
  866. }
  867. /**
  868. * The "activityVisibility" collection of methods.
  869. * Typical usage is:
  870. * <code>
  871. * $orkutService = new Google_Service_Orkut(...);
  872. * $activityVisibility = $orkutService->activityVisibility;
  873. * </code>
  874. */
  875. class Google_Service_Orkut_ActivityVisibility_Resource extends Google_Service_Resource
  876. {
  877. /**
  878. * Gets the visibility of an existing activity. (activityVisibility.get)
  879. *
  880. * @param string $activityId
  881. * ID of the activity to get the visibility.
  882. * @param array $optParams Optional parameters.
  883. * @return Google_Service_Orkut_Visibility
  884. */
  885. public function get($activityId, $optParams = array())
  886. {
  887. $params = array('activityId' => $activityId);
  888. $params = array_merge($params, $optParams);
  889. return $this->call('get', array($params), "Google_Service_Orkut_Visibility");
  890. }
  891. /**
  892. * Updates the visibility of an existing activity. This method supports patch
  893. * semantics. (activityVisibility.patch)
  894. *
  895. * @param string $activityId
  896. * ID of the activity.
  897. * @param Google_Visibility $postBody
  898. * @param array $optParams Optional parameters.
  899. * @return Google_Service_Orkut_Visibility
  900. */
  901. public function patch($activityId, Google_Service_Orkut_Visibility $postBody, $optParams = array())
  902. {
  903. $params = array('activityId' => $activityId, 'postBody' => $postBody);
  904. $params = array_merge($params, $optParams);
  905. return $this->call('patch', array($params), "Google_Service_Orkut_Visibility");
  906. }
  907. /**
  908. * Updates the visibility of an existing activity. (activityVisibility.update)
  909. *
  910. * @param string $activityId
  911. * ID of the activity.
  912. * @param Google_Visibility $postBody
  913. * @param array $optParams Optional parameters.
  914. * @return Google_Service_Orkut_Visibility
  915. */
  916. public function update($activityId, Google_Service_Orkut_Visibility $postBody, $optParams = array())
  917. {
  918. $params = array('activityId' => $activityId, 'postBody' => $postBody);
  919. $params = array_merge($params, $optParams);
  920. return $this->call('update', array($params), "Google_Service_Orkut_Visibility");
  921. }
  922. }
  923. /**
  924. * The "badges" collection of methods.
  925. * Typical usage is:
  926. * <code>
  927. * $orkutService = new Google_Service_Orkut(...);
  928. * $badges = $orkutService->badges;
  929. * </code>
  930. */
  931. class Google_Service_Orkut_Badges_Resource extends Google_Service_Resource
  932. {
  933. /**
  934. * Retrieves a badge from a user. (badges.get)
  935. *
  936. * @param string $userId
  937. * The ID of the user whose badges will be listed. Can be me to refer to caller.
  938. * @param string $badgeId
  939. * The ID of the badge that will be retrieved.
  940. * @param array $optParams Optional parameters.
  941. * @return Google_Service_Orkut_Badge
  942. */
  943. public function get($userId, $badgeId, $optParams = array())
  944. {
  945. $params = array('userId' => $userId, 'badgeId' => $badgeId);
  946. $params = array_merge($params, $optParams);
  947. return $this->call('get', array($params), "Google_Service_Orkut_Badge");
  948. }
  949. /**
  950. * Retrieves the list of visible badges of a user. (badges.listBadges)
  951. *
  952. * @param string $userId
  953. * The id of the user whose badges will be listed. Can be me to refer to caller.
  954. * @param array $optParams Optional parameters.
  955. * @return Google_Service_Orkut_BadgeList
  956. */
  957. public function listBadges($userId, $optParams = array())
  958. {
  959. $params = array('userId' => $userId);
  960. $params = array_merge($params, $optParams);
  961. return $this->call('list', array($params), "Google_Service_Orkut_BadgeList");
  962. }
  963. }
  964. /**
  965. * The "comments" collection of methods.
  966. * Typical usage is:
  967. * <code>
  968. * $orkutService = new Google_Service_Orkut(...);
  969. * $comments = $orkutService->comments;
  970. * </code>
  971. */
  972. class Google_Service_Orkut_Comments_Resource extends Google_Service_Resource
  973. {
  974. /**
  975. * Deletes an existing comment. (comments.delete)
  976. *
  977. * @param string $commentId
  978. * ID of the comment to remove.
  979. * @param array $optParams Optional parameters.
  980. */
  981. public function delete($commentId, $optParams = array())
  982. {
  983. $params = array('commentId' => $commentId);
  984. $params = array_merge($params, $optParams);
  985. return $this->call('delete', array($params));
  986. }
  987. /**
  988. * Retrieves an existing comment. (comments.get)
  989. *
  990. * @param string $commentId
  991. * ID of the comment to get.
  992. * @param array $optParams Optional parameters.
  993. *
  994. * @opt_param string hl
  995. * Specifies the interface language (host language) of your user interface.
  996. * @return Google_Service_Orkut_Comment
  997. */
  998. public function get($commentId, $optParams = array())
  999. {
  1000. $params = array('commentId' => $commentId);
  1001. $params = array_merge($params, $optParams);
  1002. return $this->call('get', array($params), "Google_Service_Orkut_Comment");
  1003. }
  1004. /**
  1005. * Inserts a new comment to an activity. (comments.insert)
  1006. *
  1007. * @param string $activityId
  1008. * The ID of the activity to contain the new comment.
  1009. * @param Google_Comment $postBody
  1010. * @param array $optParams Optional parameters.
  1011. * @return Google_Service_Orkut_Comment
  1012. */
  1013. public function insert($activityId, Google_Service_Orkut_Comment $postBody, $optParams = array())
  1014. {
  1015. $params = array('activityId' => $activityId, 'postBody' => $postBody);
  1016. $params = array_merge($params, $optParams);
  1017. return $this->call('insert', array($params), "Google_Service_Orkut_Comment");
  1018. }
  1019. /**
  1020. * Retrieves a list of comments, possibly filtered. (comments.listComments)
  1021. *
  1022. * @param string $activityId
  1023. * The ID of the activity containing the comments.
  1024. * @param array $optParams Optional parameters.
  1025. *
  1026. * @opt_param string orderBy
  1027. * Sort search results.
  1028. * @opt_param string pageToken
  1029. * A continuation token that allows pagination.
  1030. * @opt_param string maxResults
  1031. * The maximum number of activities to include in the response.
  1032. * @opt_param string hl
  1033. * Specifies the interface language (host language) of your user interface.
  1034. * @return Google_Service_Orkut_CommentList
  1035. */
  1036. public function listComments($activityId, $optParams = array())
  1037. {
  1038. $params = array('activityId' => $activityId);
  1039. $params = array_merge($params, $optParams);
  1040. return $this->call('list', array($params), "Google_Service_Orkut_CommentList");
  1041. }
  1042. }
  1043. /**
  1044. * The "communities" collection of methods.
  1045. * Typical usage is:
  1046. * <code>
  1047. * $orkutService = new Google_Service_Orkut(...);
  1048. * $communities = $orkutService->communities;
  1049. * </code>
  1050. */
  1051. class Google_Service_Orkut_Communities_Resource extends Google_Service_Resource
  1052. {
  1053. /**
  1054. * Retrieves the basic information (aka. profile) of a community.
  1055. * (communities.get)
  1056. *
  1057. * @param int $communityId
  1058. * The ID of the community to get.
  1059. * @param array $optParams Optional parameters.
  1060. *
  1061. * @opt_param string hl
  1062. * Specifies the interface language (host language) of your user interface.
  1063. * @return Google_Service_Orkut_Community
  1064. */
  1065. public function get($communityId, $optParams = array())
  1066. {
  1067. $params = array('communityId' => $communityId);
  1068. $params = array_merge($params, $optParams);
  1069. return $this->call('get', array($params), "Google_Service_Orkut_Community");
  1070. }
  1071. /**
  1072. * Retrieves the list of communities the current user is a member of.
  1073. * (communities.listCommunities)
  1074. *
  1075. * @param string $userId
  1076. * The ID of the user whose communities will be listed. Can be me to refer to caller.
  1077. * @param array $optParams Optional parameters.
  1078. *
  1079. * @opt_param string orderBy
  1080. * How to order the communities by.
  1081. * @opt_param string maxResults
  1082. * The maximum number of communities to include in the response.
  1083. * @opt_param string hl
  1084. * Specifies the interface language (host language) of your user interface.
  1085. * @return Google_Service_Orkut_CommunityList
  1086. */
  1087. public function listCommunities($userId, $optParams = array())
  1088. {
  1089. $params = array('userId' => $userId);
  1090. $params = array_merge($params, $optParams);
  1091. return $this->call('list', array($params), "Google_Service_Orkut_CommunityList");
  1092. }
  1093. }
  1094. /**
  1095. * The "communityFollow" collection of methods.
  1096. * Typical usage is:
  1097. * <code>
  1098. * $orkutService = new Google_Service_Orkut(...);
  1099. * $communityFollow = $orkutService->communityFollow;
  1100. * </code>
  1101. */
  1102. class Google_Service_Orkut_CommunityFollow_Resource extends Google_Service_Resource
  1103. {
  1104. /**
  1105. * Removes a user from the followers of a community. (communityFollow.delete)
  1106. *
  1107. * @param int $communityId
  1108. * ID of the community.
  1109. * @param string $userId
  1110. * ID of the user.
  1111. * @param array $optParams Optional parameters.
  1112. */
  1113. public function delete($communityId, $userId, $optParams = array())
  1114. {
  1115. $params = array('communityId' => $communityId, 'userId' => $userId);
  1116. $params = array_merge($params, $optParams);
  1117. return $this->call('delete', array($params));
  1118. }
  1119. /**
  1120. * Adds a user as a follower of a community. (communityFollow.insert)
  1121. *
  1122. * @param int $communityId
  1123. * ID of the community.
  1124. * @param string $userId
  1125. * ID of the user.
  1126. * @param array $optParams Optional parameters.
  1127. * @return Google_Service_Orkut_CommunityMembers
  1128. */
  1129. public function insert($communityId, $userId, $optParams = array())
  1130. {
  1131. $params = array('communityId' => $communityId, 'userId' => $userId);
  1132. $params = array_merge($params, $optParams);
  1133. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMembers");
  1134. }
  1135. }
  1136. /**
  1137. * The "communityMembers" collection of methods.
  1138. * Typical usage is:
  1139. * <code>
  1140. * $orkutService = new Google_Service_Orkut(...);
  1141. * $communityMembers = $orkutService->communityMembers;
  1142. * </code>
  1143. */
  1144. class Google_Service_Orkut_CommunityMembers_Resource extends Google_Service_Resource
  1145. {
  1146. /**
  1147. * Makes the user leave a community. (communityMembers.delete)
  1148. *
  1149. * @param int $communityId
  1150. * ID of the community.
  1151. * @param string $userId
  1152. * ID of the user.
  1153. * @param array $optParams Optional parameters.
  1154. */
  1155. public function delete($communityId, $userId, $optParams = array())
  1156. {
  1157. $params = array('communityId' => $communityId, 'userId' => $userId);
  1158. $params = array_merge($params, $optParams);
  1159. return $this->call('delete', array($params));
  1160. }
  1161. /**
  1162. * Retrieves the relationship between a user and a community.
  1163. * (communityMembers.get)
  1164. *
  1165. * @param int $communityId
  1166. * ID of the community.
  1167. * @param string $userId
  1168. * ID of the user.
  1169. * @param array $optParams Optional parameters.
  1170. *
  1171. * @opt_param string hl
  1172. * Specifies the interface language (host language) of your user interface.
  1173. * @return Google_Service_Orkut_CommunityMembers
  1174. */
  1175. public function get($communityId, $userId, $optParams = array())
  1176. {
  1177. $params = array('communityId' => $communityId, 'userId' => $userId);
  1178. $params = array_merge($params, $optParams);
  1179. return $this->call('get', array($params), "Google_Service_Orkut_CommunityMembers");
  1180. }
  1181. /**
  1182. * Makes the user join a community. (communityMembers.insert)
  1183. *
  1184. * @param int $communityId
  1185. * ID of the community.
  1186. * @param string $userId
  1187. * ID of the user.
  1188. * @param array $optParams Optional parameters.
  1189. * @return Google_Service_Orkut_CommunityMembers
  1190. */
  1191. public function insert($communityId, $userId, $optParams = array())
  1192. {
  1193. $params = array('communityId' => $communityId, 'userId' => $userId);
  1194. $params = array_merge($params, $optParams);
  1195. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMembers");
  1196. }
  1197. /**
  1198. * Lists members of a community. Use the pagination tokens to retrieve the full
  1199. * list; do not rely on the member count available in the community profile
  1200. * information to know when to stop iterating, as that count may be approximate.
  1201. * (communityMembers.listCommunityMembers)
  1202. *
  1203. * @param int $communityId
  1204. * The ID of the community whose members will be listed.
  1205. * @param array $optParams Optional parameters.
  1206. *
  1207. * @opt_param string pageToken
  1208. * A continuation token that allows pagination.
  1209. * @opt_param bool friendsOnly
  1210. * Whether to list only community members who are friends of the user.
  1211. * @opt_param string maxResults
  1212. * The maximum number of members to include in the response.
  1213. * @opt_param string hl
  1214. * Specifies the interface language (host language) of your user interface.
  1215. * @return Google_Service_Orkut_CommunityMembersList
  1216. */
  1217. public function listCommunityMembers($communityId, $optParams = array())
  1218. {
  1219. $params = array('communityId' => $communityId);
  1220. $params = array_merge($params, $optParams);
  1221. return $this->call('list', array($params), "Google_Service_Orkut_CommunityMembersList");
  1222. }
  1223. }
  1224. /**
  1225. * The "communityMessages" collection of methods.
  1226. * Typical usage is:
  1227. * <code>
  1228. * $orkutService = new Google_Service_Orkut(...);
  1229. * $communityMessages = $orkutService->communityMessages;
  1230. * </code>
  1231. */
  1232. class Google_Service_Orkut_CommunityMessages_Resource extends Google_Service_Resource
  1233. {
  1234. /**
  1235. * Moves a message of the community to the trash folder.
  1236. * (communityMessages.delete)
  1237. *
  1238. * @param int $communityId
  1239. * The ID of the community whose message will be moved to the trash folder.
  1240. * @param string $topicId
  1241. * The ID of the topic whose message will be moved to the trash folder.
  1242. * @param string $messageId
  1243. * The ID of the message to be moved to the trash folder.
  1244. * @param array $optParams Optional parameters.
  1245. */
  1246. public function delete($communityId, $topicId, $messageId, $optParams = array())
  1247. {
  1248. $params = array('communityId' => $communityId, 'topicId' => $topicId, 'messageId' => $messageId);
  1249. $params = array_merge($params, $optParams);
  1250. return $this->call('delete', array($params));
  1251. }
  1252. /**
  1253. * Adds a message to a given community topic. (communityMessages.insert)
  1254. *
  1255. * @param int $communityId
  1256. * The ID of the community the message should be added to.
  1257. * @param string $topicId
  1258. * The ID of the topic the message should be added to.
  1259. * @param Google_CommunityMessage $postBody
  1260. * @param array $optParams Optional parameters.
  1261. * @return Google_Service_Orkut_CommunityMessage
  1262. */
  1263. public function insert($communityId, $topicId, Google_Service_Orkut_CommunityMessage $postBody, $optParams = array())
  1264. {
  1265. $params = array('communityId' => $communityId, 'topicId' => $topicId, 'postBody' => $postBody);
  1266. $params = array_merge($params, $optParams);
  1267. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityMessage");
  1268. }
  1269. /**
  1270. * Retrieves the messages of a topic of a community.
  1271. * (communityMessages.listCommunityMessages)
  1272. *
  1273. * @param int $communityId
  1274. * The ID of the community which messages will be listed.
  1275. * @param string $topicId
  1276. * The ID of the topic which messages will be listed.
  1277. * @param array $optParams Optional parameters.
  1278. *
  1279. * @opt_param string pageToken
  1280. * A continuation token that allows pagination.
  1281. * @opt_param string maxResults
  1282. * The maximum number of messages to include in the response.
  1283. * @opt_param string hl
  1284. * Specifies the interface language (host language) of your user interface.
  1285. * @return Google_Service_Orkut_CommunityMessageList
  1286. */
  1287. public function listCommunityMessages($communityId, $topicId, $optParams = array())
  1288. {
  1289. $params = array('communityId' => $communityId, 'topicId' => $topicId);
  1290. $params = array_merge($params, $optParams);
  1291. return $this->call('list', array($params), "Google_Service_Orkut_CommunityMessageList");
  1292. }
  1293. }
  1294. /**
  1295. * The "communityPollComments" collection of methods.
  1296. * Typical usage is:
  1297. * <code>
  1298. * $orkutService = new Google_Service_Orkut(...);
  1299. * $communityPollComments = $orkutService->communityPollComments;
  1300. * </code>
  1301. */
  1302. class Google_Service_Orkut_CommunityPollComments_Resource extends Google_Service_Resource
  1303. {
  1304. /**
  1305. * Adds a comment on a community poll. (communityPollComments.insert)
  1306. *
  1307. * @param int $communityId
  1308. * The ID of the community whose poll is being commented.
  1309. * @param string $pollId
  1310. * The ID of the poll being commented.
  1311. * @param Google_CommunityPollComment $postBody
  1312. * @param array $optParams Optional parameters.
  1313. * @return Google_Service_Orkut_CommunityPollComment
  1314. */
  1315. public function insert($communityId, $pollId, Google_Service_Orkut_CommunityPollComment $postBody, $optParams = array())
  1316. {
  1317. $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
  1318. $params = array_merge($params, $optParams);
  1319. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityPollComment");
  1320. }
  1321. /**
  1322. * Retrieves the comments of a community poll.
  1323. * (communityPollComments.listCommunityPollComments)
  1324. *
  1325. * @param int $communityId
  1326. * The ID of the community whose poll is having its comments listed.
  1327. * @param string $pollId
  1328. * The ID of the community whose polls will be listed.
  1329. * @param array $optParams Optional parameters.
  1330. *
  1331. * @opt_param string pageToken
  1332. * A continuation token that allows pagination.
  1333. * @opt_param string maxResults
  1334. * The maximum number of comments to include in the response.
  1335. * @opt_param string hl
  1336. * Specifies the interface language (host language) of your user interface.
  1337. * @return Google_Service_Orkut_CommunityPollCommentList
  1338. */
  1339. public function listCommunityPollComments($communityId, $pollId, $optParams = array())
  1340. {
  1341. $params = array('communityId' => $communityId, 'pollId' => $pollId);
  1342. $params = array_merge($params, $optParams);
  1343. return $this->call('list', array($params), "Google_Service_Orkut_CommunityPollCommentList");
  1344. }
  1345. }
  1346. /**
  1347. * The "communityPollVotes" collection of methods.
  1348. * Typical usage is:
  1349. * <code>
  1350. * $orkutService = new Google_Service_Orkut(...);
  1351. * $communityPollVotes = $orkutService->communityPollVotes;
  1352. * </code>
  1353. */
  1354. class Google_Service_Orkut_CommunityPollVotes_Resource extends Google_Service_Resource
  1355. {
  1356. /**
  1357. * Votes on a community poll. (communityPollVotes.insert)
  1358. *
  1359. * @param int $communityId
  1360. * The ID of the community whose poll is being voted.
  1361. * @param string $pollId
  1362. * The ID of the poll being voted.
  1363. * @param Google_CommunityPollVote $postBody
  1364. * @param array $optParams Optional parameters.
  1365. * @return Google_Service_Orkut_CommunityPollVote
  1366. */
  1367. public function insert($communityId, $pollId, Google_Service_Orkut_CommunityPollVote $postBody, $optParams = array())
  1368. {
  1369. $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody);
  1370. $params = array_merge($params, $optParams);
  1371. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityPollVote");
  1372. }
  1373. }
  1374. /**
  1375. * The "communityPolls" collection of methods.
  1376. * Typical usage is:
  1377. * <code>
  1378. * $orkutService = new Google_Service_Orkut(...);
  1379. * $communityPolls = $orkutService->communityPolls;
  1380. * </code>
  1381. */
  1382. class Google_Service_Orkut_CommunityPolls_Resource extends Google_Service_Resource
  1383. {
  1384. /**
  1385. * Retrieves one specific poll of a community. (communityPolls.get)
  1386. *
  1387. * @param int $communityId
  1388. * The ID of the community for whose poll will be retrieved.
  1389. * @param string $pollId
  1390. * The ID of the poll to get.
  1391. * @param array $optParams Optional parameters.
  1392. *
  1393. * @opt_param string hl
  1394. * Specifies the interface language (host language) of your user interface.
  1395. * @return Google_Service_Orkut_CommunityPoll
  1396. */
  1397. public function get($communityId, $pollId, $optParams = array())
  1398. {
  1399. $params = array('communityId' => $communityId, 'pollId' => $pollId);
  1400. $params = array_merge($params, $optParams);
  1401. return $this->call('get', array($params), "Google_Service_Orkut_CommunityPoll");
  1402. }
  1403. /**
  1404. * Retrieves the polls of a community. (communityPolls.listCommunityPolls)
  1405. *
  1406. * @param int $communityId
  1407. * The ID of the community which polls will be listed.
  1408. * @param array $optParams Optional parameters.
  1409. *
  1410. * @opt_param string pageToken
  1411. * A continuation token that allows pagination.
  1412. * @opt_param string maxResults
  1413. * The maximum number of polls to include in the response.
  1414. * @opt_param string hl
  1415. * Specifies the interface language (host language) of your user interface.
  1416. * @return Google_Service_Orkut_CommunityPollList
  1417. */
  1418. public function listCommunityPolls($communityId, $optParams = array())
  1419. {
  1420. $params = array('communityId' => $communityId);
  1421. $params = array_merge($params, $optParams);
  1422. return $this->call('list', array($params), "Google_Service_Orkut_CommunityPollList");
  1423. }
  1424. }
  1425. /**
  1426. * The "communityRelated" collection of methods.
  1427. * Typical usage is:
  1428. * <code>
  1429. * $orkutService = new Google_Service_Orkut(...);
  1430. * $communityRelated = $orkutService->communityRelated;
  1431. * </code>
  1432. */
  1433. class Google_Service_Orkut_CommunityRelated_Resource extends Google_Service_Resource
  1434. {
  1435. /**
  1436. * Retrieves the communities related to another one.
  1437. * (communityRelated.listCommunityRelated)
  1438. *
  1439. * @param int $communityId
  1440. * The ID of the community whose related communities will be listed.
  1441. * @param array $optParams Optional parameters.
  1442. *
  1443. * @opt_param string hl
  1444. * Specifies the interface language (host language) of your user interface.
  1445. * @return Google_Service_Orkut_CommunityList
  1446. */
  1447. public function listCommunityRelated($communityId, $optParams = array())
  1448. {
  1449. $params = array('communityId' => $communityId);
  1450. $params = array_merge($params, $optParams);
  1451. return $this->call('list', array($params), "Google_Service_Orkut_CommunityList");
  1452. }
  1453. }
  1454. /**
  1455. * The "communityTopics" collection of methods.
  1456. * Typical usage is:
  1457. * <code>
  1458. * $orkutService = new Google_Service_Orkut(...);
  1459. * $communityTopics = $orkutService->communityTopics;
  1460. * </code>
  1461. */
  1462. class Google_Service_Orkut_CommunityTopics_Resource extends Google_Service_Resource
  1463. {
  1464. /**
  1465. * Moves a topic of the community to the trash folder. (communityTopics.delete)
  1466. *
  1467. * @param int $communityId
  1468. * The ID of the community whose topic will be moved to the trash folder.
  1469. * @param string $topicId
  1470. * The ID of the topic to be moved to the trash folder.
  1471. * @param array $optParams Optional parameters.
  1472. */
  1473. public function delete($communityId, $topicId, $optParams = array())
  1474. {
  1475. $params = array('communityId' => $communityId, 'topicId' => $topicId);
  1476. $params = array_merge($params, $optParams);
  1477. return $this->call('delete', array($params));
  1478. }
  1479. /**
  1480. * Retrieves a topic of a community. (communityTopics.get)
  1481. *
  1482. * @param int $communityId
  1483. * The ID of the community whose topic will be retrieved.
  1484. * @param string $topicId
  1485. * The ID of the topic to get.
  1486. * @param array $optParams Optional parameters.
  1487. *
  1488. * @opt_param string hl
  1489. * Specifies the interface language (host language) of your user interface.
  1490. * @return Google_Service_Orkut_CommunityTopic
  1491. */
  1492. public function get($communityId, $topicId, $optParams = array())
  1493. {
  1494. $params = array('communityId' => $communityId, 'topicId' => $topicId);
  1495. $params = array_merge($params, $optParams);
  1496. return $this->call('get', array($params), "Google_Service_Orkut_CommunityTopic");
  1497. }
  1498. /**
  1499. * Adds a topic to a given community. (communityTopics.insert)
  1500. *
  1501. * @param int $communityId
  1502. * The ID of the community the topic should be added to.
  1503. * @param Google_CommunityTopic $postBody
  1504. * @param array $optParams Optional parameters.
  1505. *
  1506. * @opt_param bool isShout
  1507. * Whether this topic is a shout.
  1508. * @return Google_Service_Orkut_CommunityTopic
  1509. */
  1510. public function insert($communityId, Google_Service_Orkut_CommunityTopic $postBody, $optParams = array())
  1511. {
  1512. $params = array('communityId' => $communityId, 'postBody' => $postBody);
  1513. $params = array_merge($params, $optParams);
  1514. return $this->call('insert', array($params), "Google_Service_Orkut_CommunityTopic");
  1515. }
  1516. /**
  1517. * Retrieves the topics of a community. (communityTopics.listCommunityTopics)
  1518. *
  1519. * @param int $communityId
  1520. * The ID of the community which topics will be listed.
  1521. * @param array $optParams Optional parameters.
  1522. *
  1523. * @opt_param string pageToken
  1524. * A continuation token that allows pagination.
  1525. * @opt_param string maxResults
  1526. * The maximum number of topics to include in the response.
  1527. * @opt_param string hl
  1528. * Specifies the interface language (host language) of your user interface.
  1529. * @return Google_Service_Orkut_CommunityTopicList
  1530. */
  1531. public function listCommunityTopics($communityId, $optParams = array())
  1532. {
  1533. $params = array('communityId' => $communityId);
  1534. $params = array_merge($params, $optParams);
  1535. return $this->call('list', array($params), "Google_Service_Orkut_CommunityTopicList");
  1536. }
  1537. }
  1538. /**
  1539. * The "counters" collection of methods.
  1540. * Typical usage is:
  1541. * <code>
  1542. * $orkutService = new Google_Service_Orkut(...);
  1543. * $counters = $orkutService->counters;
  1544. * </code>
  1545. */
  1546. class Google_Service_Orkut_Counters_Resource extends Google_Service_Resource
  1547. {
  1548. /**
  1549. * Retrieves the counters of a user. (counters.listCounters)
  1550. *
  1551. * @param string $userId
  1552. * The ID of the user whose counters will be listed. Can be me to refer to caller.
  1553. * @param array $optParams Optional parameters.
  1554. * @return Google_Service_Orkut_Counters
  1555. */
  1556. public function listCounters($userId, $optParams = array())
  1557. {
  1558. $params = array('userId' => $userId);
  1559. $params = array_merge($params, $optParams);
  1560. return $this->call('list', array($params), "Google_Service_Orkut_Counters");
  1561. }
  1562. }
  1563. /**
  1564. * The "scraps" collection of methods.
  1565. * Typical usage is:
  1566. * <code>
  1567. * $orkutService = new Google_Service_Orkut(...);
  1568. * $scraps = $orkutService->scraps;
  1569. * </code>
  1570. */
  1571. class Google_Service_Orkut_Scraps_Resource extends Google_Service_Resource
  1572. {
  1573. /**
  1574. * Creates a new scrap. (scraps.insert)
  1575. *
  1576. * @param Google_Activity $postBody
  1577. * @param array $optParams Optional parameters.
  1578. * @return Google_Service_Orkut_Activity
  1579. */
  1580. public function insert(Google_Service_Orkut_Activity $postBody, $optParams = array())
  1581. {
  1582. $params = array('postBody' => $postBody);
  1583. $params = array_merge($params, $optParams);
  1584. return $this->call('insert', array($params), "Google_Service_Orkut_Activity");
  1585. }
  1586. }
  1587. class Google_Service_Orkut_Acl extends Google_Collection
  1588. {
  1589. public $description;
  1590. protected $itemsType = 'Google_Service_Orkut_AclItems';
  1591. protected $itemsDataType = 'array';
  1592. public $kind;
  1593. public $totalParticipants;
  1594. public function setDescription($description)
  1595. {
  1596. $this->description = $description;
  1597. }
  1598. public function getDescription()
  1599. {
  1600. return $this->description;
  1601. }
  1602. public function setItems($items)
  1603. {
  1604. $this->items = $items;
  1605. }
  1606. public function getItems()
  1607. {
  1608. return $this->items;
  1609. }
  1610. public function setKind($kind)
  1611. {
  1612. $this->kind = $kind;
  1613. }
  1614. public function getKind()
  1615. {
  1616. return $this->kind;
  1617. }
  1618. public function setTotalParticipants($totalParticipants)
  1619. {
  1620. $this->totalParticipants = $totalParticipants;
  1621. }
  1622. public function getTotalParticipants()
  1623. {
  1624. return $this->totalParticipants;
  1625. }
  1626. }
  1627. class Google_Service_Orkut_AclItems extends Google_Model
  1628. {
  1629. public $id;
  1630. public $type;
  1631. public function setId($id)
  1632. {
  1633. $this->id = $id;
  1634. }
  1635. public function getId()
  1636. {
  1637. return $this->id;
  1638. }
  1639. public function setType($type)
  1640. {
  1641. $this->type = $type;
  1642. }
  1643. public function getType()
  1644. {
  1645. return $this->type;
  1646. }
  1647. }
  1648. class Google_Service_Orkut_Activity extends Google_Collection
  1649. {
  1650. protected $accessType = 'Google_Service_Orkut_Acl';
  1651. protected $accessDataType = '';
  1652. protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
  1653. protected $actorDataType = '';
  1654. public $id;
  1655. public $kind;
  1656. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  1657. protected $linksDataType = 'array';
  1658. protected $objectType = 'Google_Service_Orkut_ActivityObject';
  1659. protected $objectDataType = '';
  1660. public $published;
  1661. public $title;
  1662. public $updated;
  1663. public $verb;
  1664. public function setAccess(Google_Service_Orkut_Acl $access)
  1665. {
  1666. $this->access = $access;
  1667. }
  1668. public function getAccess()
  1669. {
  1670. return $this->access;
  1671. }
  1672. public function setActor(Google_Service_Orkut_OrkutAuthorResource $actor)
  1673. {
  1674. $this->actor = $actor;
  1675. }
  1676. public function getActor()
  1677. {
  1678. return $this->actor;
  1679. }
  1680. public function setId($id)
  1681. {
  1682. $this->id = $id;
  1683. }
  1684. public function getId()
  1685. {
  1686. return $this->id;
  1687. }
  1688. public function setKind($kind)
  1689. {
  1690. $this->kind = $kind;
  1691. }
  1692. public function getKind()
  1693. {
  1694. return $this->kind;
  1695. }
  1696. public function setLinks($links)
  1697. {
  1698. $this->links = $links;
  1699. }
  1700. public function getLinks()
  1701. {
  1702. return $this->links;
  1703. }
  1704. public function setObject(Google_Service_Orkut_ActivityObject $object)
  1705. {
  1706. $this->object = $object;
  1707. }
  1708. public function getObject()
  1709. {
  1710. return $this->object;
  1711. }
  1712. public function setPublished($published)
  1713. {
  1714. $this->published = $published;
  1715. }
  1716. public function getPublished()
  1717. {
  1718. return $this->published;
  1719. }
  1720. public function setTitle($title)
  1721. {
  1722. $this->title = $title;
  1723. }
  1724. public function getTitle()
  1725. {
  1726. return $this->title;
  1727. }
  1728. public function setUpdated($updated)
  1729. {
  1730. $this->updated = $updated;
  1731. }
  1732. public function getUpdated()
  1733. {
  1734. return $this->updated;
  1735. }
  1736. public function setVerb($verb)
  1737. {
  1738. $this->verb = $verb;
  1739. }
  1740. public function getVerb()
  1741. {
  1742. return $this->verb;
  1743. }
  1744. }
  1745. class Google_Service_Orkut_ActivityList extends Google_Collection
  1746. {
  1747. protected $itemsType = 'Google_Service_Orkut_Activity';
  1748. protected $itemsDataType = 'array';
  1749. public $kind;
  1750. public $nextPageToken;
  1751. public function setItems($items)
  1752. {
  1753. $this->items = $items;
  1754. }
  1755. public function getItems()
  1756. {
  1757. return $this->items;
  1758. }
  1759. public function setKind($kind)
  1760. {
  1761. $this->kind = $kind;
  1762. }
  1763. public function getKind()
  1764. {
  1765. return $this->kind;
  1766. }
  1767. public function setNextPageToken($nextPageToken)
  1768. {
  1769. $this->nextPageToken = $nextPageToken;
  1770. }
  1771. public function getNextPageToken()
  1772. {
  1773. return $this->nextPageToken;
  1774. }
  1775. }
  1776. class Google_Service_Orkut_ActivityObject extends Google_Collection
  1777. {
  1778. public $content;
  1779. protected $itemsType = 'Google_Service_Orkut_OrkutActivityobjectsResource';
  1780. protected $itemsDataType = 'array';
  1781. public $objectType;
  1782. protected $repliesType = 'Google_Service_Orkut_ActivityObjectReplies';
  1783. protected $repliesDataType = '';
  1784. public function setContent($content)
  1785. {
  1786. $this->content = $content;
  1787. }
  1788. public function getContent()
  1789. {
  1790. return $this->content;
  1791. }
  1792. public function setItems($items)
  1793. {
  1794. $this->items = $items;
  1795. }
  1796. public function getItems()
  1797. {
  1798. return $this->items;
  1799. }
  1800. public function setObjectType($objectType)
  1801. {
  1802. $this->objectType = $objectType;
  1803. }
  1804. public function getObjectType()
  1805. {
  1806. return $this->objectType;
  1807. }
  1808. public function setReplies(Google_Service_Orkut_ActivityObjectReplies $replies)
  1809. {
  1810. $this->replies = $replies;
  1811. }
  1812. public function getReplies()
  1813. {
  1814. return $this->replies;
  1815. }
  1816. }
  1817. class Google_Service_Orkut_ActivityObjectReplies extends Google_Collection
  1818. {
  1819. protected $itemsType = 'Google_Service_Orkut_Comment';
  1820. protected $itemsDataType = 'array';
  1821. public $totalItems;
  1822. public $url;
  1823. public function setItems($items)
  1824. {
  1825. $this->items = $items;
  1826. }
  1827. public function getItems()
  1828. {
  1829. return $this->items;
  1830. }
  1831. public function setTotalItems($totalItems)
  1832. {
  1833. $this->totalItems = $totalItems;
  1834. }
  1835. public function getTotalItems()
  1836. {
  1837. return $this->totalItems;
  1838. }
  1839. public function setUrl($url)
  1840. {
  1841. $this->url = $url;
  1842. }
  1843. public function getUrl()
  1844. {
  1845. return $this->url;
  1846. }
  1847. }
  1848. class Google_Service_Orkut_Badge extends Google_Model
  1849. {
  1850. public $badgeLargeLogo;
  1851. public $badgeSmallLogo;
  1852. public $caption;
  1853. public $description;
  1854. public $id;
  1855. public $kind;
  1856. public $sponsorLogo;
  1857. public $sponsorName;
  1858. public $sponsorUrl;
  1859. public function setBadgeLargeLogo($badgeLargeLogo)
  1860. {
  1861. $this->badgeLargeLogo = $badgeLargeLogo;
  1862. }
  1863. public function getBadgeLargeLogo()
  1864. {
  1865. return $this->badgeLargeLogo;
  1866. }
  1867. public function setBadgeSmallLogo($badgeSmallLogo)
  1868. {
  1869. $this->badgeSmallLogo = $badgeSmallLogo;
  1870. }
  1871. public function getBadgeSmallLogo()
  1872. {
  1873. return $this->badgeSmallLogo;
  1874. }
  1875. public function setCaption($caption)
  1876. {
  1877. $this->caption = $caption;
  1878. }
  1879. public function getCaption()
  1880. {
  1881. return $this->caption;
  1882. }
  1883. public function setDescription($description)
  1884. {
  1885. $this->description = $description;
  1886. }
  1887. public function getDescription()
  1888. {
  1889. return $this->description;
  1890. }
  1891. public function setId($id)
  1892. {
  1893. $this->id = $id;
  1894. }
  1895. public function getId()
  1896. {
  1897. return $this->id;
  1898. }
  1899. public function setKind($kind)
  1900. {
  1901. $this->kind = $kind;
  1902. }
  1903. public function getKind()
  1904. {
  1905. return $this->kind;
  1906. }
  1907. public function setSponsorLogo($sponsorLogo)
  1908. {
  1909. $this->sponsorLogo = $sponsorLogo;
  1910. }
  1911. public function getSponsorLogo()
  1912. {
  1913. return $this->sponsorLogo;
  1914. }
  1915. public function setSponsorName($sponsorName)
  1916. {
  1917. $this->sponsorName = $sponsorName;
  1918. }
  1919. public function getSponsorName()
  1920. {
  1921. return $this->sponsorName;
  1922. }
  1923. public function setSponsorUrl($sponsorUrl)
  1924. {
  1925. $this->sponsorUrl = $sponsorUrl;
  1926. }
  1927. public function getSponsorUrl()
  1928. {
  1929. return $this->sponsorUrl;
  1930. }
  1931. }
  1932. class Google_Service_Orkut_BadgeList extends Google_Collection
  1933. {
  1934. protected $itemsType = 'Google_Service_Orkut_Badge';
  1935. protected $itemsDataType = 'array';
  1936. public $kind;
  1937. public function setItems($items)
  1938. {
  1939. $this->items = $items;
  1940. }
  1941. public function getItems()
  1942. {
  1943. return $this->items;
  1944. }
  1945. public function setKind($kind)
  1946. {
  1947. $this->kind = $kind;
  1948. }
  1949. public function getKind()
  1950. {
  1951. return $this->kind;
  1952. }
  1953. }
  1954. class Google_Service_Orkut_Comment extends Google_Collection
  1955. {
  1956. protected $actorType = 'Google_Service_Orkut_OrkutAuthorResource';
  1957. protected $actorDataType = '';
  1958. public $content;
  1959. public $id;
  1960. protected $inReplyToType = 'Google_Service_Orkut_CommentInReplyTo';
  1961. protected $inReplyToDataType = '';
  1962. public $kind;
  1963. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  1964. protected $linksDataType = 'array';
  1965. public $published;
  1966. public function setActor(Google_Service_Orkut_OrkutAuthorResource $actor)
  1967. {
  1968. $this->actor = $actor;
  1969. }
  1970. public function getActor()
  1971. {
  1972. return $this->actor;
  1973. }
  1974. public function setContent($content)
  1975. {
  1976. $this->content = $content;
  1977. }
  1978. public function getContent()
  1979. {
  1980. return $this->content;
  1981. }
  1982. public function setId($id)
  1983. {
  1984. $this->id = $id;
  1985. }
  1986. public function getId()
  1987. {
  1988. return $this->id;
  1989. }
  1990. public function setInReplyTo(Google_Service_Orkut_CommentInReplyTo $inReplyTo)
  1991. {
  1992. $this->inReplyTo = $inReplyTo;
  1993. }
  1994. public function getInReplyTo()
  1995. {
  1996. return $this->inReplyTo;
  1997. }
  1998. public function setKind($kind)
  1999. {
  2000. $this->kind = $kind;
  2001. }
  2002. public function getKind()
  2003. {
  2004. return $this->kind;
  2005. }
  2006. public function setLinks($links)
  2007. {
  2008. $this->links = $links;
  2009. }
  2010. public function getLinks()
  2011. {
  2012. return $this->links;
  2013. }
  2014. public function setPublished($published)
  2015. {
  2016. $this->published = $published;
  2017. }
  2018. public function getPublished()
  2019. {
  2020. return $this->published;
  2021. }
  2022. }
  2023. class Google_Service_Orkut_CommentInReplyTo extends Google_Model
  2024. {
  2025. public $href;
  2026. public $ref;
  2027. public $rel;
  2028. public $type;
  2029. public function setHref($href)
  2030. {
  2031. $this->href = $href;
  2032. }
  2033. public function getHref()
  2034. {
  2035. return $this->href;
  2036. }
  2037. public function setRef($ref)
  2038. {
  2039. $this->ref = $ref;
  2040. }
  2041. public function getRef()
  2042. {
  2043. return $this->ref;
  2044. }
  2045. public function setRel($rel)
  2046. {
  2047. $this->rel = $rel;
  2048. }
  2049. public function getRel()
  2050. {
  2051. return $this->rel;
  2052. }
  2053. public function setType($type)
  2054. {
  2055. $this->type = $type;
  2056. }
  2057. public function getType()
  2058. {
  2059. return $this->type;
  2060. }
  2061. }
  2062. class Google_Service_Orkut_CommentList extends Google_Collection
  2063. {
  2064. protected $itemsType = 'Google_Service_Orkut_Comment';
  2065. protected $itemsDataType = 'array';
  2066. public $kind;
  2067. public $nextPageToken;
  2068. public $previousPageToken;
  2069. public function setItems($items)
  2070. {
  2071. $this->items = $items;
  2072. }
  2073. public function getItems()
  2074. {
  2075. return $this->items;
  2076. }
  2077. public function setKind($kind)
  2078. {
  2079. $this->kind = $kind;
  2080. }
  2081. public function getKind()
  2082. {
  2083. return $this->kind;
  2084. }
  2085. public function setNextPageToken($nextPageToken)
  2086. {
  2087. $this->nextPageToken = $nextPageToken;
  2088. }
  2089. public function getNextPageToken()
  2090. {
  2091. return $this->nextPageToken;
  2092. }
  2093. public function setPreviousPageToken($previousPageToken)
  2094. {
  2095. $this->previousPageToken = $previousPageToken;
  2096. }
  2097. public function getPreviousPageToken()
  2098. {
  2099. return $this->previousPageToken;
  2100. }
  2101. }
  2102. class Google_Service_Orkut_Community extends Google_Collection
  2103. {
  2104. public $category;
  2105. protected $coOwnersType = 'Google_Service_Orkut_OrkutAuthorResource';
  2106. protected $coOwnersDataType = 'array';
  2107. public $creationDate;
  2108. public $description;
  2109. public $id;
  2110. public $kind;
  2111. public $language;
  2112. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  2113. protected $linksDataType = 'array';
  2114. public $location;
  2115. public $memberCount;
  2116. protected $moderatorsType = 'Google_Service_Orkut_OrkutAuthorResource';
  2117. protected $moderatorsDataType = 'array';
  2118. public $name;
  2119. protected $ownerType = 'Google_Service_Orkut_OrkutAuthorResource';
  2120. protected $ownerDataType = '';
  2121. public $photoUrl;
  2122. public function setCategory($category)
  2123. {
  2124. $this->category = $category;
  2125. }
  2126. public function getCategory()
  2127. {
  2128. return $this->category;
  2129. }
  2130. public function setCoOwners($coOwners)
  2131. {
  2132. $this->coOwners = $coOwners;
  2133. }
  2134. public function getCoOwners()
  2135. {
  2136. return $this->coOwners;
  2137. }
  2138. public function setCreationDate($creationDate)
  2139. {
  2140. $this->creationDate = $creationDate;
  2141. }
  2142. public function getCreationDate()
  2143. {
  2144. return $this->creationDate;
  2145. }
  2146. public function setDescription($description)
  2147. {
  2148. $this->description = $description;
  2149. }
  2150. public function getDescription()
  2151. {
  2152. return $this->description;
  2153. }
  2154. public function setId($id)
  2155. {
  2156. $this->id = $id;
  2157. }
  2158. public function getId()
  2159. {
  2160. return $this->id;
  2161. }
  2162. public function setKind($kind)
  2163. {
  2164. $this->kind = $kind;
  2165. }
  2166. public function getKind()
  2167. {
  2168. return $this->kind;
  2169. }
  2170. public function setLanguage($language)
  2171. {
  2172. $this->language = $language;
  2173. }
  2174. public function getLanguage()
  2175. {
  2176. return $this->language;
  2177. }
  2178. public function setLinks($links)
  2179. {
  2180. $this->links = $links;
  2181. }
  2182. public function getLinks()
  2183. {
  2184. return $this->links;
  2185. }
  2186. public function setLocation($location)
  2187. {
  2188. $this->location = $location;
  2189. }
  2190. public function getLocation()
  2191. {
  2192. return $this->location;
  2193. }
  2194. public function setMemberCount($memberCount)
  2195. {
  2196. $this->memberCount = $memberCount;
  2197. }
  2198. public function getMemberCount()
  2199. {
  2200. return $this->memberCount;
  2201. }
  2202. public function setModerators($moderators)
  2203. {
  2204. $this->moderators = $moderators;
  2205. }
  2206. public function getModerators()
  2207. {
  2208. return $this->moderators;
  2209. }
  2210. public function setName($name)
  2211. {
  2212. $this->name = $name;
  2213. }
  2214. public function getName()
  2215. {
  2216. return $this->name;
  2217. }
  2218. public function setOwner(Google_Service_Orkut_OrkutAuthorResource $owner)
  2219. {
  2220. $this->owner = $owner;
  2221. }
  2222. public function getOwner()
  2223. {
  2224. return $this->owner;
  2225. }
  2226. public function setPhotoUrl($photoUrl)
  2227. {
  2228. $this->photoUrl = $photoUrl;
  2229. }
  2230. public function getPhotoUrl()
  2231. {
  2232. return $this->photoUrl;
  2233. }
  2234. }
  2235. class Google_Service_Orkut_CommunityList extends Google_Collection
  2236. {
  2237. protected $itemsType = 'Google_Service_Orkut_Community';
  2238. protected $itemsDataType = 'array';
  2239. public $kind;
  2240. public function setItems($items)
  2241. {
  2242. $this->items = $items;
  2243. }
  2244. public function getItems()
  2245. {
  2246. return $this->items;
  2247. }
  2248. public function setKind($kind)
  2249. {
  2250. $this->kind = $kind;
  2251. }
  2252. public function getKind()
  2253. {
  2254. return $this->kind;
  2255. }
  2256. }
  2257. class Google_Service_Orkut_CommunityMembers extends Google_Model
  2258. {
  2259. protected $communityMembershipStatusType = 'Google_Service_Orkut_CommunityMembershipStatus';
  2260. protected $communityMembershipStatusDataType = '';
  2261. public $kind;
  2262. protected $personType = 'Google_Service_Orkut_OrkutActivitypersonResource';
  2263. protected $personDataType = '';
  2264. public function setCommunityMembershipStatus(Google_Service_Orkut_CommunityMembershipStatus $communityMembershipStatus)
  2265. {
  2266. $this->communityMembershipStatus = $communityMembershipStatus;
  2267. }
  2268. public function getCommunityMembershipStatus()
  2269. {
  2270. return $this->communityMembershipStatus;
  2271. }
  2272. public function setKind($kind)
  2273. {
  2274. $this->kind = $kind;
  2275. }
  2276. public function getKind()
  2277. {
  2278. return $this->kind;
  2279. }
  2280. public function setPerson(Google_Service_Orkut_OrkutActivitypersonResource $person)
  2281. {
  2282. $this->person = $person;
  2283. }
  2284. public function getPerson()
  2285. {
  2286. return $this->person;
  2287. }
  2288. }
  2289. class Google_Service_Orkut_CommunityMembersList extends Google_Collection
  2290. {
  2291. public $firstPageToken;
  2292. protected $itemsType = 'Google_Service_Orkut_CommunityMembers';
  2293. protected $itemsDataType = 'array';
  2294. public $kind;
  2295. public $lastPageToken;
  2296. public $nextPageToken;
  2297. public $prevPageToken;
  2298. public function setFirstPageToken($firstPageToken)
  2299. {
  2300. $this->firstPageToken = $firstPageToken;
  2301. }
  2302. public function getFirstPageToken()
  2303. {
  2304. return $this->firstPageToken;
  2305. }
  2306. public function setItems($items)
  2307. {
  2308. $this->items = $items;
  2309. }
  2310. public function getItems()
  2311. {
  2312. return $this->items;
  2313. }
  2314. public function setKind($kind)
  2315. {
  2316. $this->kind = $kind;
  2317. }
  2318. public function getKind()
  2319. {
  2320. return $this->kind;
  2321. }
  2322. public function setLastPageToken($lastPageToken)
  2323. {
  2324. $this->lastPageToken = $lastPageToken;
  2325. }
  2326. public function getLastPageToken()
  2327. {
  2328. return $this->lastPageToken;
  2329. }
  2330. public function setNextPageToken($nextPageToken)
  2331. {
  2332. $this->nextPageToken = $nextPageToken;
  2333. }
  2334. public function getNextPageToken()
  2335. {
  2336. return $this->nextPageToken;
  2337. }
  2338. public function setPrevPageToken($prevPageToken)
  2339. {
  2340. $this->prevPageToken = $prevPageToken;
  2341. }
  2342. public function getPrevPageToken()
  2343. {
  2344. return $this->prevPageToken;
  2345. }
  2346. }
  2347. class Google_Service_Orkut_CommunityMembershipStatus extends Google_Model
  2348. {
  2349. public $canCreatePoll;
  2350. public $canCreateTopic;
  2351. public $canShout;
  2352. public $isCoOwner;
  2353. public $isFollowing;
  2354. public $isModerator;
  2355. public $isOwner;
  2356. public $isRestoreAvailable;
  2357. public $isTakebackAvailable;
  2358. public $kind;
  2359. public $status;
  2360. public function setCanCreatePoll($canCreatePoll)
  2361. {
  2362. $this->canCreatePoll = $canCreatePoll;
  2363. }
  2364. public function getCanCreatePoll()
  2365. {
  2366. return $this->canCreatePoll;
  2367. }
  2368. public function setCanCreateTopic($canCreateTopic)
  2369. {
  2370. $this->canCreateTopic = $canCreateTopic;
  2371. }
  2372. public function getCanCreateTopic()
  2373. {
  2374. return $this->canCreateTopic;
  2375. }
  2376. public function setCanShout($canShout)
  2377. {
  2378. $this->canShout = $canShout;
  2379. }
  2380. public function getCanShout()
  2381. {
  2382. return $this->canShout;
  2383. }
  2384. public function setIsCoOwner($isCoOwner)
  2385. {
  2386. $this->isCoOwner = $isCoOwner;
  2387. }
  2388. public function getIsCoOwner()
  2389. {
  2390. return $this->isCoOwner;
  2391. }
  2392. public function setIsFollowing($isFollowing)
  2393. {
  2394. $this->isFollowing = $isFollowing;
  2395. }
  2396. public function getIsFollowing()
  2397. {
  2398. return $this->isFollowing;
  2399. }
  2400. public function setIsModerator($isModerator)
  2401. {
  2402. $this->isModerator = $isModerator;
  2403. }
  2404. public function getIsModerator()
  2405. {
  2406. return $this->isModerator;
  2407. }
  2408. public function setIsOwner($isOwner)
  2409. {
  2410. $this->isOwner = $isOwner;
  2411. }
  2412. public function getIsOwner()
  2413. {
  2414. return $this->isOwner;
  2415. }
  2416. public function setIsRestoreAvailable($isRestoreAvailable)
  2417. {
  2418. $this->isRestoreAvailable = $isRestoreAvailable;
  2419. }
  2420. public function getIsRestoreAvailable()
  2421. {
  2422. return $this->isRestoreAvailable;
  2423. }
  2424. public function setIsTakebackAvailable($isTakebackAvailable)
  2425. {
  2426. $this->isTakebackAvailable = $isTakebackAvailable;
  2427. }
  2428. public function getIsTakebackAvailable()
  2429. {
  2430. return $this->isTakebackAvailable;
  2431. }
  2432. public function setKind($kind)
  2433. {
  2434. $this->kind = $kind;
  2435. }
  2436. public function getKind()
  2437. {
  2438. return $this->kind;
  2439. }
  2440. public function setStatus($status)
  2441. {
  2442. $this->status = $status;
  2443. }
  2444. public function getStatus()
  2445. {
  2446. return $this->status;
  2447. }
  2448. }
  2449. class Google_Service_Orkut_CommunityMessage extends Google_Collection
  2450. {
  2451. public $addedDate;
  2452. protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
  2453. protected $authorDataType = '';
  2454. public $body;
  2455. public $id;
  2456. public $isSpam;
  2457. public $kind;
  2458. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  2459. protected $linksDataType = 'array';
  2460. public $subject;
  2461. public function setAddedDate($addedDate)
  2462. {
  2463. $this->addedDate = $addedDate;
  2464. }
  2465. public function getAddedDate()
  2466. {
  2467. return $this->addedDate;
  2468. }
  2469. public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
  2470. {
  2471. $this->author = $author;
  2472. }
  2473. public function getAuthor()
  2474. {
  2475. return $this->author;
  2476. }
  2477. public function setBody($body)
  2478. {
  2479. $this->body = $body;
  2480. }
  2481. public function getBody()
  2482. {
  2483. return $this->body;
  2484. }
  2485. public function setId($id)
  2486. {
  2487. $this->id = $id;
  2488. }
  2489. public function getId()
  2490. {
  2491. return $this->id;
  2492. }
  2493. public function setIsSpam($isSpam)
  2494. {
  2495. $this->isSpam = $isSpam;
  2496. }
  2497. public function getIsSpam()
  2498. {
  2499. return $this->isSpam;
  2500. }
  2501. public function setKind($kind)
  2502. {
  2503. $this->kind = $kind;
  2504. }
  2505. public function getKind()
  2506. {
  2507. return $this->kind;
  2508. }
  2509. public function setLinks($links)
  2510. {
  2511. $this->links = $links;
  2512. }
  2513. public function getLinks()
  2514. {
  2515. return $this->links;
  2516. }
  2517. public function setSubject($subject)
  2518. {
  2519. $this->subject = $subject;
  2520. }
  2521. public function getSubject()
  2522. {
  2523. return $this->subject;
  2524. }
  2525. }
  2526. class Google_Service_Orkut_CommunityMessageList extends Google_Collection
  2527. {
  2528. public $firstPageToken;
  2529. protected $itemsType = 'Google_Service_Orkut_CommunityMessage';
  2530. protected $itemsDataType = 'array';
  2531. public $kind;
  2532. public $lastPageToken;
  2533. public $nextPageToken;
  2534. public $prevPageToken;
  2535. public function setFirstPageToken($firstPageToken)
  2536. {
  2537. $this->firstPageToken = $firstPageToken;
  2538. }
  2539. public function getFirstPageToken()
  2540. {
  2541. return $this->firstPageToken;
  2542. }
  2543. public function setItems($items)
  2544. {
  2545. $this->items = $items;
  2546. }
  2547. public function getItems()
  2548. {
  2549. return $this->items;
  2550. }
  2551. public function setKind($kind)
  2552. {
  2553. $this->kind = $kind;
  2554. }
  2555. public function getKind()
  2556. {
  2557. return $this->kind;
  2558. }
  2559. public function setLastPageToken($lastPageToken)
  2560. {
  2561. $this->lastPageToken = $lastPageToken;
  2562. }
  2563. public function getLastPageToken()
  2564. {
  2565. return $this->lastPageToken;
  2566. }
  2567. public function setNextPageToken($nextPageToken)
  2568. {
  2569. $this->nextPageToken = $nextPageToken;
  2570. }
  2571. public function getNextPageToken()
  2572. {
  2573. return $this->nextPageToken;
  2574. }
  2575. public function setPrevPageToken($prevPageToken)
  2576. {
  2577. $this->prevPageToken = $prevPageToken;
  2578. }
  2579. public function getPrevPageToken()
  2580. {
  2581. return $this->prevPageToken;
  2582. }
  2583. }
  2584. class Google_Service_Orkut_CommunityPoll extends Google_Collection
  2585. {
  2586. protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
  2587. protected $authorDataType = '';
  2588. public $communityId;
  2589. public $creationTime;
  2590. public $description;
  2591. public $endingTime;
  2592. public $hasVoted;
  2593. public $id;
  2594. protected $imageType = 'Google_Service_Orkut_CommunityPollImage';
  2595. protected $imageDataType = '';
  2596. public $isClosed;
  2597. public $isMultipleAnswers;
  2598. public $isOpenForVoting;
  2599. public $isRestricted;
  2600. public $isSpam;
  2601. public $isUsersVotePublic;
  2602. public $isVotingAllowedForNonMembers;
  2603. public $kind;
  2604. public $lastUpdate;
  2605. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  2606. protected $linksDataType = 'array';
  2607. protected $optionsType = 'Google_Service_Orkut_OrkutCommunitypolloptionResource';
  2608. protected $optionsDataType = 'array';
  2609. public $question;
  2610. public $totalNumberOfVotes;
  2611. public $votedOptions;
  2612. public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
  2613. {
  2614. $this->author = $author;
  2615. }
  2616. public function getAuthor()
  2617. {
  2618. return $this->author;
  2619. }
  2620. public function setCommunityId($communityId)
  2621. {
  2622. $this->communityId = $communityId;
  2623. }
  2624. public function getCommunityId()
  2625. {
  2626. return $this->communityId;
  2627. }
  2628. public function setCreationTime($creationTime)
  2629. {
  2630. $this->creationTime = $creationTime;
  2631. }
  2632. public function getCreationTime()
  2633. {
  2634. return $this->creationTime;
  2635. }
  2636. public function setDescription($description)
  2637. {
  2638. $this->description = $description;
  2639. }
  2640. public function getDescription()
  2641. {
  2642. return $this->description;
  2643. }
  2644. public function setEndingTime($endingTime)
  2645. {
  2646. $this->endingTime = $endingTime;
  2647. }
  2648. public function getEndingTime()
  2649. {
  2650. return $this->endingTime;
  2651. }
  2652. public function setHasVoted($hasVoted)
  2653. {
  2654. $this->hasVoted = $hasVoted;
  2655. }
  2656. public function getHasVoted()
  2657. {
  2658. return $this->hasVoted;
  2659. }
  2660. public function setId($id)
  2661. {
  2662. $this->id = $id;
  2663. }
  2664. public function getId()
  2665. {
  2666. return $this->id;
  2667. }
  2668. public function setImage(Google_Service_Orkut_CommunityPollImage $image)
  2669. {
  2670. $this->image = $image;
  2671. }
  2672. public function getImage()
  2673. {
  2674. return $this->image;
  2675. }
  2676. public function setIsClosed($isClosed)
  2677. {
  2678. $this->isClosed = $isClosed;
  2679. }
  2680. public function getIsClosed()
  2681. {
  2682. return $this->isClosed;
  2683. }
  2684. public function setIsMultipleAnswers($isMultipleAnswers)
  2685. {
  2686. $this->isMultipleAnswers = $isMultipleAnswers;
  2687. }
  2688. public function getIsMultipleAnswers()
  2689. {
  2690. return $this->isMultipleAnswers;
  2691. }
  2692. public function setIsOpenForVoting($isOpenForVoting)
  2693. {
  2694. $this->isOpenForVoting = $isOpenForVoting;
  2695. }
  2696. public function getIsOpenForVoting()
  2697. {
  2698. return $this->isOpenForVoting;
  2699. }
  2700. public function setIsRestricted($isRestricted)
  2701. {
  2702. $this->isRestricted = $isRestricted;
  2703. }
  2704. public function getIsRestricted()
  2705. {
  2706. return $this->isRestricted;
  2707. }
  2708. public function setIsSpam($isSpam)
  2709. {
  2710. $this->isSpam = $isSpam;
  2711. }
  2712. public function getIsSpam()
  2713. {
  2714. return $this->isSpam;
  2715. }
  2716. public function setIsUsersVotePublic($isUsersVotePublic)
  2717. {
  2718. $this->isUsersVotePublic = $isUsersVotePublic;
  2719. }
  2720. public function getIsUsersVotePublic()
  2721. {
  2722. return $this->isUsersVotePublic;
  2723. }
  2724. public function setIsVotingAllowedForNonMembers($isVotingAllowedForNonMembers)
  2725. {
  2726. $this->isVotingAllowedForNonMembers = $isVotingAllowedForNonMembers;
  2727. }
  2728. public function getIsVotingAllowedForNonMembers()
  2729. {
  2730. return $this->isVotingAllowedForNonMembers;
  2731. }
  2732. public function setKind($kind)
  2733. {
  2734. $this->kind = $kind;
  2735. }
  2736. public function getKind()
  2737. {
  2738. return $this->kind;
  2739. }
  2740. public function setLastUpdate($lastUpdate)
  2741. {
  2742. $this->lastUpdate = $lastUpdate;
  2743. }
  2744. public function getLastUpdate()
  2745. {
  2746. return $this->lastUpdate;
  2747. }
  2748. public function setLinks($links)
  2749. {
  2750. $this->links = $links;
  2751. }
  2752. public function getLinks()
  2753. {
  2754. return $this->links;
  2755. }
  2756. public function setOptions($options)
  2757. {
  2758. $this->options = $options;
  2759. }
  2760. public function getOptions()
  2761. {
  2762. return $this->options;
  2763. }
  2764. public function setQuestion($question)
  2765. {
  2766. $this->question = $question;
  2767. }
  2768. public function getQuestion()
  2769. {
  2770. return $this->question;
  2771. }
  2772. public function setTotalNumberOfVotes($totalNumberOfVotes)
  2773. {
  2774. $this->totalNumberOfVotes = $totalNumberOfVotes;
  2775. }
  2776. public function getTotalNumberOfVotes()
  2777. {
  2778. return $this->totalNumberOfVotes;
  2779. }
  2780. public function setVotedOptions($votedOptions)
  2781. {
  2782. $this->votedOptions = $votedOptions;
  2783. }
  2784. public function getVotedOptions()
  2785. {
  2786. return $this->votedOptions;
  2787. }
  2788. }
  2789. class Google_Service_Orkut_CommunityPollComment extends Google_Model
  2790. {
  2791. public $addedDate;
  2792. protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
  2793. protected $authorDataType = '';
  2794. public $body;
  2795. public $id;
  2796. public $kind;
  2797. public function setAddedDate($addedDate)
  2798. {
  2799. $this->addedDate = $addedDate;
  2800. }
  2801. public function getAddedDate()
  2802. {
  2803. return $this->addedDate;
  2804. }
  2805. public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
  2806. {
  2807. $this->author = $author;
  2808. }
  2809. public function getAuthor()
  2810. {
  2811. return $this->author;
  2812. }
  2813. public function setBody($body)
  2814. {
  2815. $this->body = $body;
  2816. }
  2817. public function getBody()
  2818. {
  2819. return $this->body;
  2820. }
  2821. public function setId($id)
  2822. {
  2823. $this->id = $id;
  2824. }
  2825. public function getId()
  2826. {
  2827. return $this->id;
  2828. }
  2829. public function setKind($kind)
  2830. {
  2831. $this->kind = $kind;
  2832. }
  2833. public function getKind()
  2834. {
  2835. return $this->kind;
  2836. }
  2837. }
  2838. class Google_Service_Orkut_CommunityPollCommentList extends Google_Collection
  2839. {
  2840. public $firstPageToken;
  2841. protected $itemsType = 'Google_Service_Orkut_CommunityPollComment';
  2842. protected $itemsDataType = 'array';
  2843. public $kind;
  2844. public $lastPageToken;
  2845. public $nextPageToken;
  2846. public $prevPageToken;
  2847. public function setFirstPageToken($firstPageToken)
  2848. {
  2849. $this->firstPageToken = $firstPageToken;
  2850. }
  2851. public function getFirstPageToken()
  2852. {
  2853. return $this->firstPageToken;
  2854. }
  2855. public function setItems($items)
  2856. {
  2857. $this->items = $items;
  2858. }
  2859. public function getItems()
  2860. {
  2861. return $this->items;
  2862. }
  2863. public function setKind($kind)
  2864. {
  2865. $this->kind = $kind;
  2866. }
  2867. public function getKind()
  2868. {
  2869. return $this->kind;
  2870. }
  2871. public function setLastPageToken($lastPageToken)
  2872. {
  2873. $this->lastPageToken = $lastPageToken;
  2874. }
  2875. public function getLastPageToken()
  2876. {
  2877. return $this->lastPageToken;
  2878. }
  2879. public function setNextPageToken($nextPageToken)
  2880. {
  2881. $this->nextPageToken = $nextPageToken;
  2882. }
  2883. public function getNextPageToken()
  2884. {
  2885. return $this->nextPageToken;
  2886. }
  2887. public function setPrevPageToken($prevPageToken)
  2888. {
  2889. $this->prevPageToken = $prevPageToken;
  2890. }
  2891. public function getPrevPageToken()
  2892. {
  2893. return $this->prevPageToken;
  2894. }
  2895. }
  2896. class Google_Service_Orkut_CommunityPollImage extends Google_Model
  2897. {
  2898. public $url;
  2899. public function setUrl($url)
  2900. {
  2901. $this->url = $url;
  2902. }
  2903. public function getUrl()
  2904. {
  2905. return $this->url;
  2906. }
  2907. }
  2908. class Google_Service_Orkut_CommunityPollList extends Google_Collection
  2909. {
  2910. public $firstPageToken;
  2911. protected $itemsType = 'Google_Service_Orkut_CommunityPoll';
  2912. protected $itemsDataType = 'array';
  2913. public $kind;
  2914. public $lastPageToken;
  2915. public $nextPageToken;
  2916. public $prevPageToken;
  2917. public function setFirstPageToken($firstPageToken)
  2918. {
  2919. $this->firstPageToken = $firstPageToken;
  2920. }
  2921. public function getFirstPageToken()
  2922. {
  2923. return $this->firstPageToken;
  2924. }
  2925. public function setItems($items)
  2926. {
  2927. $this->items = $items;
  2928. }
  2929. public function getItems()
  2930. {
  2931. return $this->items;
  2932. }
  2933. public function setKind($kind)
  2934. {
  2935. $this->kind = $kind;
  2936. }
  2937. public function getKind()
  2938. {
  2939. return $this->kind;
  2940. }
  2941. public function setLastPageToken($lastPageToken)
  2942. {
  2943. $this->lastPageToken = $lastPageToken;
  2944. }
  2945. public function getLastPageToken()
  2946. {
  2947. return $this->lastPageToken;
  2948. }
  2949. public function setNextPageToken($nextPageToken)
  2950. {
  2951. $this->nextPageToken = $nextPageToken;
  2952. }
  2953. public function getNextPageToken()
  2954. {
  2955. return $this->nextPageToken;
  2956. }
  2957. public function setPrevPageToken($prevPageToken)
  2958. {
  2959. $this->prevPageToken = $prevPageToken;
  2960. }
  2961. public function getPrevPageToken()
  2962. {
  2963. return $this->prevPageToken;
  2964. }
  2965. }
  2966. class Google_Service_Orkut_CommunityPollVote extends Google_Collection
  2967. {
  2968. public $isVotevisible;
  2969. public $kind;
  2970. public $optionIds;
  2971. public function setIsVotevisible($isVotevisible)
  2972. {
  2973. $this->isVotevisible = $isVotevisible;
  2974. }
  2975. public function getIsVotevisible()
  2976. {
  2977. return $this->isVotevisible;
  2978. }
  2979. public function setKind($kind)
  2980. {
  2981. $this->kind = $kind;
  2982. }
  2983. public function getKind()
  2984. {
  2985. return $this->kind;
  2986. }
  2987. public function setOptionIds($optionIds)
  2988. {
  2989. $this->optionIds = $optionIds;
  2990. }
  2991. public function getOptionIds()
  2992. {
  2993. return $this->optionIds;
  2994. }
  2995. }
  2996. class Google_Service_Orkut_CommunityTopic extends Google_Collection
  2997. {
  2998. protected $authorType = 'Google_Service_Orkut_OrkutAuthorResource';
  2999. protected $authorDataType = '';
  3000. public $body;
  3001. public $id;
  3002. public $isClosed;
  3003. public $kind;
  3004. public $lastUpdate;
  3005. public $latestMessageSnippet;
  3006. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  3007. protected $linksDataType = 'array';
  3008. protected $messagesType = 'Google_Service_Orkut_CommunityMessage';
  3009. protected $messagesDataType = 'array';
  3010. public $numberOfReplies;
  3011. public $title;
  3012. public function setAuthor(Google_Service_Orkut_OrkutAuthorResource $author)
  3013. {
  3014. $this->author = $author;
  3015. }
  3016. public function getAuthor()
  3017. {
  3018. return $this->author;
  3019. }
  3020. public function setBody($body)
  3021. {
  3022. $this->body = $body;
  3023. }
  3024. public function getBody()
  3025. {
  3026. return $this->body;
  3027. }
  3028. public function setId($id)
  3029. {
  3030. $this->id = $id;
  3031. }
  3032. public function getId()
  3033. {
  3034. return $this->id;
  3035. }
  3036. public function setIsClosed($isClosed)
  3037. {
  3038. $this->isClosed = $isClosed;
  3039. }
  3040. public function getIsClosed()
  3041. {
  3042. return $this->isClosed;
  3043. }
  3044. public function setKind($kind)
  3045. {
  3046. $this->kind = $kind;
  3047. }
  3048. public function getKind()
  3049. {
  3050. return $this->kind;
  3051. }
  3052. public function setLastUpdate($lastUpdate)
  3053. {
  3054. $this->lastUpdate = $lastUpdate;
  3055. }
  3056. public function getLastUpdate()
  3057. {
  3058. return $this->lastUpdate;
  3059. }
  3060. public function setLatestMessageSnippet($latestMessageSnippet)
  3061. {
  3062. $this->latestMessageSnippet = $latestMessageSnippet;
  3063. }
  3064. public function getLatestMessageSnippet()
  3065. {
  3066. return $this->latestMessageSnippet;
  3067. }
  3068. public function setLinks($links)
  3069. {
  3070. $this->links = $links;
  3071. }
  3072. public function getLinks()
  3073. {
  3074. return $this->links;
  3075. }
  3076. public function setMessages($messages)
  3077. {
  3078. $this->messages = $messages;
  3079. }
  3080. public function getMessages()
  3081. {
  3082. return $this->messages;
  3083. }
  3084. public function setNumberOfReplies($numberOfReplies)
  3085. {
  3086. $this->numberOfReplies = $numberOfReplies;
  3087. }
  3088. public function getNumberOfReplies()
  3089. {
  3090. return $this->numberOfReplies;
  3091. }
  3092. public function setTitle($title)
  3093. {
  3094. $this->title = $title;
  3095. }
  3096. public function getTitle()
  3097. {
  3098. return $this->title;
  3099. }
  3100. }
  3101. class Google_Service_Orkut_CommunityTopicList extends Google_Collection
  3102. {
  3103. public $firstPageToken;
  3104. protected $itemsType = 'Google_Service_Orkut_CommunityTopic';
  3105. protected $itemsDataType = 'array';
  3106. public $kind;
  3107. public $lastPageToken;
  3108. public $nextPageToken;
  3109. public $prevPageToken;
  3110. public function setFirstPageToken($firstPageToken)
  3111. {
  3112. $this->firstPageToken = $firstPageToken;
  3113. }
  3114. public function getFirstPageToken()
  3115. {
  3116. return $this->firstPageToken;
  3117. }
  3118. public function setItems($items)
  3119. {
  3120. $this->items = $items;
  3121. }
  3122. public function getItems()
  3123. {
  3124. return $this->items;
  3125. }
  3126. public function setKind($kind)
  3127. {
  3128. $this->kind = $kind;
  3129. }
  3130. public function getKind()
  3131. {
  3132. return $this->kind;
  3133. }
  3134. public function setLastPageToken($lastPageToken)
  3135. {
  3136. $this->lastPageToken = $lastPageToken;
  3137. }
  3138. public function getLastPageToken()
  3139. {
  3140. return $this->lastPageToken;
  3141. }
  3142. public function setNextPageToken($nextPageToken)
  3143. {
  3144. $this->nextPageToken = $nextPageToken;
  3145. }
  3146. public function getNextPageToken()
  3147. {
  3148. return $this->nextPageToken;
  3149. }
  3150. public function setPrevPageToken($prevPageToken)
  3151. {
  3152. $this->prevPageToken = $prevPageToken;
  3153. }
  3154. public function getPrevPageToken()
  3155. {
  3156. return $this->prevPageToken;
  3157. }
  3158. }
  3159. class Google_Service_Orkut_Counters extends Google_Collection
  3160. {
  3161. protected $itemsType = 'Google_Service_Orkut_OrkutCounterResource';
  3162. protected $itemsDataType = 'array';
  3163. public $kind;
  3164. public function setItems($items)
  3165. {
  3166. $this->items = $items;
  3167. }
  3168. public function getItems()
  3169. {
  3170. return $this->items;
  3171. }
  3172. public function setKind($kind)
  3173. {
  3174. $this->kind = $kind;
  3175. }
  3176. public function getKind()
  3177. {
  3178. return $this->kind;
  3179. }
  3180. }
  3181. class Google_Service_Orkut_OrkutActivityobjectsResource extends Google_Collection
  3182. {
  3183. protected $communityType = 'Google_Service_Orkut_Community';
  3184. protected $communityDataType = '';
  3185. public $content;
  3186. public $displayName;
  3187. public $id;
  3188. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  3189. protected $linksDataType = 'array';
  3190. public $objectType;
  3191. protected $personType = 'Google_Service_Orkut_OrkutActivitypersonResource';
  3192. protected $personDataType = '';
  3193. public function setCommunity(Google_Service_Orkut_Community $community)
  3194. {
  3195. $this->community = $community;
  3196. }
  3197. public function getCommunity()
  3198. {
  3199. return $this->community;
  3200. }
  3201. public function setContent($content)
  3202. {
  3203. $this->content = $content;
  3204. }
  3205. public function getContent()
  3206. {
  3207. return $this->content;
  3208. }
  3209. public function setDisplayName($displayName)
  3210. {
  3211. $this->displayName = $displayName;
  3212. }
  3213. public function getDisplayName()
  3214. {
  3215. return $this->displayName;
  3216. }
  3217. public function setId($id)
  3218. {
  3219. $this->id = $id;
  3220. }
  3221. public function getId()
  3222. {
  3223. return $this->id;
  3224. }
  3225. public function setLinks($links)
  3226. {
  3227. $this->links = $links;
  3228. }
  3229. public function getLinks()
  3230. {
  3231. return $this->links;
  3232. }
  3233. public function setObjectType($objectType)
  3234. {
  3235. $this->objectType = $objectType;
  3236. }
  3237. public function getObjectType()
  3238. {
  3239. return $this->objectType;
  3240. }
  3241. public function setPerson(Google_Service_Orkut_OrkutActivitypersonResource $person)
  3242. {
  3243. $this->person = $person;
  3244. }
  3245. public function getPerson()
  3246. {
  3247. return $this->person;
  3248. }
  3249. }
  3250. class Google_Service_Orkut_OrkutActivitypersonResource extends Google_Model
  3251. {
  3252. public $birthday;
  3253. public $gender;
  3254. public $id;
  3255. protected $imageType = 'Google_Service_Orkut_OrkutActivitypersonResourceImage';
  3256. protected $imageDataType = '';
  3257. protected $nameType = 'Google_Service_Orkut_OrkutActivitypersonResourceName';
  3258. protected $nameDataType = '';
  3259. public $url;
  3260. public function setBirthday($birthday)
  3261. {
  3262. $this->birthday = $birthday;
  3263. }
  3264. public function getBirthday()
  3265. {
  3266. return $this->birthday;
  3267. }
  3268. public function setGender($gender)
  3269. {
  3270. $this->gender = $gender;
  3271. }
  3272. public function getGender()
  3273. {
  3274. return $this->gender;
  3275. }
  3276. public function setId($id)
  3277. {
  3278. $this->id = $id;
  3279. }
  3280. public function getId()
  3281. {
  3282. return $this->id;
  3283. }
  3284. public function setImage(Google_Service_Orkut_OrkutActivitypersonResourceImage $image)
  3285. {
  3286. $this->image = $image;
  3287. }
  3288. public function getImage()
  3289. {
  3290. return $this->image;
  3291. }
  3292. public function setName(Google_Service_Orkut_OrkutActivitypersonResourceName $name)
  3293. {
  3294. $this->name = $name;
  3295. }
  3296. public function getName()
  3297. {
  3298. return $this->name;
  3299. }
  3300. public function setUrl($url)
  3301. {
  3302. $this->url = $url;
  3303. }
  3304. public function getUrl()
  3305. {
  3306. return $this->url;
  3307. }
  3308. }
  3309. class Google_Service_Orkut_OrkutActivitypersonResourceImage extends Google_Model
  3310. {
  3311. public $url;
  3312. public function setUrl($url)
  3313. {
  3314. $this->url = $url;
  3315. }
  3316. public function getUrl()
  3317. {
  3318. return $this->url;
  3319. }
  3320. }
  3321. class Google_Service_Orkut_OrkutActivitypersonResourceName extends Google_Model
  3322. {
  3323. public $familyName;
  3324. public $givenName;
  3325. public function setFamilyName($familyName)
  3326. {
  3327. $this->familyName = $familyName;
  3328. }
  3329. public function getFamilyName()
  3330. {
  3331. return $this->familyName;
  3332. }
  3333. public function setGivenName($givenName)
  3334. {
  3335. $this->givenName = $givenName;
  3336. }
  3337. public function getGivenName()
  3338. {
  3339. return $this->givenName;
  3340. }
  3341. }
  3342. class Google_Service_Orkut_OrkutAuthorResource extends Google_Model
  3343. {
  3344. public $displayName;
  3345. public $id;
  3346. protected $imageType = 'Google_Service_Orkut_OrkutAuthorResourceImage';
  3347. protected $imageDataType = '';
  3348. public $url;
  3349. public function setDisplayName($displayName)
  3350. {
  3351. $this->displayName = $displayName;
  3352. }
  3353. public function getDisplayName()
  3354. {
  3355. return $this->displayName;
  3356. }
  3357. public function setId($id)
  3358. {
  3359. $this->id = $id;
  3360. }
  3361. public function getId()
  3362. {
  3363. return $this->id;
  3364. }
  3365. public function setImage(Google_Service_Orkut_OrkutAuthorResourceImage $image)
  3366. {
  3367. $this->image = $image;
  3368. }
  3369. public function getImage()
  3370. {
  3371. return $this->image;
  3372. }
  3373. public function setUrl($url)
  3374. {
  3375. $this->url = $url;
  3376. }
  3377. public function getUrl()
  3378. {
  3379. return $this->url;
  3380. }
  3381. }
  3382. class Google_Service_Orkut_OrkutAuthorResourceImage extends Google_Model
  3383. {
  3384. public $url;
  3385. public function setUrl($url)
  3386. {
  3387. $this->url = $url;
  3388. }
  3389. public function getUrl()
  3390. {
  3391. return $this->url;
  3392. }
  3393. }
  3394. class Google_Service_Orkut_OrkutCommunitypolloptionResource extends Google_Model
  3395. {
  3396. public $description;
  3397. protected $imageType = 'Google_Service_Orkut_OrkutCommunitypolloptionResourceImage';
  3398. protected $imageDataType = '';
  3399. public $numberOfVotes;
  3400. public $optionId;
  3401. public function setDescription($description)
  3402. {
  3403. $this->description = $description;
  3404. }
  3405. public function getDescription()
  3406. {
  3407. return $this->description;
  3408. }
  3409. public function setImage(Google_Service_Orkut_OrkutCommunitypolloptionResourceImage $image)
  3410. {
  3411. $this->image = $image;
  3412. }
  3413. public function getImage()
  3414. {
  3415. return $this->image;
  3416. }
  3417. public function setNumberOfVotes($numberOfVotes)
  3418. {
  3419. $this->numberOfVotes = $numberOfVotes;
  3420. }
  3421. public function getNumberOfVotes()
  3422. {
  3423. return $this->numberOfVotes;
  3424. }
  3425. public function setOptionId($optionId)
  3426. {
  3427. $this->optionId = $optionId;
  3428. }
  3429. public function getOptionId()
  3430. {
  3431. return $this->optionId;
  3432. }
  3433. }
  3434. class Google_Service_Orkut_OrkutCommunitypolloptionResourceImage extends Google_Model
  3435. {
  3436. public $url;
  3437. public function setUrl($url)
  3438. {
  3439. $this->url = $url;
  3440. }
  3441. public function getUrl()
  3442. {
  3443. return $this->url;
  3444. }
  3445. }
  3446. class Google_Service_Orkut_OrkutCounterResource extends Google_Model
  3447. {
  3448. protected $linkType = 'Google_Service_Orkut_OrkutLinkResource';
  3449. protected $linkDataType = '';
  3450. public $name;
  3451. public $total;
  3452. public function setLink(Google_Service_Orkut_OrkutLinkResource $link)
  3453. {
  3454. $this->link = $link;
  3455. }
  3456. public function getLink()
  3457. {
  3458. return $this->link;
  3459. }
  3460. public function setName($name)
  3461. {
  3462. $this->name = $name;
  3463. }
  3464. public function getName()
  3465. {
  3466. return $this->name;
  3467. }
  3468. public function setTotal($total)
  3469. {
  3470. $this->total = $total;
  3471. }
  3472. public function getTotal()
  3473. {
  3474. return $this->total;
  3475. }
  3476. }
  3477. class Google_Service_Orkut_OrkutLinkResource extends Google_Model
  3478. {
  3479. public $href;
  3480. public $rel;
  3481. public $title;
  3482. public $type;
  3483. public function setHref($href)
  3484. {
  3485. $this->href = $href;
  3486. }
  3487. public function getHref()
  3488. {
  3489. return $this->href;
  3490. }
  3491. public function setRel($rel)
  3492. {
  3493. $this->rel = $rel;
  3494. }
  3495. public function getRel()
  3496. {
  3497. return $this->rel;
  3498. }
  3499. public function setTitle($title)
  3500. {
  3501. $this->title = $title;
  3502. }
  3503. public function getTitle()
  3504. {
  3505. return $this->title;
  3506. }
  3507. public function setType($type)
  3508. {
  3509. $this->type = $type;
  3510. }
  3511. public function getType()
  3512. {
  3513. return $this->type;
  3514. }
  3515. }
  3516. class Google_Service_Orkut_Visibility extends Google_Collection
  3517. {
  3518. public $kind;
  3519. protected $linksType = 'Google_Service_Orkut_OrkutLinkResource';
  3520. protected $linksDataType = 'array';
  3521. public $visibility;
  3522. public function setKind($kind)
  3523. {
  3524. $this->kind = $kind;
  3525. }
  3526. public function getKind()
  3527. {
  3528. return $this->kind;
  3529. }
  3530. public function setLinks($links)
  3531. {
  3532. $this->links = $links;
  3533. }
  3534. public function getLinks()
  3535. {
  3536. return $this->links;
  3537. }
  3538. public function setVisibility($visibility)
  3539. {
  3540. $this->visibility = $visibility;
  3541. }
  3542. public function getVisibility()
  3543. {
  3544. return $this->visibility;
  3545. }
  3546. }