Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

   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 Playmoviespartner (v1).
  20   *
  21   * <p>
  22   * Lets Google Play Movies Partners get the delivery status of their titles.</p>
  23   *
  24   * <p>
  25   * For more information about this service, see the API
  26   * <a href="https://developers.google.com/playmoviespartner/" target="_blank">Documentation</a>
  27   * </p>
  28   *
  29   * @author Google, Inc.
  30   */
  31  class Google_Service_Playmoviespartner extends Google_Service
  32  {
  33    /** View the digital assets you publish on Google Play Movies and TV. */
  34    const PLAYMOVIES_PARTNER_READONLY =
  35        "https://www.googleapis.com/auth/playmovies_partner.readonly";
  36  
  37    public $accounts_avails;
  38    public $accounts_experienceLocales;
  39    public $accounts_orders;
  40    public $accounts_storeInfos;
  41    public $accounts_storeInfos_country;
  42    
  43  
  44    /**
  45     * Constructs the internal representation of the Playmoviespartner service.
  46     *
  47     * @param Google_Client $client
  48     */
  49    public function __construct(Google_Client $client)
  50    {
  51      parent::__construct($client);
  52      $this->rootUrl = 'https://playmoviespartner.googleapis.com/';
  53      $this->servicePath = '';
  54      $this->version = 'v1';
  55      $this->serviceName = 'playmoviespartner';
  56  
  57      $this->accounts_avails = new Google_Service_Playmoviespartner_AccountsAvails_Resource(
  58          $this,
  59          $this->serviceName,
  60          'avails',
  61          array(
  62            'methods' => array(
  63              'list' => array(
  64                'path' => 'v1/accounts/{accountId}/avails',
  65                'httpMethod' => 'GET',
  66                'parameters' => array(
  67                  'accountId' => array(
  68                    'location' => 'path',
  69                    'type' => 'string',
  70                    'required' => true,
  71                  ),
  72                  'pphNames' => array(
  73                    'location' => 'query',
  74                    'type' => 'string',
  75                    'repeated' => true,
  76                  ),
  77                  'videoIds' => array(
  78                    'location' => 'query',
  79                    'type' => 'string',
  80                    'repeated' => true,
  81                  ),
  82                  'pageSize' => array(
  83                    'location' => 'query',
  84                    'type' => 'integer',
  85                  ),
  86                  'title' => array(
  87                    'location' => 'query',
  88                    'type' => 'string',
  89                  ),
  90                  'altId' => array(
  91                    'location' => 'query',
  92                    'type' => 'string',
  93                  ),
  94                  'territories' => array(
  95                    'location' => 'query',
  96                    'type' => 'string',
  97                    'repeated' => true,
  98                  ),
  99                  'studioNames' => array(
 100                    'location' => 'query',
 101                    'type' => 'string',
 102                    'repeated' => true,
 103                  ),
 104                  'pageToken' => array(
 105                    'location' => 'query',
 106                    'type' => 'string',
 107                  ),
 108                ),
 109              ),
 110            )
 111          )
 112      );
 113      $this->accounts_experienceLocales = new Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource(
 114          $this,
 115          $this->serviceName,
 116          'experienceLocales',
 117          array(
 118            'methods' => array(
 119              'get' => array(
 120                'path' => 'v1/accounts/{accountId}/experienceLocales/{elId}',
 121                'httpMethod' => 'GET',
 122                'parameters' => array(
 123                  'accountId' => array(
 124                    'location' => 'path',
 125                    'type' => 'string',
 126                    'required' => true,
 127                  ),
 128                  'elId' => array(
 129                    'location' => 'path',
 130                    'type' => 'string',
 131                    'required' => true,
 132                  ),
 133                ),
 134              ),'list' => array(
 135                'path' => 'v1/accounts/{accountId}/experienceLocales',
 136                'httpMethod' => 'GET',
 137                'parameters' => array(
 138                  'accountId' => array(
 139                    'location' => 'path',
 140                    'type' => 'string',
 141                    'required' => true,
 142                  ),
 143                  'pphNames' => array(
 144                    'location' => 'query',
 145                    'type' => 'string',
 146                    'repeated' => true,
 147                  ),
 148                  'status' => array(
 149                    'location' => 'query',
 150                    'type' => 'string',
 151                    'repeated' => true,
 152                  ),
 153                  'titleLevelEidr' => array(
 154                    'location' => 'query',
 155                    'type' => 'string',
 156                  ),
 157                  'pageSize' => array(
 158                    'location' => 'query',
 159                    'type' => 'integer',
 160                  ),
 161                  'studioNames' => array(
 162                    'location' => 'query',
 163                    'type' => 'string',
 164                    'repeated' => true,
 165                  ),
 166                  'pageToken' => array(
 167                    'location' => 'query',
 168                    'type' => 'string',
 169                  ),
 170                  'editLevelEidr' => array(
 171                    'location' => 'query',
 172                    'type' => 'string',
 173                  ),
 174                  'customId' => array(
 175                    'location' => 'query',
 176                    'type' => 'string',
 177                  ),
 178                  'altCutId' => array(
 179                    'location' => 'query',
 180                    'type' => 'string',
 181                  ),
 182                ),
 183              ),
 184            )
 185          )
 186      );
 187      $this->accounts_orders = new Google_Service_Playmoviespartner_AccountsOrders_Resource(
 188          $this,
 189          $this->serviceName,
 190          'orders',
 191          array(
 192            'methods' => array(
 193              'get' => array(
 194                'path' => 'v1/accounts/{accountId}/orders/{orderId}',
 195                'httpMethod' => 'GET',
 196                'parameters' => array(
 197                  'accountId' => array(
 198                    'location' => 'path',
 199                    'type' => 'string',
 200                    'required' => true,
 201                  ),
 202                  'orderId' => array(
 203                    'location' => 'path',
 204                    'type' => 'string',
 205                    'required' => true,
 206                  ),
 207                ),
 208              ),'list' => array(
 209                'path' => 'v1/accounts/{accountId}/orders',
 210                'httpMethod' => 'GET',
 211                'parameters' => array(
 212                  'accountId' => array(
 213                    'location' => 'path',
 214                    'type' => 'string',
 215                    'required' => true,
 216                  ),
 217                  'pphNames' => array(
 218                    'location' => 'query',
 219                    'type' => 'string',
 220                    'repeated' => true,
 221                  ),
 222                  'status' => array(
 223                    'location' => 'query',
 224                    'type' => 'string',
 225                    'repeated' => true,
 226                  ),
 227                  'name' => array(
 228                    'location' => 'query',
 229                    'type' => 'string',
 230                  ),
 231                  'pageSize' => array(
 232                    'location' => 'query',
 233                    'type' => 'integer',
 234                  ),
 235                  'studioNames' => array(
 236                    'location' => 'query',
 237                    'type' => 'string',
 238                    'repeated' => true,
 239                  ),
 240                  'pageToken' => array(
 241                    'location' => 'query',
 242                    'type' => 'string',
 243                  ),
 244                  'customId' => array(
 245                    'location' => 'query',
 246                    'type' => 'string',
 247                  ),
 248                ),
 249              ),
 250            )
 251          )
 252      );
 253      $this->accounts_storeInfos = new Google_Service_Playmoviespartner_AccountsStoreInfos_Resource(
 254          $this,
 255          $this->serviceName,
 256          'storeInfos',
 257          array(
 258            'methods' => array(
 259              'list' => array(
 260                'path' => 'v1/accounts/{accountId}/storeInfos',
 261                'httpMethod' => 'GET',
 262                'parameters' => array(
 263                  'accountId' => array(
 264                    'location' => 'path',
 265                    'type' => 'string',
 266                    'required' => true,
 267                  ),
 268                  'pphNames' => array(
 269                    'location' => 'query',
 270                    'type' => 'string',
 271                    'repeated' => true,
 272                  ),
 273                  'name' => array(
 274                    'location' => 'query',
 275                    'type' => 'string',
 276                  ),
 277                  'pageSize' => array(
 278                    'location' => 'query',
 279                    'type' => 'integer',
 280                  ),
 281                  'countries' => array(
 282                    'location' => 'query',
 283                    'type' => 'string',
 284                    'repeated' => true,
 285                  ),
 286                  'videoId' => array(
 287                    'location' => 'query',
 288                    'type' => 'string',
 289                  ),
 290                  'studioNames' => array(
 291                    'location' => 'query',
 292                    'type' => 'string',
 293                    'repeated' => true,
 294                  ),
 295                  'pageToken' => array(
 296                    'location' => 'query',
 297                    'type' => 'string',
 298                  ),
 299                  'videoIds' => array(
 300                    'location' => 'query',
 301                    'type' => 'string',
 302                    'repeated' => true,
 303                  ),
 304                ),
 305              ),
 306            )
 307          )
 308      );
 309      $this->accounts_storeInfos_country = new Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource(
 310          $this,
 311          $this->serviceName,
 312          'country',
 313          array(
 314            'methods' => array(
 315              'get' => array(
 316                'path' => 'v1/accounts/{accountId}/storeInfos/{videoId}/country/{country}',
 317                'httpMethod' => 'GET',
 318                'parameters' => array(
 319                  'accountId' => array(
 320                    'location' => 'path',
 321                    'type' => 'string',
 322                    'required' => true,
 323                  ),
 324                  'videoId' => array(
 325                    'location' => 'path',
 326                    'type' => 'string',
 327                    'required' => true,
 328                  ),
 329                  'country' => array(
 330                    'location' => 'path',
 331                    'type' => 'string',
 332                    'required' => true,
 333                  ),
 334                ),
 335              ),
 336            )
 337          )
 338      );
 339    }
 340  }
 341  
 342  
 343  /**
 344   * The "accounts" collection of methods.
 345   * Typical usage is:
 346   *  <code>
 347   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 348   *   $accounts = $playmoviespartnerService->accounts;
 349   *  </code>
 350   */
 351  class Google_Service_Playmoviespartner_Accounts_Resource extends Google_Service_Resource
 352  {
 353  }
 354  
 355  /**
 356   * The "avails" collection of methods.
 357   * Typical usage is:
 358   *  <code>
 359   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 360   *   $avails = $playmoviespartnerService->avails;
 361   *  </code>
 362   */
 363  class Google_Service_Playmoviespartner_AccountsAvails_Resource extends Google_Service_Resource
 364  {
 365  
 366    /**
 367     * List Avails owned or managed by the partner. See _Authentication and
 368     * Authorization rules_ and _List methods rules_ for more information about this
 369     * method. (avails.listAccountsAvails)
 370     *
 371     * @param string $accountId REQUIRED. See _General rules_ for more information
 372     * about this field.
 373     * @param array $optParams Optional parameters.
 374     *
 375     * @opt_param string pphNames See _List methods rules_ for info about this
 376     * field.
 377     * @opt_param string videoIds Filter Avails that match any of the given
 378     * `video_id`s.
 379     * @opt_param int pageSize See _List methods rules_ for info about this field.
 380     * @opt_param string title Filter Avails that match a case-insensitive substring
 381     * of the default Title name.
 382     * @opt_param string altId Filter Avails that match a case-insensitive, partner-
 383     * specific custom id.
 384     * @opt_param string territories Filter Avails that match (case-insensitive) any
 385     * of the given country codes, using the "ISO 3166-1 alpha-2" format (examples:
 386     * "US", "us", "Us").
 387     * @opt_param string studioNames See _List methods rules_ for info about this
 388     * field.
 389     * @opt_param string pageToken See _List methods rules_ for info about this
 390     * field.
 391     * @return Google_Service_Playmoviespartner_ListAvailsResponse
 392     */
 393    public function listAccountsAvails($accountId, $optParams = array())
 394    {
 395      $params = array('accountId' => $accountId);
 396      $params = array_merge($params, $optParams);
 397      return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListAvailsResponse");
 398    }
 399  }
 400  /**
 401   * The "experienceLocales" collection of methods.
 402   * Typical usage is:
 403   *  <code>
 404   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 405   *   $experienceLocales = $playmoviespartnerService->experienceLocales;
 406   *  </code>
 407   */
 408  class Google_Service_Playmoviespartner_AccountsExperienceLocales_Resource extends Google_Service_Resource
 409  {
 410  
 411    /**
 412     * Get an ExperienceLocale given its id. See _Authentication and Authorization
 413     * rules_ and _Get methods rules_ for more information about this method.
 414     * (experienceLocales.get)
 415     *
 416     * @param string $accountId REQUIRED. See _General rules_ for more information
 417     * about this field.
 418     * @param string $elId REQUIRED. ExperienceLocale ID, as defined by Google.
 419     * @param array $optParams Optional parameters.
 420     * @return Google_Service_Playmoviespartner_ExperienceLocale
 421     */
 422    public function get($accountId, $elId, $optParams = array())
 423    {
 424      $params = array('accountId' => $accountId, 'elId' => $elId);
 425      $params = array_merge($params, $optParams);
 426      return $this->call('get', array($params), "Google_Service_Playmoviespartner_ExperienceLocale");
 427    }
 428  
 429    /**
 430     * List ExperienceLocales owned or managed by the partner. See _Authentication
 431     * and Authorization rules_ and _List methods rules_ for more information about
 432     * this method. (experienceLocales.listAccountsExperienceLocales)
 433     *
 434     * @param string $accountId REQUIRED. See _General rules_ for more information
 435     * about this field.
 436     * @param array $optParams Optional parameters.
 437     *
 438     * @opt_param string pphNames See _List methods rules_ for info about this
 439     * field.
 440     * @opt_param string status Filter ExperienceLocales that match one of the given
 441     * status.
 442     * @opt_param string titleLevelEidr Filter ExperienceLocales that match a given
 443     * title-level EIDR.
 444     * @opt_param int pageSize See _List methods rules_ for info about this field.
 445     * @opt_param string studioNames See _List methods rules_ for info about this
 446     * field.
 447     * @opt_param string pageToken See _List methods rules_ for info about this
 448     * field.
 449     * @opt_param string editLevelEidr Filter ExperienceLocales that match a given
 450     * edit-level EIDR.
 451     * @opt_param string customId Filter ExperienceLocales that match a case-
 452     * insensitive, partner-specific custom id.
 453     * @opt_param string altCutId Filter ExperienceLocales that match a case-
 454     * insensitive, partner-specific Alternative Cut ID.
 455     * @return Google_Service_Playmoviespartner_ListExperienceLocalesResponse
 456     */
 457    public function listAccountsExperienceLocales($accountId, $optParams = array())
 458    {
 459      $params = array('accountId' => $accountId);
 460      $params = array_merge($params, $optParams);
 461      return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListExperienceLocalesResponse");
 462    }
 463  }
 464  /**
 465   * The "orders" collection of methods.
 466   * Typical usage is:
 467   *  <code>
 468   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 469   *   $orders = $playmoviespartnerService->orders;
 470   *  </code>
 471   */
 472  class Google_Service_Playmoviespartner_AccountsOrders_Resource extends Google_Service_Resource
 473  {
 474  
 475    /**
 476     * Get an Order given its id. See _Authentication and Authorization rules_ and
 477     * _Get methods rules_ for more information about this method. (orders.get)
 478     *
 479     * @param string $accountId REQUIRED. See _General rules_ for more information
 480     * about this field.
 481     * @param string $orderId REQUIRED. Order ID.
 482     * @param array $optParams Optional parameters.
 483     * @return Google_Service_Playmoviespartner_Order
 484     */
 485    public function get($accountId, $orderId, $optParams = array())
 486    {
 487      $params = array('accountId' => $accountId, 'orderId' => $orderId);
 488      $params = array_merge($params, $optParams);
 489      return $this->call('get', array($params), "Google_Service_Playmoviespartner_Order");
 490    }
 491  
 492    /**
 493     * List Orders owned or managed by the partner. See _Authentication and
 494     * Authorization rules_ and _List methods rules_ for more information about this
 495     * method. (orders.listAccountsOrders)
 496     *
 497     * @param string $accountId REQUIRED. See _General rules_ for more information
 498     * about this field.
 499     * @param array $optParams Optional parameters.
 500     *
 501     * @opt_param string pphNames See _List methods rules_ for info about this
 502     * field.
 503     * @opt_param string status Filter Orders that match one of the given status.
 504     * @opt_param string name Filter Orders that match a title name (case-
 505     * insensitive, sub-string match).
 506     * @opt_param int pageSize See _List methods rules_ for info about this field.
 507     * @opt_param string studioNames See _List methods rules_ for info about this
 508     * field.
 509     * @opt_param string pageToken See _List methods rules_ for info about this
 510     * field.
 511     * @opt_param string customId Filter Orders that match a case-insensitive,
 512     * partner-specific custom id.
 513     * @return Google_Service_Playmoviespartner_ListOrdersResponse
 514     */
 515    public function listAccountsOrders($accountId, $optParams = array())
 516    {
 517      $params = array('accountId' => $accountId);
 518      $params = array_merge($params, $optParams);
 519      return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListOrdersResponse");
 520    }
 521  }
 522  /**
 523   * The "storeInfos" collection of methods.
 524   * Typical usage is:
 525   *  <code>
 526   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 527   *   $storeInfos = $playmoviespartnerService->storeInfos;
 528   *  </code>
 529   */
 530  class Google_Service_Playmoviespartner_AccountsStoreInfos_Resource extends Google_Service_Resource
 531  {
 532  
 533    /**
 534     * List StoreInfos owned or managed by the partner. See _Authentication and
 535     * Authorization rules_ and _List methods rules_ for more information about this
 536     * method. (storeInfos.listAccountsStoreInfos)
 537     *
 538     * @param string $accountId REQUIRED. See _General rules_ for more information
 539     * about this field.
 540     * @param array $optParams Optional parameters.
 541     *
 542     * @opt_param string pphNames See _List methods rules_ for info about this
 543     * field.
 544     * @opt_param string name Filter StoreInfos that match a case-insensitive
 545     * substring of the default name.
 546     * @opt_param int pageSize See _List methods rules_ for info about this field.
 547     * @opt_param string countries Filter StoreInfos that match (case-insensitive)
 548     * any of the given country codes, using the "ISO 3166-1 alpha-2" format
 549     * (examples: "US", "us", "Us").
 550     * @opt_param string videoId Filter StoreInfos that match a given `video_id`.
 551     * NOTE: this field is deprecated and will be removed on V2; `video_ids` should
 552     * be used instead.
 553     * @opt_param string studioNames See _List methods rules_ for info about this
 554     * field.
 555     * @opt_param string pageToken See _List methods rules_ for info about this
 556     * field.
 557     * @opt_param string videoIds Filter StoreInfos that match any of the given
 558     * `video_id`s.
 559     * @return Google_Service_Playmoviespartner_ListStoreInfosResponse
 560     */
 561    public function listAccountsStoreInfos($accountId, $optParams = array())
 562    {
 563      $params = array('accountId' => $accountId);
 564      $params = array_merge($params, $optParams);
 565      return $this->call('list', array($params), "Google_Service_Playmoviespartner_ListStoreInfosResponse");
 566    }
 567  }
 568  
 569  /**
 570   * The "country" collection of methods.
 571   * Typical usage is:
 572   *  <code>
 573   *   $playmoviespartnerService = new Google_Service_Playmoviespartner(...);
 574   *   $country = $playmoviespartnerService->country;
 575   *  </code>
 576   */
 577  class Google_Service_Playmoviespartner_AccountsStoreInfosCountry_Resource extends Google_Service_Resource
 578  {
 579  
 580    /**
 581     * Get a StoreInfo given its video id and country. See _Authentication and
 582     * Authorization rules_ and _Get methods rules_ for more information about this
 583     * method. (country.get)
 584     *
 585     * @param string $accountId REQUIRED. See _General rules_ for more information
 586     * about this field.
 587     * @param string $videoId REQUIRED. Video ID.
 588     * @param string $country REQUIRED. Edit country.
 589     * @param array $optParams Optional parameters.
 590     * @return Google_Service_Playmoviespartner_StoreInfo
 591     */
 592    public function get($accountId, $videoId, $country, $optParams = array())
 593    {
 594      $params = array('accountId' => $accountId, 'videoId' => $videoId, 'country' => $country);
 595      $params = array_merge($params, $optParams);
 596      return $this->call('get', array($params), "Google_Service_Playmoviespartner_StoreInfo");
 597    }
 598  }
 599  
 600  
 601  
 602  
 603  class Google_Service_Playmoviespartner_Avail extends Google_Collection
 604  {
 605    protected $collection_key = 'pphNames';
 606    protected $internal_gapi_mappings = array(
 607    );
 608    public $altId;
 609    public $captionExemption;
 610    public $captionIncluded;
 611    public $contentId;
 612    public $displayName;
 613    public $encodeId;
 614    public $end;
 615    public $episodeAltId;
 616    public $episodeNumber;
 617    public $episodeTitleInternalAlias;
 618    public $formatProfile;
 619    public $licenseType;
 620    public $pphNames;
 621    public $priceType;
 622    public $priceValue;
 623    public $productId;
 624    public $ratingReason;
 625    public $ratingSystem;
 626    public $ratingValue;
 627    public $releaseDate;
 628    public $seasonAltId;
 629    public $seasonNumber;
 630    public $seasonTitleInternalAlias;
 631    public $seriesAltId;
 632    public $seriesTitleInternalAlias;
 633    public $start;
 634    public $storeLanguage;
 635    public $suppressionLiftDate;
 636    public $territory;
 637    public $titleInternalAlias;
 638    public $videoId;
 639    public $workType;
 640  
 641  
 642    public function setAltId($altId)
 643    {
 644      $this->altId = $altId;
 645    }
 646    public function getAltId()
 647    {
 648      return $this->altId;
 649    }
 650    public function setCaptionExemption($captionExemption)
 651    {
 652      $this->captionExemption = $captionExemption;
 653    }
 654    public function getCaptionExemption()
 655    {
 656      return $this->captionExemption;
 657    }
 658    public function setCaptionIncluded($captionIncluded)
 659    {
 660      $this->captionIncluded = $captionIncluded;
 661    }
 662    public function getCaptionIncluded()
 663    {
 664      return $this->captionIncluded;
 665    }
 666    public function setContentId($contentId)
 667    {
 668      $this->contentId = $contentId;
 669    }
 670    public function getContentId()
 671    {
 672      return $this->contentId;
 673    }
 674    public function setDisplayName($displayName)
 675    {
 676      $this->displayName = $displayName;
 677    }
 678    public function getDisplayName()
 679    {
 680      return $this->displayName;
 681    }
 682    public function setEncodeId($encodeId)
 683    {
 684      $this->encodeId = $encodeId;
 685    }
 686    public function getEncodeId()
 687    {
 688      return $this->encodeId;
 689    }
 690    public function setEnd($end)
 691    {
 692      $this->end = $end;
 693    }
 694    public function getEnd()
 695    {
 696      return $this->end;
 697    }
 698    public function setEpisodeAltId($episodeAltId)
 699    {
 700      $this->episodeAltId = $episodeAltId;
 701    }
 702    public function getEpisodeAltId()
 703    {
 704      return $this->episodeAltId;
 705    }
 706    public function setEpisodeNumber($episodeNumber)
 707    {
 708      $this->episodeNumber = $episodeNumber;
 709    }
 710    public function getEpisodeNumber()
 711    {
 712      return $this->episodeNumber;
 713    }
 714    public function setEpisodeTitleInternalAlias($episodeTitleInternalAlias)
 715    {
 716      $this->episodeTitleInternalAlias = $episodeTitleInternalAlias;
 717    }
 718    public function getEpisodeTitleInternalAlias()
 719    {
 720      return $this->episodeTitleInternalAlias;
 721    }
 722    public function setFormatProfile($formatProfile)
 723    {
 724      $this->formatProfile = $formatProfile;
 725    }
 726    public function getFormatProfile()
 727    {
 728      return $this->formatProfile;
 729    }
 730    public function setLicenseType($licenseType)
 731    {
 732      $this->licenseType = $licenseType;
 733    }
 734    public function getLicenseType()
 735    {
 736      return $this->licenseType;
 737    }
 738    public function setPphNames($pphNames)
 739    {
 740      $this->pphNames = $pphNames;
 741    }
 742    public function getPphNames()
 743    {
 744      return $this->pphNames;
 745    }
 746    public function setPriceType($priceType)
 747    {
 748      $this->priceType = $priceType;
 749    }
 750    public function getPriceType()
 751    {
 752      return $this->priceType;
 753    }
 754    public function setPriceValue($priceValue)
 755    {
 756      $this->priceValue = $priceValue;
 757    }
 758    public function getPriceValue()
 759    {
 760      return $this->priceValue;
 761    }
 762    public function setProductId($productId)
 763    {
 764      $this->productId = $productId;
 765    }
 766    public function getProductId()
 767    {
 768      return $this->productId;
 769    }
 770    public function setRatingReason($ratingReason)
 771    {
 772      $this->ratingReason = $ratingReason;
 773    }
 774    public function getRatingReason()
 775    {
 776      return $this->ratingReason;
 777    }
 778    public function setRatingSystem($ratingSystem)
 779    {
 780      $this->ratingSystem = $ratingSystem;
 781    }
 782    public function getRatingSystem()
 783    {
 784      return $this->ratingSystem;
 785    }
 786    public function setRatingValue($ratingValue)
 787    {
 788      $this->ratingValue = $ratingValue;
 789    }
 790    public function getRatingValue()
 791    {
 792      return $this->ratingValue;
 793    }
 794    public function setReleaseDate($releaseDate)
 795    {
 796      $this->releaseDate = $releaseDate;
 797    }
 798    public function getReleaseDate()
 799    {
 800      return $this->releaseDate;
 801    }
 802    public function setSeasonAltId($seasonAltId)
 803    {
 804      $this->seasonAltId = $seasonAltId;
 805    }
 806    public function getSeasonAltId()
 807    {
 808      return $this->seasonAltId;
 809    }
 810    public function setSeasonNumber($seasonNumber)
 811    {
 812      $this->seasonNumber = $seasonNumber;
 813    }
 814    public function getSeasonNumber()
 815    {
 816      return $this->seasonNumber;
 817    }
 818    public function setSeasonTitleInternalAlias($seasonTitleInternalAlias)
 819    {
 820      $this->seasonTitleInternalAlias = $seasonTitleInternalAlias;
 821    }
 822    public function getSeasonTitleInternalAlias()
 823    {
 824      return $this->seasonTitleInternalAlias;
 825    }
 826    public function setSeriesAltId($seriesAltId)
 827    {
 828      $this->seriesAltId = $seriesAltId;
 829    }
 830    public function getSeriesAltId()
 831    {
 832      return $this->seriesAltId;
 833    }
 834    public function setSeriesTitleInternalAlias($seriesTitleInternalAlias)
 835    {
 836      $this->seriesTitleInternalAlias = $seriesTitleInternalAlias;
 837    }
 838    public function getSeriesTitleInternalAlias()
 839    {
 840      return $this->seriesTitleInternalAlias;
 841    }
 842    public function setStart($start)
 843    {
 844      $this->start = $start;
 845    }
 846    public function getStart()
 847    {
 848      return $this->start;
 849    }
 850    public function setStoreLanguage($storeLanguage)
 851    {
 852      $this->storeLanguage = $storeLanguage;
 853    }
 854    public function getStoreLanguage()
 855    {
 856      return $this->storeLanguage;
 857    }
 858    public function setSuppressionLiftDate($suppressionLiftDate)
 859    {
 860      $this->suppressionLiftDate = $suppressionLiftDate;
 861    }
 862    public function getSuppressionLiftDate()
 863    {
 864      return $this->suppressionLiftDate;
 865    }
 866    public function setTerritory($territory)
 867    {
 868      $this->territory = $territory;
 869    }
 870    public function getTerritory()
 871    {
 872      return $this->territory;
 873    }
 874    public function setTitleInternalAlias($titleInternalAlias)
 875    {
 876      $this->titleInternalAlias = $titleInternalAlias;
 877    }
 878    public function getTitleInternalAlias()
 879    {
 880      return $this->titleInternalAlias;
 881    }
 882    public function setVideoId($videoId)
 883    {
 884      $this->videoId = $videoId;
 885    }
 886    public function getVideoId()
 887    {
 888      return $this->videoId;
 889    }
 890    public function setWorkType($workType)
 891    {
 892      $this->workType = $workType;
 893    }
 894    public function getWorkType()
 895    {
 896      return $this->workType;
 897    }
 898  }
 899  
 900  class Google_Service_Playmoviespartner_ExperienceLocale extends Google_Collection
 901  {
 902    protected $collection_key = 'pphNames';
 903    protected $internal_gapi_mappings = array(
 904    );
 905    public $altCutId;
 906    public $approvedTime;
 907    public $channelId;
 908    public $country;
 909    public $createdTime;
 910    public $customIds;
 911    public $earliestAvailStartTime;
 912    public $editLevelEidr;
 913    public $elId;
 914    public $inventoryId;
 915    public $language;
 916    public $name;
 917    public $normalizedPriority;
 918    public $playableSequenceId;
 919    public $pphNames;
 920    public $presentationId;
 921    public $priority;
 922    public $status;
 923    public $studioName;
 924    public $titleLevelEidr;
 925    public $trailerId;
 926    public $type;
 927    public $videoId;
 928  
 929  
 930    public function setAltCutId($altCutId)
 931    {
 932      $this->altCutId = $altCutId;
 933    }
 934    public function getAltCutId()
 935    {
 936      return $this->altCutId;
 937    }
 938    public function setApprovedTime($approvedTime)
 939    {
 940      $this->approvedTime = $approvedTime;
 941    }
 942    public function getApprovedTime()
 943    {
 944      return $this->approvedTime;
 945    }
 946    public function setChannelId($channelId)
 947    {
 948      $this->channelId = $channelId;
 949    }
 950    public function getChannelId()
 951    {
 952      return $this->channelId;
 953    }
 954    public function setCountry($country)
 955    {
 956      $this->country = $country;
 957    }
 958    public function getCountry()
 959    {
 960      return $this->country;
 961    }
 962    public function setCreatedTime($createdTime)
 963    {
 964      $this->createdTime = $createdTime;
 965    }
 966    public function getCreatedTime()
 967    {
 968      return $this->createdTime;
 969    }
 970    public function setCustomIds($customIds)
 971    {
 972      $this->customIds = $customIds;
 973    }
 974    public function getCustomIds()
 975    {
 976      return $this->customIds;
 977    }
 978    public function setEarliestAvailStartTime($earliestAvailStartTime)
 979    {
 980      $this->earliestAvailStartTime = $earliestAvailStartTime;
 981    }
 982    public function getEarliestAvailStartTime()
 983    {
 984      return $this->earliestAvailStartTime;
 985    }
 986    public function setEditLevelEidr($editLevelEidr)
 987    {
 988      $this->editLevelEidr = $editLevelEidr;
 989    }
 990    public function getEditLevelEidr()
 991    {
 992      return $this->editLevelEidr;
 993    }
 994    public function setElId($elId)
 995    {
 996      $this->elId = $elId;
 997    }
 998    public function getElId()
 999    {
1000      return $this->elId;
1001    }
1002    public function setInventoryId($inventoryId)
1003    {
1004      $this->inventoryId = $inventoryId;
1005    }
1006    public function getInventoryId()
1007    {
1008      return $this->inventoryId;
1009    }
1010    public function setLanguage($language)
1011    {
1012      $this->language = $language;
1013    }
1014    public function getLanguage()
1015    {
1016      return $this->language;
1017    }
1018    public function setName($name)
1019    {
1020      $this->name = $name;
1021    }
1022    public function getName()
1023    {
1024      return $this->name;
1025    }
1026    public function setNormalizedPriority($normalizedPriority)
1027    {
1028      $this->normalizedPriority = $normalizedPriority;
1029    }
1030    public function getNormalizedPriority()
1031    {
1032      return $this->normalizedPriority;
1033    }
1034    public function setPlayableSequenceId($playableSequenceId)
1035    {
1036      $this->playableSequenceId = $playableSequenceId;
1037    }
1038    public function getPlayableSequenceId()
1039    {
1040      return $this->playableSequenceId;
1041    }
1042    public function setPphNames($pphNames)
1043    {
1044      $this->pphNames = $pphNames;
1045    }
1046    public function getPphNames()
1047    {
1048      return $this->pphNames;
1049    }
1050    public function setPresentationId($presentationId)
1051    {
1052      $this->presentationId = $presentationId;
1053    }
1054    public function getPresentationId()
1055    {
1056      return $this->presentationId;
1057    }
1058    public function setPriority($priority)
1059    {
1060      $this->priority = $priority;
1061    }
1062    public function getPriority()
1063    {
1064      return $this->priority;
1065    }
1066    public function setStatus($status)
1067    {
1068      $this->status = $status;
1069    }
1070    public function getStatus()
1071    {
1072      return $this->status;
1073    }
1074    public function setStudioName($studioName)
1075    {
1076      $this->studioName = $studioName;
1077    }
1078    public function getStudioName()
1079    {
1080      return $this->studioName;
1081    }
1082    public function setTitleLevelEidr($titleLevelEidr)
1083    {
1084      $this->titleLevelEidr = $titleLevelEidr;
1085    }
1086    public function getTitleLevelEidr()
1087    {
1088      return $this->titleLevelEidr;
1089    }
1090    public function setTrailerId($trailerId)
1091    {
1092      $this->trailerId = $trailerId;
1093    }
1094    public function getTrailerId()
1095    {
1096      return $this->trailerId;
1097    }
1098    public function setType($type)
1099    {
1100      $this->type = $type;
1101    }
1102    public function getType()
1103    {
1104      return $this->type;
1105    }
1106    public function setVideoId($videoId)
1107    {
1108      $this->videoId = $videoId;
1109    }
1110    public function getVideoId()
1111    {
1112      return $this->videoId;
1113    }
1114  }
1115  
1116  class Google_Service_Playmoviespartner_ListAvailsResponse extends Google_Collection
1117  {
1118    protected $collection_key = 'avails';
1119    protected $internal_gapi_mappings = array(
1120    );
1121    protected $availsType = 'Google_Service_Playmoviespartner_Avail';
1122    protected $availsDataType = 'array';
1123    public $nextPageToken;
1124  
1125  
1126    public function setAvails($avails)
1127    {
1128      $this->avails = $avails;
1129    }
1130    public function getAvails()
1131    {
1132      return $this->avails;
1133    }
1134    public function setNextPageToken($nextPageToken)
1135    {
1136      $this->nextPageToken = $nextPageToken;
1137    }
1138    public function getNextPageToken()
1139    {
1140      return $this->nextPageToken;
1141    }
1142  }
1143  
1144  class Google_Service_Playmoviespartner_ListExperienceLocalesResponse extends Google_Collection
1145  {
1146    protected $collection_key = 'experienceLocales';
1147    protected $internal_gapi_mappings = array(
1148    );
1149    protected $experienceLocalesType = 'Google_Service_Playmoviespartner_ExperienceLocale';
1150    protected $experienceLocalesDataType = 'array';
1151    public $nextPageToken;
1152  
1153  
1154    public function setExperienceLocales($experienceLocales)
1155    {
1156      $this->experienceLocales = $experienceLocales;
1157    }
1158    public function getExperienceLocales()
1159    {
1160      return $this->experienceLocales;
1161    }
1162    public function setNextPageToken($nextPageToken)
1163    {
1164      $this->nextPageToken = $nextPageToken;
1165    }
1166    public function getNextPageToken()
1167    {
1168      return $this->nextPageToken;
1169    }
1170  }
1171  
1172  class Google_Service_Playmoviespartner_ListOrdersResponse extends Google_Collection
1173  {
1174    protected $collection_key = 'orders';
1175    protected $internal_gapi_mappings = array(
1176    );
1177    public $nextPageToken;
1178    protected $ordersType = 'Google_Service_Playmoviespartner_Order';
1179    protected $ordersDataType = 'array';
1180  
1181  
1182    public function setNextPageToken($nextPageToken)
1183    {
1184      $this->nextPageToken = $nextPageToken;
1185    }
1186    public function getNextPageToken()
1187    {
1188      return $this->nextPageToken;
1189    }
1190    public function setOrders($orders)
1191    {
1192      $this->orders = $orders;
1193    }
1194    public function getOrders()
1195    {
1196      return $this->orders;
1197    }
1198  }
1199  
1200  class Google_Service_Playmoviespartner_ListStoreInfosResponse extends Google_Collection
1201  {
1202    protected $collection_key = 'storeInfos';
1203    protected $internal_gapi_mappings = array(
1204    );
1205    public $nextPageToken;
1206    protected $storeInfosType = 'Google_Service_Playmoviespartner_StoreInfo';
1207    protected $storeInfosDataType = 'array';
1208  
1209  
1210    public function setNextPageToken($nextPageToken)
1211    {
1212      $this->nextPageToken = $nextPageToken;
1213    }
1214    public function getNextPageToken()
1215    {
1216      return $this->nextPageToken;
1217    }
1218    public function setStoreInfos($storeInfos)
1219    {
1220      $this->storeInfos = $storeInfos;
1221    }
1222    public function getStoreInfos()
1223    {
1224      return $this->storeInfos;
1225    }
1226  }
1227  
1228  class Google_Service_Playmoviespartner_Order extends Google_Collection
1229  {
1230    protected $collection_key = 'countries';
1231    protected $internal_gapi_mappings = array(
1232    );
1233    public $approvedTime;
1234    public $channelId;
1235    public $channelName;
1236    public $countries;
1237    public $customId;
1238    public $earliestAvailStartTime;
1239    public $episodeName;
1240    public $legacyPriority;
1241    public $name;
1242    public $normalizedPriority;
1243    public $orderId;
1244    public $orderedTime;
1245    public $pphName;
1246    public $priority;
1247    public $receivedTime;
1248    public $rejectionNote;
1249    public $seasonName;
1250    public $showName;
1251    public $status;
1252    public $statusDetail;
1253    public $studioName;
1254    public $type;
1255    public $videoId;
1256  
1257  
1258    public function setApprovedTime($approvedTime)
1259    {
1260      $this->approvedTime = $approvedTime;
1261    }
1262    public function getApprovedTime()
1263    {
1264      return $this->approvedTime;
1265    }
1266    public function setChannelId($channelId)
1267    {
1268      $this->channelId = $channelId;
1269    }
1270    public function getChannelId()
1271    {
1272      return $this->channelId;
1273    }
1274    public function setChannelName($channelName)
1275    {
1276      $this->channelName = $channelName;
1277    }
1278    public function getChannelName()
1279    {
1280      return $this->channelName;
1281    }
1282    public function setCountries($countries)
1283    {
1284      $this->countries = $countries;
1285    }
1286    public function getCountries()
1287    {
1288      return $this->countries;
1289    }
1290    public function setCustomId($customId)
1291    {
1292      $this->customId = $customId;
1293    }
1294    public function getCustomId()
1295    {
1296      return $this->customId;
1297    }
1298    public function setEarliestAvailStartTime($earliestAvailStartTime)
1299    {
1300      $this->earliestAvailStartTime = $earliestAvailStartTime;
1301    }
1302    public function getEarliestAvailStartTime()
1303    {
1304      return $this->earliestAvailStartTime;
1305    }
1306    public function setEpisodeName($episodeName)
1307    {
1308      $this->episodeName = $episodeName;
1309    }
1310    public function getEpisodeName()
1311    {
1312      return $this->episodeName;
1313    }
1314    public function setLegacyPriority($legacyPriority)
1315    {
1316      $this->legacyPriority = $legacyPriority;
1317    }
1318    public function getLegacyPriority()
1319    {
1320      return $this->legacyPriority;
1321    }
1322    public function setName($name)
1323    {
1324      $this->name = $name;
1325    }
1326    public function getName()
1327    {
1328      return $this->name;
1329    }
1330    public function setNormalizedPriority($normalizedPriority)
1331    {
1332      $this->normalizedPriority = $normalizedPriority;
1333    }
1334    public function getNormalizedPriority()
1335    {
1336      return $this->normalizedPriority;
1337    }
1338    public function setOrderId($orderId)
1339    {
1340      $this->orderId = $orderId;
1341    }
1342    public function getOrderId()
1343    {
1344      return $this->orderId;
1345    }
1346    public function setOrderedTime($orderedTime)
1347    {
1348      $this->orderedTime = $orderedTime;
1349    }
1350    public function getOrderedTime()
1351    {
1352      return $this->orderedTime;
1353    }
1354    public function setPphName($pphName)
1355    {
1356      $this->pphName = $pphName;
1357    }
1358    public function getPphName()
1359    {
1360      return $this->pphName;
1361    }
1362    public function setPriority($priority)
1363    {
1364      $this->priority = $priority;
1365    }
1366    public function getPriority()
1367    {
1368      return $this->priority;
1369    }
1370    public function setReceivedTime($receivedTime)
1371    {
1372      $this->receivedTime = $receivedTime;
1373    }
1374    public function getReceivedTime()
1375    {
1376      return $this->receivedTime;
1377    }
1378    public function setRejectionNote($rejectionNote)
1379    {
1380      $this->rejectionNote = $rejectionNote;
1381    }
1382    public function getRejectionNote()
1383    {
1384      return $this->rejectionNote;
1385    }
1386    public function setSeasonName($seasonName)
1387    {
1388      $this->seasonName = $seasonName;
1389    }
1390    public function getSeasonName()
1391    {
1392      return $this->seasonName;
1393    }
1394    public function setShowName($showName)
1395    {
1396      $this->showName = $showName;
1397    }
1398    public function getShowName()
1399    {
1400      return $this->showName;
1401    }
1402    public function setStatus($status)
1403    {
1404      $this->status = $status;
1405    }
1406    public function getStatus()
1407    {
1408      return $this->status;
1409    }
1410    public function setStatusDetail($statusDetail)
1411    {
1412      $this->statusDetail = $statusDetail;
1413    }
1414    public function getStatusDetail()
1415    {
1416      return $this->statusDetail;
1417    }
1418    public function setStudioName($studioName)
1419    {
1420      $this->studioName = $studioName;
1421    }
1422    public function getStudioName()
1423    {
1424      return $this->studioName;
1425    }
1426    public function setType($type)
1427    {
1428      $this->type = $type;
1429    }
1430    public function getType()
1431    {
1432      return $this->type;
1433    }
1434    public function setVideoId($videoId)
1435    {
1436      $this->videoId = $videoId;
1437    }
1438    public function getVideoId()
1439    {
1440      return $this->videoId;
1441    }
1442  }
1443  
1444  class Google_Service_Playmoviespartner_StoreInfo extends Google_Collection
1445  {
1446    protected $collection_key = 'subtitles';
1447    protected $internal_gapi_mappings = array(
1448    );
1449    public $audioTracks;
1450    public $country;
1451    public $editLevelEidr;
1452    public $episodeNumber;
1453    public $hasAudio51;
1454    public $hasEstOffer;
1455    public $hasHdOffer;
1456    public $hasInfoCards;
1457    public $hasSdOffer;
1458    public $hasVodOffer;
1459    public $liveTime;
1460    public $mid;
1461    public $name;
1462    public $pphNames;
1463    public $seasonId;
1464    public $seasonName;
1465    public $seasonNumber;
1466    public $showId;
1467    public $showName;
1468    public $studioName;
1469    public $subtitles;
1470    public $titleLevelEidr;
1471    public $trailerId;
1472    public $type;
1473    public $videoId;
1474  
1475  
1476    public function setAudioTracks($audioTracks)
1477    {
1478      $this->audioTracks = $audioTracks;
1479    }
1480    public function getAudioTracks()
1481    {
1482      return $this->audioTracks;
1483    }
1484    public function setCountry($country)
1485    {
1486      $this->country = $country;
1487    }
1488    public function getCountry()
1489    {
1490      return $this->country;
1491    }
1492    public function setEditLevelEidr($editLevelEidr)
1493    {
1494      $this->editLevelEidr = $editLevelEidr;
1495    }
1496    public function getEditLevelEidr()
1497    {
1498      return $this->editLevelEidr;
1499    }
1500    public function setEpisodeNumber($episodeNumber)
1501    {
1502      $this->episodeNumber = $episodeNumber;
1503    }
1504    public function getEpisodeNumber()
1505    {
1506      return $this->episodeNumber;
1507    }
1508    public function setHasAudio51($hasAudio51)
1509    {
1510      $this->hasAudio51 = $hasAudio51;
1511    }
1512    public function getHasAudio51()
1513    {
1514      return $this->hasAudio51;
1515    }
1516    public function setHasEstOffer($hasEstOffer)
1517    {
1518      $this->hasEstOffer = $hasEstOffer;
1519    }
1520    public function getHasEstOffer()
1521    {
1522      return $this->hasEstOffer;
1523    }
1524    public function setHasHdOffer($hasHdOffer)
1525    {
1526      $this->hasHdOffer = $hasHdOffer;
1527    }
1528    public function getHasHdOffer()
1529    {
1530      return $this->hasHdOffer;
1531    }
1532    public function setHasInfoCards($hasInfoCards)
1533    {
1534      $this->hasInfoCards = $hasInfoCards;
1535    }
1536    public function getHasInfoCards()
1537    {
1538      return $this->hasInfoCards;
1539    }
1540    public function setHasSdOffer($hasSdOffer)
1541    {
1542      $this->hasSdOffer = $hasSdOffer;
1543    }
1544    public function getHasSdOffer()
1545    {
1546      return $this->hasSdOffer;
1547    }
1548    public function setHasVodOffer($hasVodOffer)
1549    {
1550      $this->hasVodOffer = $hasVodOffer;
1551    }
1552    public function getHasVodOffer()
1553    {
1554      return $this->hasVodOffer;
1555    }
1556    public function setLiveTime($liveTime)
1557    {
1558      $this->liveTime = $liveTime;
1559    }
1560    public function getLiveTime()
1561    {
1562      return $this->liveTime;
1563    }
1564    public function setMid($mid)
1565    {
1566      $this->mid = $mid;
1567    }
1568    public function getMid()
1569    {
1570      return $this->mid;
1571    }
1572    public function setName($name)
1573    {
1574      $this->name = $name;
1575    }
1576    public function getName()
1577    {
1578      return $this->name;
1579    }
1580    public function setPphNames($pphNames)
1581    {
1582      $this->pphNames = $pphNames;
1583    }
1584    public function getPphNames()
1585    {
1586      return $this->pphNames;
1587    }
1588    public function setSeasonId($seasonId)
1589    {
1590      $this->seasonId = $seasonId;
1591    }
1592    public function getSeasonId()
1593    {
1594      return $this->seasonId;
1595    }
1596    public function setSeasonName($seasonName)
1597    {
1598      $this->seasonName = $seasonName;
1599    }
1600    public function getSeasonName()
1601    {
1602      return $this->seasonName;
1603    }
1604    public function setSeasonNumber($seasonNumber)
1605    {
1606      $this->seasonNumber = $seasonNumber;
1607    }
1608    public function getSeasonNumber()
1609    {
1610      return $this->seasonNumber;
1611    }
1612    public function setShowId($showId)
1613    {
1614      $this->showId = $showId;
1615    }
1616    public function getShowId()
1617    {
1618      return $this->showId;
1619    }
1620    public function setShowName($showName)
1621    {
1622      $this->showName = $showName;
1623    }
1624    public function getShowName()
1625    {
1626      return $this->showName;
1627    }
1628    public function setStudioName($studioName)
1629    {
1630      $this->studioName = $studioName;
1631    }
1632    public function getStudioName()
1633    {
1634      return $this->studioName;
1635    }
1636    public function setSubtitles($subtitles)
1637    {
1638      $this->subtitles = $subtitles;
1639    }
1640    public function getSubtitles()
1641    {
1642      return $this->subtitles;
1643    }
1644    public function setTitleLevelEidr($titleLevelEidr)
1645    {
1646      $this->titleLevelEidr = $titleLevelEidr;
1647    }
1648    public function getTitleLevelEidr()
1649    {
1650      return $this->titleLevelEidr;
1651    }
1652    public function setTrailerId($trailerId)
1653    {
1654      $this->trailerId = $trailerId;
1655    }
1656    public function getTrailerId()
1657    {
1658      return $this->trailerId;
1659    }
1660    public function setType($type)
1661    {
1662      $this->type = $type;
1663    }
1664    public function getType()
1665    {
1666      return $this->type;
1667    }
1668    public function setVideoId($videoId)
1669    {
1670      $this->videoId = $videoId;
1671    }
1672    public function getVideoId()
1673    {
1674      return $this->videoId;
1675    }
1676  }