<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\AndroidPublisher;

class TrackRelease extends \Google\Collection
{
  protected $collection_key = 'versionCodes';
  protected $countryTargetingType = CountryTargeting::class;
  protected $countryTargetingDataType = '';
  public $countryTargeting;
  /**
   * @var int
   */
  public $inAppUpdatePriority;
  /**
   * @var string
   */
  public $name;
  protected $releaseNotesType = LocalizedText::class;
  protected $releaseNotesDataType = 'array';
  public $releaseNotes;
  /**
   * @var string
   */
  public $status;
  public $userFraction;
  /**
   * @var string[]
   */
  public $versionCodes;

  /**
   * @param CountryTargeting
   */
  public function setCountryTargeting(CountryTargeting $countryTargeting)
  {
    $this->countryTargeting = $countryTargeting;
  }
  /**
   * @return CountryTargeting
   */
  public function getCountryTargeting()
  {
    return $this->countryTargeting;
  }
  /**
   * @param int
   */
  public function setInAppUpdatePriority($inAppUpdatePriority)
  {
    $this->inAppUpdatePriority = $inAppUpdatePriority;
  }
  /**
   * @return int
   */
  public function getInAppUpdatePriority()
  {
    return $this->inAppUpdatePriority;
  }
  /**
   * @param string
   */
  public function setName($name)
  {
    $this->name = $name;
  }
  /**
   * @return string
   */
  public function getName()
  {
    return $this->name;
  }
  /**
   * @param LocalizedText[]
   */
  public function setReleaseNotes($releaseNotes)
  {
    $this->releaseNotes = $releaseNotes;
  }
  /**
   * @return LocalizedText[]
   */
  public function getReleaseNotes()
  {
    return $this->releaseNotes;
  }
  /**
   * @param string
   */
  public function setStatus($status)
  {
    $this->status = $status;
  }
  /**
   * @return string
   */
  public function getStatus()
  {
    return $this->status;
  }
  public function setUserFraction($userFraction)
  {
    $this->userFraction = $userFraction;
  }
  public function getUserFraction()
  {
    return $this->userFraction;
  }
  /**
   * @param string[]
   */
  public function setVersionCodes($versionCodes)
  {
    $this->versionCodes = $versionCodes;
  }
  /**
   * @return string[]
   */
  public function getVersionCodes()
  {
    return $this->versionCodes;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(TrackRelease::class, 'Google_Service_AndroidPublisher_TrackRelease');
