1<?php 2/* 3 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 4 * use this file except in compliance with the License. You may obtain a copy of 5 * the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 11 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 12 * License for the specific language governing permissions and limitations under 13 * the License. 14 */ 15 16 17 /** 18 * The "acl" collection of methods. 19 * Typical usage is: 20 * <code> 21 * $orkutService = new Google_OrkutService(...); 22 * $acl = $orkutService->acl; 23 * </code> 24 */ 25 class Google_AclServiceResource extends Google_ServiceResource { 26 27 /** 28 * Excludes an element from the ACL of the activity. (acl.delete) 29 * 30 * @param string $activityId ID of the activity. 31 * @param string $userId ID of the user to be removed from the activity. 32 * @param array $optParams Optional parameters. 33 */ 34 public function delete($activityId, $userId, $optParams = array()) { 35 $params = array('activityId' => $activityId, 'userId' => $userId); 36 $params = array_merge($params, $optParams); 37 $data = $this->__call('delete', array($params)); 38 return $data; 39 } 40 } 41 42 /** 43 * The "activities" collection of methods. 44 * Typical usage is: 45 * <code> 46 * $orkutService = new Google_OrkutService(...); 47 * $activities = $orkutService->activities; 48 * </code> 49 */ 50 class Google_ActivitiesServiceResource extends Google_ServiceResource { 51 52 /** 53 * Deletes an existing activity, if the access controls allow it. (activities.delete) 54 * 55 * @param string $activityId ID of the activity to remove. 56 * @param array $optParams Optional parameters. 57 */ 58 public function delete($activityId, $optParams = array()) { 59 $params = array('activityId' => $activityId); 60 $params = array_merge($params, $optParams); 61 $data = $this->__call('delete', array($params)); 62 return $data; 63 } 64 /** 65 * Retrieves a list of activities. (activities.list) 66 * 67 * @param string $userId The ID of the user whose activities will be listed. Can be me to refer to the viewer (i.e. the authenticated user). 68 * @param string $collection The collection of activities to list. 69 * @param array $optParams Optional parameters. 70 * 71 * @opt_param string hl Specifies the interface language (host language) of your user interface. 72 * @opt_param string maxResults The maximum number of activities to include in the response. 73 * @opt_param string pageToken A continuation token that allows pagination. 74 * @return Google_ActivityList 75 */ 76 public function listActivities($userId, $collection, $optParams = array()) { 77 $params = array('userId' => $userId, 'collection' => $collection); 78 $params = array_merge($params, $optParams); 79 $data = $this->__call('list', array($params)); 80 if ($this->useObjects()) { 81 return new Google_ActivityList($data); 82 } else { 83 return $data; 84 } 85 } 86 } 87 88 /** 89 * The "activityVisibility" collection of methods. 90 * Typical usage is: 91 * <code> 92 * $orkutService = new Google_OrkutService(...); 93 * $activityVisibility = $orkutService->activityVisibility; 94 * </code> 95 */ 96 class Google_ActivityVisibilityServiceResource extends Google_ServiceResource { 97 98 /** 99 * Gets the visibility of an existing activity. (activityVisibility.get) 100 * 101 * @param string $activityId ID of the activity to get the visibility. 102 * @param array $optParams Optional parameters. 103 * @return Google_Visibility 104 */ 105 public function get($activityId, $optParams = array()) { 106 $params = array('activityId' => $activityId); 107 $params = array_merge($params, $optParams); 108 $data = $this->__call('get', array($params)); 109 if ($this->useObjects()) { 110 return new Google_Visibility($data); 111 } else { 112 return $data; 113 } 114 } 115 /** 116 * Updates the visibility of an existing activity. This method supports patch semantics. 117 * (activityVisibility.patch) 118 * 119 * @param string $activityId ID of the activity. 120 * @param Google_Visibility $postBody 121 * @param array $optParams Optional parameters. 122 * @return Google_Visibility 123 */ 124 public function patch($activityId, Google_Visibility $postBody, $optParams = array()) { 125 $params = array('activityId' => $activityId, 'postBody' => $postBody); 126 $params = array_merge($params, $optParams); 127 $data = $this->__call('patch', array($params)); 128 if ($this->useObjects()) { 129 return new Google_Visibility($data); 130 } else { 131 return $data; 132 } 133 } 134 /** 135 * Updates the visibility of an existing activity. (activityVisibility.update) 136 * 137 * @param string $activityId ID of the activity. 138 * @param Google_Visibility $postBody 139 * @param array $optParams Optional parameters. 140 * @return Google_Visibility 141 */ 142 public function update($activityId, Google_Visibility $postBody, $optParams = array()) { 143 $params = array('activityId' => $activityId, 'postBody' => $postBody); 144 $params = array_merge($params, $optParams); 145 $data = $this->__call('update', array($params)); 146 if ($this->useObjects()) { 147 return new Google_Visibility($data); 148 } else { 149 return $data; 150 } 151 } 152 } 153 154 /** 155 * The "badges" collection of methods. 156 * Typical usage is: 157 * <code> 158 * $orkutService = new Google_OrkutService(...); 159 * $badges = $orkutService->badges; 160 * </code> 161 */ 162 class Google_BadgesServiceResource extends Google_ServiceResource { 163 164 /** 165 * Retrieves a badge from a user. (badges.get) 166 * 167 * @param string $userId The ID of the user whose badges will be listed. Can be me to refer to caller. 168 * @param string $badgeId The ID of the badge that will be retrieved. 169 * @param array $optParams Optional parameters. 170 * @return Google_Badge 171 */ 172 public function get($userId, $badgeId, $optParams = array()) { 173 $params = array('userId' => $userId, 'badgeId' => $badgeId); 174 $params = array_merge($params, $optParams); 175 $data = $this->__call('get', array($params)); 176 if ($this->useObjects()) { 177 return new Google_Badge($data); 178 } else { 179 return $data; 180 } 181 } 182 /** 183 * Retrieves the list of visible badges of a user. (badges.list) 184 * 185 * @param string $userId The id of the user whose badges will be listed. Can be me to refer to caller. 186 * @param array $optParams Optional parameters. 187 * @return Google_BadgeList 188 */ 189 public function listBadges($userId, $optParams = array()) { 190 $params = array('userId' => $userId); 191 $params = array_merge($params, $optParams); 192 $data = $this->__call('list', array($params)); 193 if ($this->useObjects()) { 194 return new Google_BadgeList($data); 195 } else { 196 return $data; 197 } 198 } 199 } 200 201 /** 202 * The "comments" collection of methods. 203 * Typical usage is: 204 * <code> 205 * $orkutService = new Google_OrkutService(...); 206 * $comments = $orkutService->comments; 207 * </code> 208 */ 209 class Google_CommentsServiceResource extends Google_ServiceResource { 210 211 /** 212 * Deletes an existing comment. (comments.delete) 213 * 214 * @param string $commentId ID of the comment to remove. 215 * @param array $optParams Optional parameters. 216 */ 217 public function delete($commentId, $optParams = array()) { 218 $params = array('commentId' => $commentId); 219 $params = array_merge($params, $optParams); 220 $data = $this->__call('delete', array($params)); 221 return $data; 222 } 223 /** 224 * Retrieves an existing comment. (comments.get) 225 * 226 * @param string $commentId ID of the comment to get. 227 * @param array $optParams Optional parameters. 228 * 229 * @opt_param string hl Specifies the interface language (host language) of your user interface. 230 * @return Google_Comment 231 */ 232 public function get($commentId, $optParams = array()) { 233 $params = array('commentId' => $commentId); 234 $params = array_merge($params, $optParams); 235 $data = $this->__call('get', array($params)); 236 if ($this->useObjects()) { 237 return new Google_Comment($data); 238 } else { 239 return $data; 240 } 241 } 242 /** 243 * Inserts a new comment to an activity. (comments.insert) 244 * 245 * @param string $activityId The ID of the activity to contain the new comment. 246 * @param Google_Comment $postBody 247 * @param array $optParams Optional parameters. 248 * @return Google_Comment 249 */ 250 public function insert($activityId, Google_Comment $postBody, $optParams = array()) { 251 $params = array('activityId' => $activityId, 'postBody' => $postBody); 252 $params = array_merge($params, $optParams); 253 $data = $this->__call('insert', array($params)); 254 if ($this->useObjects()) { 255 return new Google_Comment($data); 256 } else { 257 return $data; 258 } 259 } 260 /** 261 * Retrieves a list of comments, possibly filtered. (comments.list) 262 * 263 * @param string $activityId The ID of the activity containing the comments. 264 * @param array $optParams Optional parameters. 265 * 266 * @opt_param string hl Specifies the interface language (host language) of your user interface. 267 * @opt_param string maxResults The maximum number of activities to include in the response. 268 * @opt_param string orderBy Sort search results. 269 * @opt_param string pageToken A continuation token that allows pagination. 270 * @return Google_CommentList 271 */ 272 public function listComments($activityId, $optParams = array()) { 273 $params = array('activityId' => $activityId); 274 $params = array_merge($params, $optParams); 275 $data = $this->__call('list', array($params)); 276 if ($this->useObjects()) { 277 return new Google_CommentList($data); 278 } else { 279 return $data; 280 } 281 } 282 } 283 284 /** 285 * The "communities" collection of methods. 286 * Typical usage is: 287 * <code> 288 * $orkutService = new Google_OrkutService(...); 289 * $communities = $orkutService->communities; 290 * </code> 291 */ 292 class Google_CommunitiesServiceResource extends Google_ServiceResource { 293 294 /** 295 * Retrieves the basic information (aka. profile) of a community. (communities.get) 296 * 297 * @param int $communityId The ID of the community to get. 298 * @param array $optParams Optional parameters. 299 * 300 * @opt_param string hl Specifies the interface language (host language) of your user interface. 301 * @return Google_Community 302 */ 303 public function get($communityId, $optParams = array()) { 304 $params = array('communityId' => $communityId); 305 $params = array_merge($params, $optParams); 306 $data = $this->__call('get', array($params)); 307 if ($this->useObjects()) { 308 return new Google_Community($data); 309 } else { 310 return $data; 311 } 312 } 313 /** 314 * Retrieves the list of communities the current user is a member of. (communities.list) 315 * 316 * @param string $userId The ID of the user whose communities will be listed. Can be me to refer to caller. 317 * @param array $optParams Optional parameters. 318 * 319 * @opt_param string hl Specifies the interface language (host language) of your user interface. 320 * @opt_param string maxResults The maximum number of communities to include in the response. 321 * @opt_param string orderBy How to order the communities by. 322 * @return Google_CommunityList 323 */ 324 public function listCommunities($userId, $optParams = array()) { 325 $params = array('userId' => $userId); 326 $params = array_merge($params, $optParams); 327 $data = $this->__call('list', array($params)); 328 if ($this->useObjects()) { 329 return new Google_CommunityList($data); 330 } else { 331 return $data; 332 } 333 } 334 } 335 336 /** 337 * The "communityFollow" collection of methods. 338 * Typical usage is: 339 * <code> 340 * $orkutService = new Google_OrkutService(...); 341 * $communityFollow = $orkutService->communityFollow; 342 * </code> 343 */ 344 class Google_CommunityFollowServiceResource extends Google_ServiceResource { 345 346 /** 347 * Removes a user from the followers of a community. (communityFollow.delete) 348 * 349 * @param int $communityId ID of the community. 350 * @param string $userId ID of the user. 351 * @param array $optParams Optional parameters. 352 */ 353 public function delete($communityId, $userId, $optParams = array()) { 354 $params = array('communityId' => $communityId, 'userId' => $userId); 355 $params = array_merge($params, $optParams); 356 $data = $this->__call('delete', array($params)); 357 return $data; 358 } 359 /** 360 * Adds a user as a follower of a community. (communityFollow.insert) 361 * 362 * @param int $communityId ID of the community. 363 * @param string $userId ID of the user. 364 * @param array $optParams Optional parameters. 365 * @return Google_CommunityMembers 366 */ 367 public function insert($communityId, $userId, $optParams = array()) { 368 $params = array('communityId' => $communityId, 'userId' => $userId); 369 $params = array_merge($params, $optParams); 370 $data = $this->__call('insert', array($params)); 371 if ($this->useObjects()) { 372 return new Google_CommunityMembers($data); 373 } else { 374 return $data; 375 } 376 } 377 } 378 379 /** 380 * The "communityMembers" collection of methods. 381 * Typical usage is: 382 * <code> 383 * $orkutService = new Google_OrkutService(...); 384 * $communityMembers = $orkutService->communityMembers; 385 * </code> 386 */ 387 class Google_CommunityMembersServiceResource extends Google_ServiceResource { 388 389 /** 390 * Makes the user leave a community. (communityMembers.delete) 391 * 392 * @param int $communityId ID of the community. 393 * @param string $userId ID of the user. 394 * @param array $optParams Optional parameters. 395 */ 396 public function delete($communityId, $userId, $optParams = array()) { 397 $params = array('communityId' => $communityId, 'userId' => $userId); 398 $params = array_merge($params, $optParams); 399 $data = $this->__call('delete', array($params)); 400 return $data; 401 } 402 /** 403 * Retrieves the relationship between a user and a community. (communityMembers.get) 404 * 405 * @param int $communityId ID of the community. 406 * @param string $userId ID of the user. 407 * @param array $optParams Optional parameters. 408 * 409 * @opt_param string hl Specifies the interface language (host language) of your user interface. 410 * @return Google_CommunityMembers 411 */ 412 public function get($communityId, $userId, $optParams = array()) { 413 $params = array('communityId' => $communityId, 'userId' => $userId); 414 $params = array_merge($params, $optParams); 415 $data = $this->__call('get', array($params)); 416 if ($this->useObjects()) { 417 return new Google_CommunityMembers($data); 418 } else { 419 return $data; 420 } 421 } 422 /** 423 * Makes the user join a community. (communityMembers.insert) 424 * 425 * @param int $communityId ID of the community. 426 * @param string $userId ID of the user. 427 * @param array $optParams Optional parameters. 428 * @return Google_CommunityMembers 429 */ 430 public function insert($communityId, $userId, $optParams = array()) { 431 $params = array('communityId' => $communityId, 'userId' => $userId); 432 $params = array_merge($params, $optParams); 433 $data = $this->__call('insert', array($params)); 434 if ($this->useObjects()) { 435 return new Google_CommunityMembers($data); 436 } else { 437 return $data; 438 } 439 } 440 /** 441 * Lists members of a community. Use the pagination tokens to retrieve the full list; do not rely on 442 * the member count available in the community profile information to know when to stop iterating, 443 * as that count may be approximate. (communityMembers.list) 444 * 445 * @param int $communityId The ID of the community whose members will be listed. 446 * @param array $optParams Optional parameters. 447 * 448 * @opt_param bool friendsOnly Whether to list only community members who are friends of the user. 449 * @opt_param string hl Specifies the interface language (host language) of your user interface. 450 * @opt_param string maxResults The maximum number of members to include in the response. 451 * @opt_param string pageToken A continuation token that allows pagination. 452 * @return Google_CommunityMembersList 453 */ 454 public function listCommunityMembers($communityId, $optParams = array()) { 455 $params = array('communityId' => $communityId); 456 $params = array_merge($params, $optParams); 457 $data = $this->__call('list', array($params)); 458 if ($this->useObjects()) { 459 return new Google_CommunityMembersList($data); 460 } else { 461 return $data; 462 } 463 } 464 } 465 466 /** 467 * The "communityMessages" collection of methods. 468 * Typical usage is: 469 * <code> 470 * $orkutService = new Google_OrkutService(...); 471 * $communityMessages = $orkutService->communityMessages; 472 * </code> 473 */ 474 class Google_CommunityMessagesServiceResource extends Google_ServiceResource { 475 476 /** 477 * Moves a message of the community to the trash folder. (communityMessages.delete) 478 * 479 * @param int $communityId The ID of the community whose message will be moved to the trash folder. 480 * @param string $topicId The ID of the topic whose message will be moved to the trash folder. 481 * @param string $messageId The ID of the message to be moved to the trash folder. 482 * @param array $optParams Optional parameters. 483 */ 484 public function delete($communityId, $topicId, $messageId, $optParams = array()) { 485 $params = array('communityId' => $communityId, 'topicId' => $topicId, 'messageId' => $messageId); 486 $params = array_merge($params, $optParams); 487 $data = $this->__call('delete', array($params)); 488 return $data; 489 } 490 /** 491 * Adds a message to a given community topic. (communityMessages.insert) 492 * 493 * @param int $communityId The ID of the community the message should be added to. 494 * @param string $topicId The ID of the topic the message should be added to. 495 * @param Google_CommunityMessage $postBody 496 * @param array $optParams Optional parameters. 497 * @return Google_CommunityMessage 498 */ 499 public function insert($communityId, $topicId, Google_CommunityMessage $postBody, $optParams = array()) { 500 $params = array('communityId' => $communityId, 'topicId' => $topicId, 'postBody' => $postBody); 501 $params = array_merge($params, $optParams); 502 $data = $this->__call('insert', array($params)); 503 if ($this->useObjects()) { 504 return new Google_CommunityMessage($data); 505 } else { 506 return $data; 507 } 508 } 509 /** 510 * Retrieves the messages of a topic of a community. (communityMessages.list) 511 * 512 * @param int $communityId The ID of the community which messages will be listed. 513 * @param string $topicId The ID of the topic which messages will be listed. 514 * @param array $optParams Optional parameters. 515 * 516 * @opt_param string hl Specifies the interface language (host language) of your user interface. 517 * @opt_param string maxResults The maximum number of messages to include in the response. 518 * @opt_param string pageToken A continuation token that allows pagination. 519 * @return Google_CommunityMessageList 520 */ 521 public function listCommunityMessages($communityId, $topicId, $optParams = array()) { 522 $params = array('communityId' => $communityId, 'topicId' => $topicId); 523 $params = array_merge($params, $optParams); 524 $data = $this->__call('list', array($params)); 525 if ($this->useObjects()) { 526 return new Google_CommunityMessageList($data); 527 } else { 528 return $data; 529 } 530 } 531 } 532 533 /** 534 * The "communityPollComments" collection of methods. 535 * Typical usage is: 536 * <code> 537 * $orkutService = new Google_OrkutService(...); 538 * $communityPollComments = $orkutService->communityPollComments; 539 * </code> 540 */ 541 class Google_CommunityPollCommentsServiceResource extends Google_ServiceResource { 542 543 /** 544 * Adds a comment on a community poll. (communityPollComments.insert) 545 * 546 * @param int $communityId The ID of the community whose poll is being commented. 547 * @param string $pollId The ID of the poll being commented. 548 * @param Google_CommunityPollComment $postBody 549 * @param array $optParams Optional parameters. 550 * @return Google_CommunityPollComment 551 */ 552 public function insert($communityId, $pollId, Google_CommunityPollComment $postBody, $optParams = array()) { 553 $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody); 554 $params = array_merge($params, $optParams); 555 $data = $this->__call('insert', array($params)); 556 if ($this->useObjects()) { 557 return new Google_CommunityPollComment($data); 558 } else { 559 return $data; 560 } 561 } 562 /** 563 * Retrieves the comments of a community poll. (communityPollComments.list) 564 * 565 * @param int $communityId The ID of the community whose poll is having its comments listed. 566 * @param string $pollId The ID of the community whose polls will be listed. 567 * @param array $optParams Optional parameters. 568 * 569 * @opt_param string hl Specifies the interface language (host language) of your user interface. 570 * @opt_param string maxResults The maximum number of comments to include in the response. 571 * @opt_param string pageToken A continuation token that allows pagination. 572 * @return Google_CommunityPollCommentList 573 */ 574 public function listCommunityPollComments($communityId, $pollId, $optParams = array()) { 575 $params = array('communityId' => $communityId, 'pollId' => $pollId); 576 $params = array_merge($params, $optParams); 577 $data = $this->__call('list', array($params)); 578 if ($this->useObjects()) { 579 return new Google_CommunityPollCommentList($data); 580 } else { 581 return $data; 582 } 583 } 584 } 585 586 /** 587 * The "communityPollVotes" collection of methods. 588 * Typical usage is: 589 * <code> 590 * $orkutService = new Google_OrkutService(...); 591 * $communityPollVotes = $orkutService->communityPollVotes; 592 * </code> 593 */ 594 class Google_CommunityPollVotesServiceResource extends Google_ServiceResource { 595 596 /** 597 * Votes on a community poll. (communityPollVotes.insert) 598 * 599 * @param int $communityId The ID of the community whose poll is being voted. 600 * @param string $pollId The ID of the poll being voted. 601 * @param Google_CommunityPollVote $postBody 602 * @param array $optParams Optional parameters. 603 * @return Google_CommunityPollVote 604 */ 605 public function insert($communityId, $pollId, Google_CommunityPollVote $postBody, $optParams = array()) { 606 $params = array('communityId' => $communityId, 'pollId' => $pollId, 'postBody' => $postBody); 607 $params = array_merge($params, $optParams); 608 $data = $this->__call('insert', array($params)); 609 if ($this->useObjects()) { 610 return new Google_CommunityPollVote($data); 611 } else { 612 return $data; 613 } 614 } 615 } 616 617 /** 618 * The "communityPolls" collection of methods. 619 * Typical usage is: 620 * <code> 621 * $orkutService = new Google_OrkutService(...); 622 * $communityPolls = $orkutService->communityPolls; 623 * </code> 624 */ 625 class Google_CommunityPollsServiceResource extends Google_ServiceResource { 626 627 /** 628 * Retrieves one specific poll of a community. (communityPolls.get) 629 * 630 * @param int $communityId The ID of the community for whose poll will be retrieved. 631 * @param string $pollId The ID of the poll to get. 632 * @param array $optParams Optional parameters. 633 * 634 * @opt_param string hl Specifies the interface language (host language) of your user interface. 635 * @return Google_CommunityPoll 636 */ 637 public function get($communityId, $pollId, $optParams = array()) { 638 $params = array('communityId' => $communityId, 'pollId' => $pollId); 639 $params = array_merge($params, $optParams); 640 $data = $this->__call('get', array($params)); 641 if ($this->useObjects()) { 642 return new Google_CommunityPoll($data); 643 } else { 644 return $data; 645 } 646 } 647 /** 648 * Retrieves the polls of a community. (communityPolls.list) 649 * 650 * @param int $communityId The ID of the community which polls will be listed. 651 * @param array $optParams Optional parameters. 652 * 653 * @opt_param string hl Specifies the interface language (host language) of your user interface. 654 * @opt_param string maxResults The maximum number of polls to include in the response. 655 * @opt_param string pageToken A continuation token that allows pagination. 656 * @return Google_CommunityPollList 657 */ 658 public function listCommunityPolls($communityId, $optParams = array()) { 659 $params = array('communityId' => $communityId); 660 $params = array_merge($params, $optParams); 661 $data = $this->__call('list', array($params)); 662 if ($this->useObjects()) { 663 return new Google_CommunityPollList($data); 664 } else { 665 return $data; 666 } 667 } 668 } 669 670 /** 671 * The "communityRelated" collection of methods. 672 * Typical usage is: 673 * <code> 674 * $orkutService = new Google_OrkutService(...); 675 * $communityRelated = $orkutService->communityRelated; 676 * </code> 677 */ 678 class Google_CommunityRelatedServiceResource extends Google_ServiceResource { 679 680 /** 681 * Retrieves the communities related to another one. (communityRelated.list) 682 * 683 * @param int $communityId The ID of the community whose related communities will be listed. 684 * @param array $optParams Optional parameters. 685 * 686 * @opt_param string hl Specifies the interface language (host language) of your user interface. 687 * @return Google_CommunityList 688 */ 689 public function listCommunityRelated($communityId, $optParams = array()) { 690 $params = array('communityId' => $communityId); 691 $params = array_merge($params, $optParams); 692 $data = $this->__call('list', array($params)); 693 if ($this->useObjects()) { 694 return new Google_CommunityList($data); 695 } else { 696 return $data; 697 } 698 } 699 } 700 701 /** 702 * The "communityTopics" collection of methods. 703 * Typical usage is: 704 * <code> 705 * $orkutService = new Google_OrkutService(...); 706 * $communityTopics = $orkutService->communityTopics; 707 * </code> 708 */ 709 class Google_CommunityTopicsServiceResource extends Google_ServiceResource { 710 711 /** 712 * Moves a topic of the community to the trash folder. (communityTopics.delete) 713 * 714 * @param int $communityId The ID of the community whose topic will be moved to the trash folder. 715 * @param string $topicId The ID of the topic to be moved to the trash folder. 716 * @param array $optParams Optional parameters. 717 */ 718 public function delete($communityId, $topicId, $optParams = array()) { 719 $params = array('communityId' => $communityId, 'topicId' => $topicId); 720 $params = array_merge($params, $optParams); 721 $data = $this->__call('delete', array($params)); 722 return $data; 723 } 724 /** 725 * Retrieves a topic of a community. (communityTopics.get) 726 * 727 * @param int $communityId The ID of the community whose topic will be retrieved. 728 * @param string $topicId The ID of the topic to get. 729 * @param array $optParams Optional parameters. 730 * 731 * @opt_param string hl Specifies the interface language (host language) of your user interface. 732 * @return Google_CommunityTopic 733 */ 734 public function get($communityId, $topicId, $optParams = array()) { 735 $params = array('communityId' => $communityId, 'topicId' => $topicId); 736 $params = array_merge($params, $optParams); 737 $data = $this->__call('get', array($params)); 738 if ($this->useObjects()) { 739 return new Google_CommunityTopic($data); 740 } else { 741 return $data; 742 } 743 } 744 /** 745 * Adds a topic to a given community. (communityTopics.insert) 746 * 747 * @param int $communityId The ID of the community the topic should be added to. 748 * @param Google_CommunityTopic $postBody 749 * @param array $optParams Optional parameters. 750 * 751 * @opt_param bool isShout Whether this topic is a shout. 752 * @return Google_CommunityTopic 753 */ 754 public function insert($communityId, Google_CommunityTopic $postBody, $optParams = array()) { 755 $params = array('communityId' => $communityId, 'postBody' => $postBody); 756 $params = array_merge($params, $optParams); 757 $data = $this->__call('insert', array($params)); 758 if ($this->useObjects()) { 759 return new Google_CommunityTopic($data); 760 } else { 761 return $data; 762 } 763 } 764 /** 765 * Retrieves the topics of a community. (communityTopics.list) 766 * 767 * @param int $communityId The ID of the community which topics will be listed. 768 * @param array $optParams Optional parameters. 769 * 770 * @opt_param string hl Specifies the interface language (host language) of your user interface. 771 * @opt_param string maxResults The maximum number of topics to include in the response. 772 * @opt_param string pageToken A continuation token that allows pagination. 773 * @return Google_CommunityTopicList 774 */ 775 public function listCommunityTopics($communityId, $optParams = array()) { 776 $params = array('communityId' => $communityId); 777 $params = array_merge($params, $optParams); 778 $data = $this->__call('list', array($params)); 779 if ($this->useObjects()) { 780 return new Google_CommunityTopicList($data); 781 } else { 782 return $data; 783 } 784 } 785 } 786 787 /** 788 * The "counters" collection of methods. 789 * Typical usage is: 790 * <code> 791 * $orkutService = new Google_OrkutService(...); 792 * $counters = $orkutService->counters; 793 * </code> 794 */ 795 class Google_CountersServiceResource extends Google_ServiceResource { 796 797 /** 798 * Retrieves the counters of a user. (counters.list) 799 * 800 * @param string $userId The ID of the user whose counters will be listed. Can be me to refer to caller. 801 * @param array $optParams Optional parameters. 802 * @return Google_Counters 803 */ 804 public function listCounters($userId, $optParams = array()) { 805 $params = array('userId' => $userId); 806 $params = array_merge($params, $optParams); 807 $data = $this->__call('list', array($params)); 808 if ($this->useObjects()) { 809 return new Google_Counters($data); 810 } else { 811 return $data; 812 } 813 } 814 } 815 816 /** 817 * The "scraps" collection of methods. 818 * Typical usage is: 819 * <code> 820 * $orkutService = new Google_OrkutService(...); 821 * $scraps = $orkutService->scraps; 822 * </code> 823 */ 824 class Google_ScrapsServiceResource extends Google_ServiceResource { 825 826 /** 827 * Creates a new scrap. (scraps.insert) 828 * 829 * @param Google_Activity $postBody 830 * @param array $optParams Optional parameters. 831 * @return Google_Activity 832 */ 833 public function insert(Google_Activity $postBody, $optParams = array()) { 834 $params = array('postBody' => $postBody); 835 $params = array_merge($params, $optParams); 836 $data = $this->__call('insert', array($params)); 837 if ($this->useObjects()) { 838 return new Google_Activity($data); 839 } else { 840 return $data; 841 } 842 } 843 } 844 845/** 846 * Service definition for Google_Orkut (v2). 847 * 848 * <p> 849 * Lets you manage activities, comments and badges in Orkut. More stuff coming in time. 850 * </p> 851 * 852 * <p> 853 * For more information about this service, see the 854 * <a href="http://code.google.com/apis/orkut/v2/reference.html" target="_blank">API Documentation</a> 855 * </p> 856 * 857 * @author Google, Inc. 858 */ 859class Google_OrkutService extends Google_Service { 860 public $acl; 861 public $activities; 862 public $activityVisibility; 863 public $badges; 864 public $comments; 865 public $communities; 866 public $communityFollow; 867 public $communityMembers; 868 public $communityMessages; 869 public $communityPollComments; 870 public $communityPollVotes; 871 public $communityPolls; 872 public $communityRelated; 873 public $communityTopics; 874 public $counters; 875 public $scraps; 876 /** 877 * Constructs the internal representation of the Orkut service. 878 * 879 * @param Google_Client $client 880 */ 881 public function __construct(Google_Client $client) { 882 $this->servicePath = 'orkut/v2/'; 883 $this->version = 'v2'; 884 $this->serviceName = 'orkut'; 885 886 $client->addService($this->serviceName, $this->version); 887 $this->acl = new Google_AclServiceResource($this, $this->serviceName, 'acl', json_decode('{"methods": {"delete": {"id": "orkut.acl.delete", "path": "activities/{activityId}/acl/{userId}", "httpMethod": "DELETE", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}}}', true)); 888 $this->activities = new Google_ActivitiesServiceResource($this, $this->serviceName, 'activities', json_decode('{"methods": {"delete": {"id": "orkut.activities.delete", "path": "activities/{activityId}", "httpMethod": "DELETE", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.activities.list", "path": "people/{userId}/activities/{collection}", "httpMethod": "GET", "parameters": {"collection": {"type": "string", "required": true, "enum": ["all", "scraps", "stream"], "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "ActivityList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 889 $this->activityVisibility = new Google_ActivityVisibilityServiceResource($this, $this->serviceName, 'activityVisibility', json_decode('{"methods": {"get": {"id": "orkut.activityVisibility.get", "path": "activities/{activityId}/visibility", "httpMethod": "GET", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Visibility"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "patch": {"id": "orkut.activityVisibility.patch", "path": "activities/{activityId}/visibility", "httpMethod": "PATCH", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Visibility"}, "response": {"$ref": "Visibility"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "update": {"id": "orkut.activityVisibility.update", "path": "activities/{activityId}/visibility", "httpMethod": "PUT", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Visibility"}, "response": {"$ref": "Visibility"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}}}', true)); 890 $this->badges = new Google_BadgesServiceResource($this, $this->serviceName, 'badges', json_decode('{"methods": {"get": {"id": "orkut.badges.get", "path": "people/{userId}/badges/{badgeId}", "httpMethod": "GET", "parameters": {"badgeId": {"type": "string", "required": true, "format": "int64", "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Badge"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "list": {"id": "orkut.badges.list", "path": "people/{userId}/badges", "httpMethod": "GET", "parameters": {"userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "BadgeList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 891 $this->comments = new Google_CommentsServiceResource($this, $this->serviceName, 'comments', json_decode('{"methods": {"delete": {"id": "orkut.comments.delete", "path": "comments/{commentId}", "httpMethod": "DELETE", "parameters": {"commentId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "get": {"id": "orkut.comments.get", "path": "comments/{commentId}", "httpMethod": "GET", "parameters": {"commentId": {"type": "string", "required": true, "location": "path"}, "hl": {"type": "string", "location": "query"}}, "response": {"$ref": "Comment"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "insert": {"id": "orkut.comments.insert", "path": "activities/{activityId}/comments", "httpMethod": "POST", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "Comment"}, "response": {"$ref": "Comment"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.comments.list", "path": "activities/{activityId}/comments", "httpMethod": "GET", "parameters": {"activityId": {"type": "string", "required": true, "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "location": "query"}, "orderBy": {"type": "string", "default": "DESCENDING_SORT", "enum": ["ascending", "descending"], "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "CommentList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 892 $this->communities = new Google_CommunitiesServiceResource($this, $this->serviceName, 'communities', json_decode('{"methods": {"get": {"id": "orkut.communities.get", "path": "communities/{communityId}", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "response": {"$ref": "Community"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "list": {"id": "orkut.communities.list", "path": "people/{userId}/communities", "httpMethod": "GET", "parameters": {"hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "location": "query"}, "orderBy": {"type": "string", "enum": ["id", "ranked"], "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 893 $this->communityFollow = new Google_CommunityFollowServiceResource($this, $this->serviceName, 'communityFollow', json_decode('{"methods": {"delete": {"id": "orkut.communityFollow.delete", "path": "communities/{communityId}/followers/{userId}", "httpMethod": "DELETE", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "insert": {"id": "orkut.communityFollow.insert", "path": "communities/{communityId}/followers/{userId}", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityMembers"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}}}', true)); 894 $this->communityMembers = new Google_CommunityMembersServiceResource($this, $this->serviceName, 'communityMembers', json_decode('{"methods": {"delete": {"id": "orkut.communityMembers.delete", "path": "communities/{communityId}/members/{userId}", "httpMethod": "DELETE", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "get": {"id": "orkut.communityMembers.get", "path": "communities/{communityId}/members/{userId}", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityMembers"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "insert": {"id": "orkut.communityMembers.insert", "path": "communities/{communityId}/members/{userId}", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityMembers"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.communityMembers.list", "path": "communities/{communityId}/members", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "friendsOnly": {"type": "boolean", "location": "query"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "CommunityMembersList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 895 $this->communityMessages = new Google_CommunityMessagesServiceResource($this, $this->serviceName, 'communityMessages', json_decode('{"methods": {"delete": {"id": "orkut.communityMessages.delete", "path": "communities/{communityId}/topics/{topicId}/messages/{messageId}", "httpMethod": "DELETE", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "messageId": {"type": "string", "required": true, "format": "int64", "location": "path"}, "topicId": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "insert": {"id": "orkut.communityMessages.insert", "path": "communities/{communityId}/topics/{topicId}/messages", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "topicId": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "request": {"$ref": "CommunityMessage"}, "response": {"$ref": "CommunityMessage"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.communityMessages.list", "path": "communities/{communityId}/topics/{topicId}/messages", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "topicId": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "response": {"$ref": "CommunityMessageList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 896 $this->communityPollComments = new Google_CommunityPollCommentsServiceResource($this, $this->serviceName, 'communityPollComments', json_decode('{"methods": {"insert": {"id": "orkut.communityPollComments.insert", "path": "communities/{communityId}/polls/{pollId}/comments", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "pollId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "CommunityPollComment"}, "response": {"$ref": "CommunityPollComment"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.communityPollComments.list", "path": "communities/{communityId}/polls/{pollId}/comments", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "pollId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityPollCommentList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 897 $this->communityPollVotes = new Google_CommunityPollVotesServiceResource($this, $this->serviceName, 'communityPollVotes', json_decode('{"methods": {"insert": {"id": "orkut.communityPollVotes.insert", "path": "communities/{communityId}/polls/{pollId}/votes", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "pollId": {"type": "string", "required": true, "location": "path"}}, "request": {"$ref": "CommunityPollVote"}, "response": {"$ref": "CommunityPollVote"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}}}', true)); 898 $this->communityPolls = new Google_CommunityPollsServiceResource($this, $this->serviceName, 'communityPolls', json_decode('{"methods": {"get": {"id": "orkut.communityPolls.get", "path": "communities/{communityId}/polls/{pollId}", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "pollId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "CommunityPoll"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "list": {"id": "orkut.communityPolls.list", "path": "communities/{communityId}/polls", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "CommunityPollList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 899 $this->communityRelated = new Google_CommunityRelatedServiceResource($this, $this->serviceName, 'communityRelated', json_decode('{"methods": {"list": {"id": "orkut.communityRelated.list", "path": "communities/{communityId}/related", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}}, "response": {"$ref": "CommunityList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 900 $this->communityTopics = new Google_CommunityTopicsServiceResource($this, $this->serviceName, 'communityTopics', json_decode('{"methods": {"delete": {"id": "orkut.communityTopics.delete", "path": "communities/{communityId}/topics/{topicId}", "httpMethod": "DELETE", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "topicId": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "get": {"id": "orkut.communityTopics.get", "path": "communities/{communityId}/topics/{topicId}", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "topicId": {"type": "string", "required": true, "format": "int64", "location": "path"}}, "response": {"$ref": "CommunityTopic"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}, "insert": {"id": "orkut.communityTopics.insert", "path": "communities/{communityId}/topics", "httpMethod": "POST", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "isShout": {"type": "boolean", "location": "query"}}, "request": {"$ref": "CommunityTopic"}, "response": {"$ref": "CommunityTopic"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}, "list": {"id": "orkut.communityTopics.list", "path": "communities/{communityId}/topics", "httpMethod": "GET", "parameters": {"communityId": {"type": "integer", "required": true, "format": "int32", "location": "path"}, "hl": {"type": "string", "location": "query"}, "maxResults": {"type": "integer", "format": "uint32", "minimum": "1", "maximum": "100", "location": "query"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "CommunityTopicList"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 901 $this->counters = new Google_CountersServiceResource($this, $this->serviceName, 'counters', json_decode('{"methods": {"list": {"id": "orkut.counters.list", "path": "people/{userId}/counters", "httpMethod": "GET", "parameters": {"userId": {"type": "string", "required": true, "location": "path"}}, "response": {"$ref": "Counters"}, "scopes": ["https://www.googleapis.com/auth/orkut", "https://www.googleapis.com/auth/orkut.readonly"]}}}', true)); 902 $this->scraps = new Google_ScrapsServiceResource($this, $this->serviceName, 'scraps', json_decode('{"methods": {"insert": {"id": "orkut.scraps.insert", "path": "activities/scraps", "httpMethod": "POST", "request": {"$ref": "Activity"}, "response": {"$ref": "Activity"}, "scopes": ["https://www.googleapis.com/auth/orkut"]}}}', true)); 903 904 } 905} 906 907 908 909class Google_Acl extends Google_Model { 910 public $description; 911 protected $__itemsType = 'Google_AclItems'; 912 protected $__itemsDataType = 'array'; 913 public $items; 914 public $kind; 915 public $totalParticipants; 916 public function setDescription( $description) { 917 $this->description = $description; 918 } 919 public function getDescription() { 920 return $this->description; 921 } 922 public function setItems(/* array(Google_AclItems) */ $items) { 923 $this->assertIsArray($items, 'Google_AclItems', __METHOD__); 924 $this->items = $items; 925 } 926 public function getItems() { 927 return $this->items; 928 } 929 public function setKind( $kind) { 930 $this->kind = $kind; 931 } 932 public function getKind() { 933 return $this->kind; 934 } 935 public function setTotalParticipants( $totalParticipants) { 936 $this->totalParticipants = $totalParticipants; 937 } 938 public function getTotalParticipants() { 939 return $this->totalParticipants; 940 } 941} 942 943class Google_AclItems extends Google_Model { 944 public $id; 945 public $type; 946 public function setId( $id) { 947 $this->id = $id; 948 } 949 public function getId() { 950 return $this->id; 951 } 952 public function setType( $type) { 953 $this->type = $type; 954 } 955 public function getType() { 956 return $this->type; 957 } 958} 959 960class Google_Activity extends Google_Model { 961 protected $__accessType = 'Google_Acl'; 962 protected $__accessDataType = ''; 963 public $access; 964 protected $__actorType = 'Google_OrkutAuthorResource'; 965 protected $__actorDataType = ''; 966 public $actor; 967 public $id; 968 public $kind; 969 protected $__linksType = 'Google_OrkutLinkResource'; 970 protected $__linksDataType = 'array'; 971 public $links; 972 protected $__objectType = 'Google_ActivityObject'; 973 protected $__objectDataType = ''; 974 public $object; 975 public $published; 976 public $title; 977 public $updated; 978 public $verb; 979 public function setAccess(Google_Acl $access) { 980 $this->access = $access; 981 } 982 public function getAccess() { 983 return $this->access; 984 } 985 public function setActor(Google_OrkutAuthorResource $actor) { 986 $this->actor = $actor; 987 } 988 public function getActor() { 989 return $this->actor; 990 } 991 public function setId( $id) { 992 $this->id = $id; 993 } 994 public function getId() { 995 return $this->id; 996 } 997 public function setKind( $kind) { 998 $this->kind = $kind; 999 } 1000 public function getKind() { 1001 return $this->kind; 1002 } 1003 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 1004 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 1005 $this->links = $links; 1006 } 1007 public function getLinks() { 1008 return $this->links; 1009 } 1010 public function setObject(Google_ActivityObject $object) { 1011 $this->object = $object; 1012 } 1013 public function getObject() { 1014 return $this->object; 1015 } 1016 public function setPublished( $published) { 1017 $this->published = $published; 1018 } 1019 public function getPublished() { 1020 return $this->published; 1021 } 1022 public function setTitle( $title) { 1023 $this->title = $title; 1024 } 1025 public function getTitle() { 1026 return $this->title; 1027 } 1028 public function setUpdated( $updated) { 1029 $this->updated = $updated; 1030 } 1031 public function getUpdated() { 1032 return $this->updated; 1033 } 1034 public function setVerb( $verb) { 1035 $this->verb = $verb; 1036 } 1037 public function getVerb() { 1038 return $this->verb; 1039 } 1040} 1041 1042class Google_ActivityList extends Google_Model { 1043 protected $__itemsType = 'Google_Activity'; 1044 protected $__itemsDataType = 'array'; 1045 public $items; 1046 public $kind; 1047 public $nextPageToken; 1048 public function setItems(/* array(Google_Activity) */ $items) { 1049 $this->assertIsArray($items, 'Google_Activity', __METHOD__); 1050 $this->items = $items; 1051 } 1052 public function getItems() { 1053 return $this->items; 1054 } 1055 public function setKind( $kind) { 1056 $this->kind = $kind; 1057 } 1058 public function getKind() { 1059 return $this->kind; 1060 } 1061 public function setNextPageToken( $nextPageToken) { 1062 $this->nextPageToken = $nextPageToken; 1063 } 1064 public function getNextPageToken() { 1065 return $this->nextPageToken; 1066 } 1067} 1068 1069class Google_ActivityObject extends Google_Model { 1070 public $content; 1071 protected $__itemsType = 'Google_OrkutActivityobjectsResource'; 1072 protected $__itemsDataType = 'array'; 1073 public $items; 1074 public $objectType; 1075 protected $__repliesType = 'Google_ActivityObjectReplies'; 1076 protected $__repliesDataType = ''; 1077 public $replies; 1078 public function setContent( $content) { 1079 $this->content = $content; 1080 } 1081 public function getContent() { 1082 return $this->content; 1083 } 1084 public function setItems(/* array(Google_OrkutActivityobjectsResource) */ $items) { 1085 $this->assertIsArray($items, 'Google_OrkutActivityobjectsResource', __METHOD__); 1086 $this->items = $items; 1087 } 1088 public function getItems() { 1089 return $this->items; 1090 } 1091 public function setObjectType( $objectType) { 1092 $this->objectType = $objectType; 1093 } 1094 public function getObjectType() { 1095 return $this->objectType; 1096 } 1097 public function setReplies(Google_ActivityObjectReplies $replies) { 1098 $this->replies = $replies; 1099 } 1100 public function getReplies() { 1101 return $this->replies; 1102 } 1103} 1104 1105class Google_ActivityObjectReplies extends Google_Model { 1106 protected $__itemsType = 'Google_Comment'; 1107 protected $__itemsDataType = 'array'; 1108 public $items; 1109 public $totalItems; 1110 public $url; 1111 public function setItems(/* array(Google_Comment) */ $items) { 1112 $this->assertIsArray($items, 'Google_Comment', __METHOD__); 1113 $this->items = $items; 1114 } 1115 public function getItems() { 1116 return $this->items; 1117 } 1118 public function setTotalItems( $totalItems) { 1119 $this->totalItems = $totalItems; 1120 } 1121 public function getTotalItems() { 1122 return $this->totalItems; 1123 } 1124 public function setUrl( $url) { 1125 $this->url = $url; 1126 } 1127 public function getUrl() { 1128 return $this->url; 1129 } 1130} 1131 1132class Google_Badge extends Google_Model { 1133 public $badgeLargeLogo; 1134 public $badgeSmallLogo; 1135 public $caption; 1136 public $description; 1137 public $id; 1138 public $kind; 1139 public $sponsorLogo; 1140 public $sponsorName; 1141 public $sponsorUrl; 1142 public function setBadgeLargeLogo( $badgeLargeLogo) { 1143 $this->badgeLargeLogo = $badgeLargeLogo; 1144 } 1145 public function getBadgeLargeLogo() { 1146 return $this->badgeLargeLogo; 1147 } 1148 public function setBadgeSmallLogo( $badgeSmallLogo) { 1149 $this->badgeSmallLogo = $badgeSmallLogo; 1150 } 1151 public function getBadgeSmallLogo() { 1152 return $this->badgeSmallLogo; 1153 } 1154 public function setCaption( $caption) { 1155 $this->caption = $caption; 1156 } 1157 public function getCaption() { 1158 return $this->caption; 1159 } 1160 public function setDescription( $description) { 1161 $this->description = $description; 1162 } 1163 public function getDescription() { 1164 return $this->description; 1165 } 1166 public function setId( $id) { 1167 $this->id = $id; 1168 } 1169 public function getId() { 1170 return $this->id; 1171 } 1172 public function setKind( $kind) { 1173 $this->kind = $kind; 1174 } 1175 public function getKind() { 1176 return $this->kind; 1177 } 1178 public function setSponsorLogo( $sponsorLogo) { 1179 $this->sponsorLogo = $sponsorLogo; 1180 } 1181 public function getSponsorLogo() { 1182 return $this->sponsorLogo; 1183 } 1184 public function setSponsorName( $sponsorName) { 1185 $this->sponsorName = $sponsorName; 1186 } 1187 public function getSponsorName() { 1188 return $this->sponsorName; 1189 } 1190 public function setSponsorUrl( $sponsorUrl) { 1191 $this->sponsorUrl = $sponsorUrl; 1192 } 1193 public function getSponsorUrl() { 1194 return $this->sponsorUrl; 1195 } 1196} 1197 1198class Google_BadgeList extends Google_Model { 1199 protected $__itemsType = 'Google_Badge'; 1200 protected $__itemsDataType = 'array'; 1201 public $items; 1202 public $kind; 1203 public function setItems(/* array(Google_Badge) */ $items) { 1204 $this->assertIsArray($items, 'Google_Badge', __METHOD__); 1205 $this->items = $items; 1206 } 1207 public function getItems() { 1208 return $this->items; 1209 } 1210 public function setKind( $kind) { 1211 $this->kind = $kind; 1212 } 1213 public function getKind() { 1214 return $this->kind; 1215 } 1216} 1217 1218class Google_Comment extends Google_Model { 1219 protected $__actorType = 'Google_OrkutAuthorResource'; 1220 protected $__actorDataType = ''; 1221 public $actor; 1222 public $content; 1223 public $id; 1224 protected $__inReplyToType = 'Google_CommentInReplyTo'; 1225 protected $__inReplyToDataType = ''; 1226 public $inReplyTo; 1227 public $kind; 1228 protected $__linksType = 'Google_OrkutLinkResource'; 1229 protected $__linksDataType = 'array'; 1230 public $links; 1231 public $published; 1232 public function setActor(Google_OrkutAuthorResource $actor) { 1233 $this->actor = $actor; 1234 } 1235 public function getActor() { 1236 return $this->actor; 1237 } 1238 public function setContent( $content) { 1239 $this->content = $content; 1240 } 1241 public function getContent() { 1242 return $this->content; 1243 } 1244 public function setId( $id) { 1245 $this->id = $id; 1246 } 1247 public function getId() { 1248 return $this->id; 1249 } 1250 public function setInReplyTo(Google_CommentInReplyTo $inReplyTo) { 1251 $this->inReplyTo = $inReplyTo; 1252 } 1253 public function getInReplyTo() { 1254 return $this->inReplyTo; 1255 } 1256 public function setKind( $kind) { 1257 $this->kind = $kind; 1258 } 1259 public function getKind() { 1260 return $this->kind; 1261 } 1262 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 1263 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 1264 $this->links = $links; 1265 } 1266 public function getLinks() { 1267 return $this->links; 1268 } 1269 public function setPublished( $published) { 1270 $this->published = $published; 1271 } 1272 public function getPublished() { 1273 return $this->published; 1274 } 1275} 1276 1277class Google_CommentInReplyTo extends Google_Model { 1278 public $href; 1279 public $ref; 1280 public $rel; 1281 public $type; 1282 public function setHref( $href) { 1283 $this->href = $href; 1284 } 1285 public function getHref() { 1286 return $this->href; 1287 } 1288 public function setRef( $ref) { 1289 $this->ref = $ref; 1290 } 1291 public function getRef() { 1292 return $this->ref; 1293 } 1294 public function setRel( $rel) { 1295 $this->rel = $rel; 1296 } 1297 public function getRel() { 1298 return $this->rel; 1299 } 1300 public function setType( $type) { 1301 $this->type = $type; 1302 } 1303 public function getType() { 1304 return $this->type; 1305 } 1306} 1307 1308class Google_CommentList extends Google_Model { 1309 protected $__itemsType = 'Google_Comment'; 1310 protected $__itemsDataType = 'array'; 1311 public $items; 1312 public $kind; 1313 public $nextPageToken; 1314 public $previousPageToken; 1315 public function setItems(/* array(Google_Comment) */ $items) { 1316 $this->assertIsArray($items, 'Google_Comment', __METHOD__); 1317 $this->items = $items; 1318 } 1319 public function getItems() { 1320 return $this->items; 1321 } 1322 public function setKind( $kind) { 1323 $this->kind = $kind; 1324 } 1325 public function getKind() { 1326 return $this->kind; 1327 } 1328 public function setNextPageToken( $nextPageToken) { 1329 $this->nextPageToken = $nextPageToken; 1330 } 1331 public function getNextPageToken() { 1332 return $this->nextPageToken; 1333 } 1334 public function setPreviousPageToken( $previousPageToken) { 1335 $this->previousPageToken = $previousPageToken; 1336 } 1337 public function getPreviousPageToken() { 1338 return $this->previousPageToken; 1339 } 1340} 1341 1342class Google_Community extends Google_Model { 1343 public $category; 1344 protected $__co_ownersType = 'Google_OrkutAuthorResource'; 1345 protected $__co_ownersDataType = 'array'; 1346 public $co_owners; 1347 public $creation_date; 1348 public $description; 1349 public $id; 1350 public $kind; 1351 public $language; 1352 protected $__linksType = 'Google_OrkutLinkResource'; 1353 protected $__linksDataType = 'array'; 1354 public $links; 1355 public $location; 1356 public $member_count; 1357 protected $__moderatorsType = 'Google_OrkutAuthorResource'; 1358 protected $__moderatorsDataType = 'array'; 1359 public $moderators; 1360 public $name; 1361 protected $__ownerType = 'Google_OrkutAuthorResource'; 1362 protected $__ownerDataType = ''; 1363 public $owner; 1364 public $photo_url; 1365 public function setCategory( $category) { 1366 $this->category = $category; 1367 } 1368 public function getCategory() { 1369 return $this->category; 1370 } 1371 public function setCo_owners(/* array(Google_OrkutAuthorResource) */ $co_owners) { 1372 $this->assertIsArray($co_owners, 'Google_OrkutAuthorResource', __METHOD__); 1373 $this->co_owners = $co_owners; 1374 } 1375 public function getCo_owners() { 1376 return $this->co_owners; 1377 } 1378 public function setCreation_date( $creation_date) { 1379 $this->creation_date = $creation_date; 1380 } 1381 public function getCreation_date() { 1382 return $this->creation_date; 1383 } 1384 public function setDescription( $description) { 1385 $this->description = $description; 1386 } 1387 public function getDescription() { 1388 return $this->description; 1389 } 1390 public function setId( $id) { 1391 $this->id = $id; 1392 } 1393 public function getId() { 1394 return $this->id; 1395 } 1396 public function setKind( $kind) { 1397 $this->kind = $kind; 1398 } 1399 public function getKind() { 1400 return $this->kind; 1401 } 1402 public function setLanguage( $language) { 1403 $this->language = $language; 1404 } 1405 public function getLanguage() { 1406 return $this->language; 1407 } 1408 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 1409 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 1410 $this->links = $links; 1411 } 1412 public function getLinks() { 1413 return $this->links; 1414 } 1415 public function setLocation( $location) { 1416 $this->location = $location; 1417 } 1418 public function getLocation() { 1419 return $this->location; 1420 } 1421 public function setMember_count( $member_count) { 1422 $this->member_count = $member_count; 1423 } 1424 public function getMember_count() { 1425 return $this->member_count; 1426 } 1427 public function setModerators(/* array(Google_OrkutAuthorResource) */ $moderators) { 1428 $this->assertIsArray($moderators, 'Google_OrkutAuthorResource', __METHOD__); 1429 $this->moderators = $moderators; 1430 } 1431 public function getModerators() { 1432 return $this->moderators; 1433 } 1434 public function setName( $name) { 1435 $this->name = $name; 1436 } 1437 public function getName() { 1438 return $this->name; 1439 } 1440 public function setOwner(Google_OrkutAuthorResource $owner) { 1441 $this->owner = $owner; 1442 } 1443 public function getOwner() { 1444 return $this->owner; 1445 } 1446 public function setPhoto_url( $photo_url) { 1447 $this->photo_url = $photo_url; 1448 } 1449 public function getPhoto_url() { 1450 return $this->photo_url; 1451 } 1452} 1453 1454class Google_CommunityList extends Google_Model { 1455 protected $__itemsType = 'Google_Community'; 1456 protected $__itemsDataType = 'array'; 1457 public $items; 1458 public $kind; 1459 public function setItems(/* array(Google_Community) */ $items) { 1460 $this->assertIsArray($items, 'Google_Community', __METHOD__); 1461 $this->items = $items; 1462 } 1463 public function getItems() { 1464 return $this->items; 1465 } 1466 public function setKind( $kind) { 1467 $this->kind = $kind; 1468 } 1469 public function getKind() { 1470 return $this->kind; 1471 } 1472} 1473 1474class Google_CommunityMembers extends Google_Model { 1475 protected $__communityMembershipStatusType = 'Google_CommunityMembershipStatus'; 1476 protected $__communityMembershipStatusDataType = ''; 1477 public $communityMembershipStatus; 1478 public $kind; 1479 protected $__personType = 'Google_OrkutActivitypersonResource'; 1480 protected $__personDataType = ''; 1481 public $person; 1482 public function setCommunityMembershipStatus(Google_CommunityMembershipStatus $communityMembershipStatus) { 1483 $this->communityMembershipStatus = $communityMembershipStatus; 1484 } 1485 public function getCommunityMembershipStatus() { 1486 return $this->communityMembershipStatus; 1487 } 1488 public function setKind( $kind) { 1489 $this->kind = $kind; 1490 } 1491 public function getKind() { 1492 return $this->kind; 1493 } 1494 public function setPerson(Google_OrkutActivitypersonResource $person) { 1495 $this->person = $person; 1496 } 1497 public function getPerson() { 1498 return $this->person; 1499 } 1500} 1501 1502class Google_CommunityMembersList extends Google_Model { 1503 public $firstPageToken; 1504 protected $__itemsType = 'Google_CommunityMembers'; 1505 protected $__itemsDataType = 'array'; 1506 public $items; 1507 public $kind; 1508 public $lastPageToken; 1509 public $nextPageToken; 1510 public $prevPageToken; 1511 public function setFirstPageToken( $firstPageToken) { 1512 $this->firstPageToken = $firstPageToken; 1513 } 1514 public function getFirstPageToken() { 1515 return $this->firstPageToken; 1516 } 1517 public function setItems(/* array(Google_CommunityMembers) */ $items) { 1518 $this->assertIsArray($items, 'Google_CommunityMembers', __METHOD__); 1519 $this->items = $items; 1520 } 1521 public function getItems() { 1522 return $this->items; 1523 } 1524 public function setKind( $kind) { 1525 $this->kind = $kind; 1526 } 1527 public function getKind() { 1528 return $this->kind; 1529 } 1530 public function setLastPageToken( $lastPageToken) { 1531 $this->lastPageToken = $lastPageToken; 1532 } 1533 public function getLastPageToken() { 1534 return $this->lastPageToken; 1535 } 1536 public function setNextPageToken( $nextPageToken) { 1537 $this->nextPageToken = $nextPageToken; 1538 } 1539 public function getNextPageToken() { 1540 return $this->nextPageToken; 1541 } 1542 public function setPrevPageToken( $prevPageToken) { 1543 $this->prevPageToken = $prevPageToken; 1544 } 1545 public function getPrevPageToken() { 1546 return $this->prevPageToken; 1547 } 1548} 1549 1550class Google_CommunityMembershipStatus extends Google_Model { 1551 public $canCreatePoll; 1552 public $canCreateTopic; 1553 public $canShout; 1554 public $isCoOwner; 1555 public $isFollowing; 1556 public $isModerator; 1557 public $isOwner; 1558 public $isRestoreAvailable; 1559 public $isTakebackAvailable; 1560 public $kind; 1561 public $status; 1562 public function setCanCreatePoll( $canCreatePoll) { 1563 $this->canCreatePoll = $canCreatePoll; 1564 } 1565 public function getCanCreatePoll() { 1566 return $this->canCreatePoll; 1567 } 1568 public function setCanCreateTopic( $canCreateTopic) { 1569 $this->canCreateTopic = $canCreateTopic; 1570 } 1571 public function getCanCreateTopic() { 1572 return $this->canCreateTopic; 1573 } 1574 public function setCanShout( $canShout) { 1575 $this->canShout = $canShout; 1576 } 1577 public function getCanShout() { 1578 return $this->canShout; 1579 } 1580 public function setIsCoOwner( $isCoOwner) { 1581 $this->isCoOwner = $isCoOwner; 1582 } 1583 public function getIsCoOwner() { 1584 return $this->isCoOwner; 1585 } 1586 public function setIsFollowing( $isFollowing) { 1587 $this->isFollowing = $isFollowing; 1588 } 1589 public function getIsFollowing() { 1590 return $this->isFollowing; 1591 } 1592 public function setIsModerator( $isModerator) { 1593 $this->isModerator = $isModerator; 1594 } 1595 public function getIsModerator() { 1596 return $this->isModerator; 1597 } 1598 public function setIsOwner( $isOwner) { 1599 $this->isOwner = $isOwner; 1600 } 1601 public function getIsOwner() { 1602 return $this->isOwner; 1603 } 1604 public function setIsRestoreAvailable( $isRestoreAvailable) { 1605 $this->isRestoreAvailable = $isRestoreAvailable; 1606 } 1607 public function getIsRestoreAvailable() { 1608 return $this->isRestoreAvailable; 1609 } 1610 public function setIsTakebackAvailable( $isTakebackAvailable) { 1611 $this->isTakebackAvailable = $isTakebackAvailable; 1612 } 1613 public function getIsTakebackAvailable() { 1614 return $this->isTakebackAvailable; 1615 } 1616 public function setKind( $kind) { 1617 $this->kind = $kind; 1618 } 1619 public function getKind() { 1620 return $this->kind; 1621 } 1622 public function setStatus( $status) { 1623 $this->status = $status; 1624 } 1625 public function getStatus() { 1626 return $this->status; 1627 } 1628} 1629 1630class Google_CommunityMessage extends Google_Model { 1631 public $addedDate; 1632 protected $__authorType = 'Google_OrkutAuthorResource'; 1633 protected $__authorDataType = ''; 1634 public $author; 1635 public $body; 1636 public $id; 1637 public $isSpam; 1638 public $kind; 1639 protected $__linksType = 'Google_OrkutLinkResource'; 1640 protected $__linksDataType = 'array'; 1641 public $links; 1642 public $subject; 1643 public function setAddedDate( $addedDate) { 1644 $this->addedDate = $addedDate; 1645 } 1646 public function getAddedDate() { 1647 return $this->addedDate; 1648 } 1649 public function setAuthor(Google_OrkutAuthorResource $author) { 1650 $this->author = $author; 1651 } 1652 public function getAuthor() { 1653 return $this->author; 1654 } 1655 public function setBody( $body) { 1656 $this->body = $body; 1657 } 1658 public function getBody() { 1659 return $this->body; 1660 } 1661 public function setId( $id) { 1662 $this->id = $id; 1663 } 1664 public function getId() { 1665 return $this->id; 1666 } 1667 public function setIsSpam( $isSpam) { 1668 $this->isSpam = $isSpam; 1669 } 1670 public function getIsSpam() { 1671 return $this->isSpam; 1672 } 1673 public function setKind( $kind) { 1674 $this->kind = $kind; 1675 } 1676 public function getKind() { 1677 return $this->kind; 1678 } 1679 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 1680 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 1681 $this->links = $links; 1682 } 1683 public function getLinks() { 1684 return $this->links; 1685 } 1686 public function setSubject( $subject) { 1687 $this->subject = $subject; 1688 } 1689 public function getSubject() { 1690 return $this->subject; 1691 } 1692} 1693 1694class Google_CommunityMessageList extends Google_Model { 1695 public $firstPageToken; 1696 protected $__itemsType = 'Google_CommunityMessage'; 1697 protected $__itemsDataType = 'array'; 1698 public $items; 1699 public $kind; 1700 public $lastPageToken; 1701 public $nextPageToken; 1702 public $prevPageToken; 1703 public function setFirstPageToken( $firstPageToken) { 1704 $this->firstPageToken = $firstPageToken; 1705 } 1706 public function getFirstPageToken() { 1707 return $this->firstPageToken; 1708 } 1709 public function setItems(/* array(Google_CommunityMessage) */ $items) { 1710 $this->assertIsArray($items, 'Google_CommunityMessage', __METHOD__); 1711 $this->items = $items; 1712 } 1713 public function getItems() { 1714 return $this->items; 1715 } 1716 public function setKind( $kind) { 1717 $this->kind = $kind; 1718 } 1719 public function getKind() { 1720 return $this->kind; 1721 } 1722 public function setLastPageToken( $lastPageToken) { 1723 $this->lastPageToken = $lastPageToken; 1724 } 1725 public function getLastPageToken() { 1726 return $this->lastPageToken; 1727 } 1728 public function setNextPageToken( $nextPageToken) { 1729 $this->nextPageToken = $nextPageToken; 1730 } 1731 public function getNextPageToken() { 1732 return $this->nextPageToken; 1733 } 1734 public function setPrevPageToken( $prevPageToken) { 1735 $this->prevPageToken = $prevPageToken; 1736 } 1737 public function getPrevPageToken() { 1738 return $this->prevPageToken; 1739 } 1740} 1741 1742class Google_CommunityPoll extends Google_Model { 1743 protected $__authorType = 'Google_OrkutAuthorResource'; 1744 protected $__authorDataType = ''; 1745 public $author; 1746 public $communityId; 1747 public $creationTime; 1748 public $description; 1749 public $endingTime; 1750 public $hasVoted; 1751 public $id; 1752 protected $__imageType = 'Google_CommunityPollImage'; 1753 protected $__imageDataType = ''; 1754 public $image; 1755 public $isClosed; 1756 public $isMultipleAnswers; 1757 public $isOpenForVoting; 1758 public $isRestricted; 1759 public $isSpam; 1760 public $isUsersVotePublic; 1761 public $isVotingAllowedForNonMembers; 1762 public $kind; 1763 public $lastUpdate; 1764 protected $__linksType = 'Google_OrkutLinkResource'; 1765 protected $__linksDataType = 'array'; 1766 public $links; 1767 protected $__optionsType = 'Google_OrkutCommunitypolloptionResource'; 1768 protected $__optionsDataType = 'array'; 1769 public $options; 1770 public $question; 1771 public $totalNumberOfVotes; 1772 public $votedOptions; 1773 public function setAuthor(Google_OrkutAuthorResource $author) { 1774 $this->author = $author; 1775 } 1776 public function getAuthor() { 1777 return $this->author; 1778 } 1779 public function setCommunityId( $communityId) { 1780 $this->communityId = $communityId; 1781 } 1782 public function getCommunityId() { 1783 return $this->communityId; 1784 } 1785 public function setCreationTime( $creationTime) { 1786 $this->creationTime = $creationTime; 1787 } 1788 public function getCreationTime() { 1789 return $this->creationTime; 1790 } 1791 public function setDescription( $description) { 1792 $this->description = $description; 1793 } 1794 public function getDescription() { 1795 return $this->description; 1796 } 1797 public function setEndingTime( $endingTime) { 1798 $this->endingTime = $endingTime; 1799 } 1800 public function getEndingTime() { 1801 return $this->endingTime; 1802 } 1803 public function setHasVoted( $hasVoted) { 1804 $this->hasVoted = $hasVoted; 1805 } 1806 public function getHasVoted() { 1807 return $this->hasVoted; 1808 } 1809 public function setId( $id) { 1810 $this->id = $id; 1811 } 1812 public function getId() { 1813 return $this->id; 1814 } 1815 public function setImage(Google_CommunityPollImage $image) { 1816 $this->image = $image; 1817 } 1818 public function getImage() { 1819 return $this->image; 1820 } 1821 public function setIsClosed( $isClosed) { 1822 $this->isClosed = $isClosed; 1823 } 1824 public function getIsClosed() { 1825 return $this->isClosed; 1826 } 1827 public function setIsMultipleAnswers( $isMultipleAnswers) { 1828 $this->isMultipleAnswers = $isMultipleAnswers; 1829 } 1830 public function getIsMultipleAnswers() { 1831 return $this->isMultipleAnswers; 1832 } 1833 public function setIsOpenForVoting( $isOpenForVoting) { 1834 $this->isOpenForVoting = $isOpenForVoting; 1835 } 1836 public function getIsOpenForVoting() { 1837 return $this->isOpenForVoting; 1838 } 1839 public function setIsRestricted( $isRestricted) { 1840 $this->isRestricted = $isRestricted; 1841 } 1842 public function getIsRestricted() { 1843 return $this->isRestricted; 1844 } 1845 public function setIsSpam( $isSpam) { 1846 $this->isSpam = $isSpam; 1847 } 1848 public function getIsSpam() { 1849 return $this->isSpam; 1850 } 1851 public function setIsUsersVotePublic( $isUsersVotePublic) { 1852 $this->isUsersVotePublic = $isUsersVotePublic; 1853 } 1854 public function getIsUsersVotePublic() { 1855 return $this->isUsersVotePublic; 1856 } 1857 public function setIsVotingAllowedForNonMembers( $isVotingAllowedForNonMembers) { 1858 $this->isVotingAllowedForNonMembers = $isVotingAllowedForNonMembers; 1859 } 1860 public function getIsVotingAllowedForNonMembers() { 1861 return $this->isVotingAllowedForNonMembers; 1862 } 1863 public function setKind( $kind) { 1864 $this->kind = $kind; 1865 } 1866 public function getKind() { 1867 return $this->kind; 1868 } 1869 public function setLastUpdate( $lastUpdate) { 1870 $this->lastUpdate = $lastUpdate; 1871 } 1872 public function getLastUpdate() { 1873 return $this->lastUpdate; 1874 } 1875 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 1876 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 1877 $this->links = $links; 1878 } 1879 public function getLinks() { 1880 return $this->links; 1881 } 1882 public function setOptions(/* array(Google_OrkutCommunitypolloptionResource) */ $options) { 1883 $this->assertIsArray($options, 'Google_OrkutCommunitypolloptionResource', __METHOD__); 1884 $this->options = $options; 1885 } 1886 public function getOptions() { 1887 return $this->options; 1888 } 1889 public function setQuestion( $question) { 1890 $this->question = $question; 1891 } 1892 public function getQuestion() { 1893 return $this->question; 1894 } 1895 public function setTotalNumberOfVotes( $totalNumberOfVotes) { 1896 $this->totalNumberOfVotes = $totalNumberOfVotes; 1897 } 1898 public function getTotalNumberOfVotes() { 1899 return $this->totalNumberOfVotes; 1900 } 1901 public function setVotedOptions(/* array(Google_int) */ $votedOptions) { 1902 $this->assertIsArray($votedOptions, 'Google_int', __METHOD__); 1903 $this->votedOptions = $votedOptions; 1904 } 1905 public function getVotedOptions() { 1906 return $this->votedOptions; 1907 } 1908} 1909 1910class Google_CommunityPollComment extends Google_Model { 1911 public $addedDate; 1912 protected $__authorType = 'Google_OrkutAuthorResource'; 1913 protected $__authorDataType = ''; 1914 public $author; 1915 public $body; 1916 public $id; 1917 public $kind; 1918 public function setAddedDate( $addedDate) { 1919 $this->addedDate = $addedDate; 1920 } 1921 public function getAddedDate() { 1922 return $this->addedDate; 1923 } 1924 public function setAuthor(Google_OrkutAuthorResource $author) { 1925 $this->author = $author; 1926 } 1927 public function getAuthor() { 1928 return $this->author; 1929 } 1930 public function setBody( $body) { 1931 $this->body = $body; 1932 } 1933 public function getBody() { 1934 return $this->body; 1935 } 1936 public function setId( $id) { 1937 $this->id = $id; 1938 } 1939 public function getId() { 1940 return $this->id; 1941 } 1942 public function setKind( $kind) { 1943 $this->kind = $kind; 1944 } 1945 public function getKind() { 1946 return $this->kind; 1947 } 1948} 1949 1950class Google_CommunityPollCommentList extends Google_Model { 1951 public $firstPageToken; 1952 protected $__itemsType = 'Google_CommunityPollComment'; 1953 protected $__itemsDataType = 'array'; 1954 public $items; 1955 public $kind; 1956 public $lastPageToken; 1957 public $nextPageToken; 1958 public $prevPageToken; 1959 public function setFirstPageToken( $firstPageToken) { 1960 $this->firstPageToken = $firstPageToken; 1961 } 1962 public function getFirstPageToken() { 1963 return $this->firstPageToken; 1964 } 1965 public function setItems(/* array(Google_CommunityPollComment) */ $items) { 1966 $this->assertIsArray($items, 'Google_CommunityPollComment', __METHOD__); 1967 $this->items = $items; 1968 } 1969 public function getItems() { 1970 return $this->items; 1971 } 1972 public function setKind( $kind) { 1973 $this->kind = $kind; 1974 } 1975 public function getKind() { 1976 return $this->kind; 1977 } 1978 public function setLastPageToken( $lastPageToken) { 1979 $this->lastPageToken = $lastPageToken; 1980 } 1981 public function getLastPageToken() { 1982 return $this->lastPageToken; 1983 } 1984 public function setNextPageToken( $nextPageToken) { 1985 $this->nextPageToken = $nextPageToken; 1986 } 1987 public function getNextPageToken() { 1988 return $this->nextPageToken; 1989 } 1990 public function setPrevPageToken( $prevPageToken) { 1991 $this->prevPageToken = $prevPageToken; 1992 } 1993 public function getPrevPageToken() { 1994 return $this->prevPageToken; 1995 } 1996} 1997 1998class Google_CommunityPollImage extends Google_Model { 1999 public $url; 2000 public function setUrl( $url) { 2001 $this->url = $url; 2002 } 2003 public function getUrl() { 2004 return $this->url; 2005 } 2006} 2007 2008class Google_CommunityPollList extends Google_Model { 2009 public $firstPageToken; 2010 protected $__itemsType = 'Google_CommunityPoll'; 2011 protected $__itemsDataType = 'array'; 2012 public $items; 2013 public $kind; 2014 public $lastPageToken; 2015 public $nextPageToken; 2016 public $prevPageToken; 2017 public function setFirstPageToken( $firstPageToken) { 2018 $this->firstPageToken = $firstPageToken; 2019 } 2020 public function getFirstPageToken() { 2021 return $this->firstPageToken; 2022 } 2023 public function setItems(/* array(Google_CommunityPoll) */ $items) { 2024 $this->assertIsArray($items, 'Google_CommunityPoll', __METHOD__); 2025 $this->items = $items; 2026 } 2027 public function getItems() { 2028 return $this->items; 2029 } 2030 public function setKind( $kind) { 2031 $this->kind = $kind; 2032 } 2033 public function getKind() { 2034 return $this->kind; 2035 } 2036 public function setLastPageToken( $lastPageToken) { 2037 $this->lastPageToken = $lastPageToken; 2038 } 2039 public function getLastPageToken() { 2040 return $this->lastPageToken; 2041 } 2042 public function setNextPageToken( $nextPageToken) { 2043 $this->nextPageToken = $nextPageToken; 2044 } 2045 public function getNextPageToken() { 2046 return $this->nextPageToken; 2047 } 2048 public function setPrevPageToken( $prevPageToken) { 2049 $this->prevPageToken = $prevPageToken; 2050 } 2051 public function getPrevPageToken() { 2052 return $this->prevPageToken; 2053 } 2054} 2055 2056class Google_CommunityPollVote extends Google_Model { 2057 public $isVotevisible; 2058 public $kind; 2059 public $optionIds; 2060 public function setIsVotevisible( $isVotevisible) { 2061 $this->isVotevisible = $isVotevisible; 2062 } 2063 public function getIsVotevisible() { 2064 return $this->isVotevisible; 2065 } 2066 public function setKind( $kind) { 2067 $this->kind = $kind; 2068 } 2069 public function getKind() { 2070 return $this->kind; 2071 } 2072 public function setOptionIds(/* array(Google_int) */ $optionIds) { 2073 $this->assertIsArray($optionIds, 'Google_int', __METHOD__); 2074 $this->optionIds = $optionIds; 2075 } 2076 public function getOptionIds() { 2077 return $this->optionIds; 2078 } 2079} 2080 2081class Google_CommunityTopic extends Google_Model { 2082 protected $__authorType = 'Google_OrkutAuthorResource'; 2083 protected $__authorDataType = ''; 2084 public $author; 2085 public $body; 2086 public $id; 2087 public $isClosed; 2088 public $kind; 2089 public $lastUpdate; 2090 public $latestMessageSnippet; 2091 protected $__linksType = 'Google_OrkutLinkResource'; 2092 protected $__linksDataType = 'array'; 2093 public $links; 2094 protected $__messagesType = 'Google_CommunityMessage'; 2095 protected $__messagesDataType = 'array'; 2096 public $messages; 2097 public $numberOfReplies; 2098 public $title; 2099 public function setAuthor(Google_OrkutAuthorResource $author) { 2100 $this->author = $author; 2101 } 2102 public function getAuthor() { 2103 return $this->author; 2104 } 2105 public function setBody( $body) { 2106 $this->body = $body; 2107 } 2108 public function getBody() { 2109 return $this->body; 2110 } 2111 public function setId( $id) { 2112 $this->id = $id; 2113 } 2114 public function getId() { 2115 return $this->id; 2116 } 2117 public function setIsClosed( $isClosed) { 2118 $this->isClosed = $isClosed; 2119 } 2120 public function getIsClosed() { 2121 return $this->isClosed; 2122 } 2123 public function setKind( $kind) { 2124 $this->kind = $kind; 2125 } 2126 public function getKind() { 2127 return $this->kind; 2128 } 2129 public function setLastUpdate( $lastUpdate) { 2130 $this->lastUpdate = $lastUpdate; 2131 } 2132 public function getLastUpdate() { 2133 return $this->lastUpdate; 2134 } 2135 public function setLatestMessageSnippet( $latestMessageSnippet) { 2136 $this->latestMessageSnippet = $latestMessageSnippet; 2137 } 2138 public function getLatestMessageSnippet() { 2139 return $this->latestMessageSnippet; 2140 } 2141 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 2142 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 2143 $this->links = $links; 2144 } 2145 public function getLinks() { 2146 return $this->links; 2147 } 2148 public function setMessages(/* array(Google_CommunityMessage) */ $messages) { 2149 $this->assertIsArray($messages, 'Google_CommunityMessage', __METHOD__); 2150 $this->messages = $messages; 2151 } 2152 public function getMessages() { 2153 return $this->messages; 2154 } 2155 public function setNumberOfReplies( $numberOfReplies) { 2156 $this->numberOfReplies = $numberOfReplies; 2157 } 2158 public function getNumberOfReplies() { 2159 return $this->numberOfReplies; 2160 } 2161 public function setTitle( $title) { 2162 $this->title = $title; 2163 } 2164 public function getTitle() { 2165 return $this->title; 2166 } 2167} 2168 2169class Google_CommunityTopicList extends Google_Model { 2170 public $firstPageToken; 2171 protected $__itemsType = 'Google_CommunityTopic'; 2172 protected $__itemsDataType = 'array'; 2173 public $items; 2174 public $kind; 2175 public $lastPageToken; 2176 public $nextPageToken; 2177 public $prevPageToken; 2178 public function setFirstPageToken( $firstPageToken) { 2179 $this->firstPageToken = $firstPageToken; 2180 } 2181 public function getFirstPageToken() { 2182 return $this->firstPageToken; 2183 } 2184 public function setItems(/* array(Google_CommunityTopic) */ $items) { 2185 $this->assertIsArray($items, 'Google_CommunityTopic', __METHOD__); 2186 $this->items = $items; 2187 } 2188 public function getItems() { 2189 return $this->items; 2190 } 2191 public function setKind( $kind) { 2192 $this->kind = $kind; 2193 } 2194 public function getKind() { 2195 return $this->kind; 2196 } 2197 public function setLastPageToken( $lastPageToken) { 2198 $this->lastPageToken = $lastPageToken; 2199 } 2200 public function getLastPageToken() { 2201 return $this->lastPageToken; 2202 } 2203 public function setNextPageToken( $nextPageToken) { 2204 $this->nextPageToken = $nextPageToken; 2205 } 2206 public function getNextPageToken() { 2207 return $this->nextPageToken; 2208 } 2209 public function setPrevPageToken( $prevPageToken) { 2210 $this->prevPageToken = $prevPageToken; 2211 } 2212 public function getPrevPageToken() { 2213 return $this->prevPageToken; 2214 } 2215} 2216 2217class Google_Counters extends Google_Model { 2218 protected $__itemsType = 'Google_OrkutCounterResource'; 2219 protected $__itemsDataType = 'array'; 2220 public $items; 2221 public $kind; 2222 public function setItems(/* array(Google_OrkutCounterResource) */ $items) { 2223 $this->assertIsArray($items, 'Google_OrkutCounterResource', __METHOD__); 2224 $this->items = $items; 2225 } 2226 public function getItems() { 2227 return $this->items; 2228 } 2229 public function setKind( $kind) { 2230 $this->kind = $kind; 2231 } 2232 public function getKind() { 2233 return $this->kind; 2234 } 2235} 2236 2237class Google_OrkutActivityobjectsResource extends Google_Model { 2238 protected $__communityType = 'Google_Community'; 2239 protected $__communityDataType = ''; 2240 public $community; 2241 public $content; 2242 public $displayName; 2243 public $id; 2244 protected $__linksType = 'Google_OrkutLinkResource'; 2245 protected $__linksDataType = 'array'; 2246 public $links; 2247 public $objectType; 2248 protected $__personType = 'Google_OrkutActivitypersonResource'; 2249 protected $__personDataType = ''; 2250 public $person; 2251 public function setCommunity(Google_Community $community) { 2252 $this->community = $community; 2253 } 2254 public function getCommunity() { 2255 return $this->community; 2256 } 2257 public function setContent( $content) { 2258 $this->content = $content; 2259 } 2260 public function getContent() { 2261 return $this->content; 2262 } 2263 public function setDisplayName( $displayName) { 2264 $this->displayName = $displayName; 2265 } 2266 public function getDisplayName() { 2267 return $this->displayName; 2268 } 2269 public function setId( $id) { 2270 $this->id = $id; 2271 } 2272 public function getId() { 2273 return $this->id; 2274 } 2275 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 2276 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 2277 $this->links = $links; 2278 } 2279 public function getLinks() { 2280 return $this->links; 2281 } 2282 public function setObjectType( $objectType) { 2283 $this->objectType = $objectType; 2284 } 2285 public function getObjectType() { 2286 return $this->objectType; 2287 } 2288 public function setPerson(Google_OrkutActivitypersonResource $person) { 2289 $this->person = $person; 2290 } 2291 public function getPerson() { 2292 return $this->person; 2293 } 2294} 2295 2296class Google_OrkutActivitypersonResource extends Google_Model { 2297 public $birthday; 2298 public $gender; 2299 public $id; 2300 protected $__imageType = 'Google_OrkutActivitypersonResourceImage'; 2301 protected $__imageDataType = ''; 2302 public $image; 2303 protected $__nameType = 'Google_OrkutActivitypersonResourceName'; 2304 protected $__nameDataType = ''; 2305 public $name; 2306 public $url; 2307 public function setBirthday( $birthday) { 2308 $this->birthday = $birthday; 2309 } 2310 public function getBirthday() { 2311 return $this->birthday; 2312 } 2313 public function setGender( $gender) { 2314 $this->gender = $gender; 2315 } 2316 public function getGender() { 2317 return $this->gender; 2318 } 2319 public function setId( $id) { 2320 $this->id = $id; 2321 } 2322 public function getId() { 2323 return $this->id; 2324 } 2325 public function setImage(Google_OrkutActivitypersonResourceImage $image) { 2326 $this->image = $image; 2327 } 2328 public function getImage() { 2329 return $this->image; 2330 } 2331 public function setName(Google_OrkutActivitypersonResourceName $name) { 2332 $this->name = $name; 2333 } 2334 public function getName() { 2335 return $this->name; 2336 } 2337 public function setUrl( $url) { 2338 $this->url = $url; 2339 } 2340 public function getUrl() { 2341 return $this->url; 2342 } 2343} 2344 2345class Google_OrkutActivitypersonResourceImage extends Google_Model { 2346 public $url; 2347 public function setUrl( $url) { 2348 $this->url = $url; 2349 } 2350 public function getUrl() { 2351 return $this->url; 2352 } 2353} 2354 2355class Google_OrkutActivitypersonResourceName extends Google_Model { 2356 public $familyName; 2357 public $givenName; 2358 public function setFamilyName( $familyName) { 2359 $this->familyName = $familyName; 2360 } 2361 public function getFamilyName() { 2362 return $this->familyName; 2363 } 2364 public function setGivenName( $givenName) { 2365 $this->givenName = $givenName; 2366 } 2367 public function getGivenName() { 2368 return $this->givenName; 2369 } 2370} 2371 2372class Google_OrkutAuthorResource extends Google_Model { 2373 public $displayName; 2374 public $id; 2375 protected $__imageType = 'Google_OrkutAuthorResourceImage'; 2376 protected $__imageDataType = ''; 2377 public $image; 2378 public $url; 2379 public function setDisplayName( $displayName) { 2380 $this->displayName = $displayName; 2381 } 2382 public function getDisplayName() { 2383 return $this->displayName; 2384 } 2385 public function setId( $id) { 2386 $this->id = $id; 2387 } 2388 public function getId() { 2389 return $this->id; 2390 } 2391 public function setImage(Google_OrkutAuthorResourceImage $image) { 2392 $this->image = $image; 2393 } 2394 public function getImage() { 2395 return $this->image; 2396 } 2397 public function setUrl( $url) { 2398 $this->url = $url; 2399 } 2400 public function getUrl() { 2401 return $this->url; 2402 } 2403} 2404 2405class Google_OrkutAuthorResourceImage extends Google_Model { 2406 public $url; 2407 public function setUrl( $url) { 2408 $this->url = $url; 2409 } 2410 public function getUrl() { 2411 return $this->url; 2412 } 2413} 2414 2415class Google_OrkutCommunitypolloptionResource extends Google_Model { 2416 public $description; 2417 protected $__imageType = 'Google_OrkutCommunitypolloptionResourceImage'; 2418 protected $__imageDataType = ''; 2419 public $image; 2420 public $numberOfVotes; 2421 public $optionId; 2422 public function setDescription( $description) { 2423 $this->description = $description; 2424 } 2425 public function getDescription() { 2426 return $this->description; 2427 } 2428 public function setImage(Google_OrkutCommunitypolloptionResourceImage $image) { 2429 $this->image = $image; 2430 } 2431 public function getImage() { 2432 return $this->image; 2433 } 2434 public function setNumberOfVotes( $numberOfVotes) { 2435 $this->numberOfVotes = $numberOfVotes; 2436 } 2437 public function getNumberOfVotes() { 2438 return $this->numberOfVotes; 2439 } 2440 public function setOptionId( $optionId) { 2441 $this->optionId = $optionId; 2442 } 2443 public function getOptionId() { 2444 return $this->optionId; 2445 } 2446} 2447 2448class Google_OrkutCommunitypolloptionResourceImage extends Google_Model { 2449 public $url; 2450 public function setUrl( $url) { 2451 $this->url = $url; 2452 } 2453 public function getUrl() { 2454 return $this->url; 2455 } 2456} 2457 2458class Google_OrkutCounterResource extends Google_Model { 2459 protected $__linkType = 'Google_OrkutLinkResource'; 2460 protected $__linkDataType = ''; 2461 public $link; 2462 public $name; 2463 public $total; 2464 public function setLink(Google_OrkutLinkResource $link) { 2465 $this->link = $link; 2466 } 2467 public function getLink() { 2468 return $this->link; 2469 } 2470 public function setName( $name) { 2471 $this->name = $name; 2472 } 2473 public function getName() { 2474 return $this->name; 2475 } 2476 public function setTotal( $total) { 2477 $this->total = $total; 2478 } 2479 public function getTotal() { 2480 return $this->total; 2481 } 2482} 2483 2484class Google_OrkutLinkResource extends Google_Model { 2485 public $href; 2486 public $rel; 2487 public $title; 2488 public $type; 2489 public function setHref( $href) { 2490 $this->href = $href; 2491 } 2492 public function getHref() { 2493 return $this->href; 2494 } 2495 public function setRel( $rel) { 2496 $this->rel = $rel; 2497 } 2498 public function getRel() { 2499 return $this->rel; 2500 } 2501 public function setTitle( $title) { 2502 $this->title = $title; 2503 } 2504 public function getTitle() { 2505 return $this->title; 2506 } 2507 public function setType( $type) { 2508 $this->type = $type; 2509 } 2510 public function getType() { 2511 return $this->type; 2512 } 2513} 2514 2515class Google_Visibility extends Google_Model { 2516 public $kind; 2517 protected $__linksType = 'Google_OrkutLinkResource'; 2518 protected $__linksDataType = 'array'; 2519 public $links; 2520 public $visibility; 2521 public function setKind( $kind) { 2522 $this->kind = $kind; 2523 } 2524 public function getKind() { 2525 return $this->kind; 2526 } 2527 public function setLinks(/* array(Google_OrkutLinkResource) */ $links) { 2528 $this->assertIsArray($links, 'Google_OrkutLinkResource', __METHOD__); 2529 $this->links = $links; 2530 } 2531 public function getLinks() { 2532 return $this->links; 2533 } 2534 public function setVisibility( $visibility) { 2535 $this->visibility = $visibility; 2536 } 2537 public function getVisibility() { 2538 return $this->visibility; 2539 } 2540} 2541