[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> Orkut.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1