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 
18 namespace Google\Service\Testing;
19 
20 class AndroidVersion extends \Google\Collection
21 {
22   protected $collection_key = 'tags';
23   /**
24    * @var int
25    */
26   public $apiLevel;
27   /**
28    * @var string
29    */
30   public $codeName;
31   protected $distributionType = Distribution::class;
32   protected $distributionDataType = '';
33   /**
34    * @var string
35    */
36   public $id;
37   protected $releaseDateType = Date::class;
38   protected $releaseDateDataType = '';
39   /**
40    * @var string[]
41    */
42   public $tags;
43   /**
44    * @var string
45    */
46   public $versionString;
47 
48   /**
49    * @param int
50    */
51   public function setApiLevel($apiLevel)
52   {
53     $this->apiLevel = $apiLevel;
54   }
55   /**
56    * @return int
57    */
58   public function getApiLevel()
59   {
60     return $this->apiLevel;
61   }
62   /**
63    * @param string
64    */
65   public function setCodeName($codeName)
66   {
67     $this->codeName = $codeName;
68   }
69   /**
70    * @return string
71    */
72   public function getCodeName()
73   {
74     return $this->codeName;
75   }
76   /**
77    * @param Distribution
78    */
79   public function setDistribution(Distribution $distribution)
80   {
81     $this->distribution = $distribution;
82   }
83   /**
84    * @return Distribution
85    */
86   public function getDistribution()
87   {
88     return $this->distribution;
89   }
90   /**
91    * @param string
92    */
93   public function setId($id)
94   {
95     $this->id = $id;
96   }
97   /**
98    * @return string
99    */
100   public function getId()
101   {
102     return $this->id;
103   }
104   /**
105    * @param Date
106    */
107   public function setReleaseDate(Date $releaseDate)
108   {
109     $this->releaseDate = $releaseDate;
110   }
111   /**
112    * @return Date
113    */
114   public function getReleaseDate()
115   {
116     return $this->releaseDate;
117   }
118   /**
119    * @param string[]
120    */
121   public function setTags($tags)
122   {
123     $this->tags = $tags;
124   }
125   /**
126    * @return string[]
127    */
128   public function getTags()
129   {
130     return $this->tags;
131   }
132   /**
133    * @param string
134    */
135   public function setVersionString($versionString)
136   {
137     $this->versionString = $versionString;
138   }
139   /**
140    * @return string
141    */
142   public function getVersionString()
143   {
144     return $this->versionString;
145   }
146 }
147 
148 // Adding a class alias for backwards compatibility with the previous class name.
149 class_alias(AndroidVersion::class, 'Google_Service_Testing_AndroidVersion');
150