[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

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


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