1<?php
2/*
3 * Copyright 2014 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
18namespace Google\Service\AndroidPublisher;
19
20class TrackRelease extends \Google\Collection
21{
22  protected $collection_key = 'versionCodes';
23  protected $countryTargetingType = CountryTargeting::class;
24  protected $countryTargetingDataType = '';
25  /**
26   * @var int
27   */
28  public $inAppUpdatePriority;
29  /**
30   * @var string
31   */
32  public $name;
33  protected $releaseNotesType = LocalizedText::class;
34  protected $releaseNotesDataType = 'array';
35  /**
36   * @var string
37   */
38  public $status;
39  public $userFraction;
40  /**
41   * @var string[]
42   */
43  public $versionCodes;
44
45  /**
46   * @param CountryTargeting
47   */
48  public function setCountryTargeting(CountryTargeting $countryTargeting)
49  {
50    $this->countryTargeting = $countryTargeting;
51  }
52  /**
53   * @return CountryTargeting
54   */
55  public function getCountryTargeting()
56  {
57    return $this->countryTargeting;
58  }
59  /**
60   * @param int
61   */
62  public function setInAppUpdatePriority($inAppUpdatePriority)
63  {
64    $this->inAppUpdatePriority = $inAppUpdatePriority;
65  }
66  /**
67   * @return int
68   */
69  public function getInAppUpdatePriority()
70  {
71    return $this->inAppUpdatePriority;
72  }
73  /**
74   * @param string
75   */
76  public function setName($name)
77  {
78    $this->name = $name;
79  }
80  /**
81   * @return string
82   */
83  public function getName()
84  {
85    return $this->name;
86  }
87  /**
88   * @param LocalizedText[]
89   */
90  public function setReleaseNotes($releaseNotes)
91  {
92    $this->releaseNotes = $releaseNotes;
93  }
94  /**
95   * @return LocalizedText[]
96   */
97  public function getReleaseNotes()
98  {
99    return $this->releaseNotes;
100  }
101  /**
102   * @param string
103   */
104  public function setStatus($status)
105  {
106    $this->status = $status;
107  }
108  /**
109   * @return string
110   */
111  public function getStatus()
112  {
113    return $this->status;
114  }
115  public function setUserFraction($userFraction)
116  {
117    $this->userFraction = $userFraction;
118  }
119  public function getUserFraction()
120  {
121    return $this->userFraction;
122  }
123  /**
124   * @param string[]
125   */
126  public function setVersionCodes($versionCodes)
127  {
128    $this->versionCodes = $versionCodes;
129  }
130  /**
131   * @return string[]
132   */
133  public function getVersionCodes()
134  {
135    return $this->versionCodes;
136  }
137}
138
139// Adding a class alias for backwards compatibility with the previous class name.
140class_alias(TrackRelease::class, 'Google_Service_AndroidPublisher_TrackRelease');
141