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 UserComment extends \Google\Model
21{
22  /**
23   * @var int
24   */
25  public $androidOsVersion;
26  /**
27   * @var int
28   */
29  public $appVersionCode;
30  /**
31   * @var string
32   */
33  public $appVersionName;
34  /**
35   * @var string
36   */
37  public $device;
38  protected $deviceMetadataType = DeviceMetadata::class;
39  protected $deviceMetadataDataType = '';
40  protected $lastModifiedType = Timestamp::class;
41  protected $lastModifiedDataType = '';
42  /**
43   * @var string
44   */
45  public $originalText;
46  /**
47   * @var string
48   */
49  public $reviewerLanguage;
50  /**
51   * @var int
52   */
53  public $starRating;
54  /**
55   * @var string
56   */
57  public $text;
58  /**
59   * @var int
60   */
61  public $thumbsDownCount;
62  /**
63   * @var int
64   */
65  public $thumbsUpCount;
66
67  /**
68   * @param int
69   */
70  public function setAndroidOsVersion($androidOsVersion)
71  {
72    $this->androidOsVersion = $androidOsVersion;
73  }
74  /**
75   * @return int
76   */
77  public function getAndroidOsVersion()
78  {
79    return $this->androidOsVersion;
80  }
81  /**
82   * @param int
83   */
84  public function setAppVersionCode($appVersionCode)
85  {
86    $this->appVersionCode = $appVersionCode;
87  }
88  /**
89   * @return int
90   */
91  public function getAppVersionCode()
92  {
93    return $this->appVersionCode;
94  }
95  /**
96   * @param string
97   */
98  public function setAppVersionName($appVersionName)
99  {
100    $this->appVersionName = $appVersionName;
101  }
102  /**
103   * @return string
104   */
105  public function getAppVersionName()
106  {
107    return $this->appVersionName;
108  }
109  /**
110   * @param string
111   */
112  public function setDevice($device)
113  {
114    $this->device = $device;
115  }
116  /**
117   * @return string
118   */
119  public function getDevice()
120  {
121    return $this->device;
122  }
123  /**
124   * @param DeviceMetadata
125   */
126  public function setDeviceMetadata(DeviceMetadata $deviceMetadata)
127  {
128    $this->deviceMetadata = $deviceMetadata;
129  }
130  /**
131   * @return DeviceMetadata
132   */
133  public function getDeviceMetadata()
134  {
135    return $this->deviceMetadata;
136  }
137  /**
138   * @param Timestamp
139   */
140  public function setLastModified(Timestamp $lastModified)
141  {
142    $this->lastModified = $lastModified;
143  }
144  /**
145   * @return Timestamp
146   */
147  public function getLastModified()
148  {
149    return $this->lastModified;
150  }
151  /**
152   * @param string
153   */
154  public function setOriginalText($originalText)
155  {
156    $this->originalText = $originalText;
157  }
158  /**
159   * @return string
160   */
161  public function getOriginalText()
162  {
163    return $this->originalText;
164  }
165  /**
166   * @param string
167   */
168  public function setReviewerLanguage($reviewerLanguage)
169  {
170    $this->reviewerLanguage = $reviewerLanguage;
171  }
172  /**
173   * @return string
174   */
175  public function getReviewerLanguage()
176  {
177    return $this->reviewerLanguage;
178  }
179  /**
180   * @param int
181   */
182  public function setStarRating($starRating)
183  {
184    $this->starRating = $starRating;
185  }
186  /**
187   * @return int
188   */
189  public function getStarRating()
190  {
191    return $this->starRating;
192  }
193  /**
194   * @param string
195   */
196  public function setText($text)
197  {
198    $this->text = $text;
199  }
200  /**
201   * @return string
202   */
203  public function getText()
204  {
205    return $this->text;
206  }
207  /**
208   * @param int
209   */
210  public function setThumbsDownCount($thumbsDownCount)
211  {
212    $this->thumbsDownCount = $thumbsDownCount;
213  }
214  /**
215   * @return int
216   */
217  public function getThumbsDownCount()
218  {
219    return $this->thumbsDownCount;
220  }
221  /**
222   * @param int
223   */
224  public function setThumbsUpCount($thumbsUpCount)
225  {
226    $this->thumbsUpCount = $thumbsUpCount;
227  }
228  /**
229   * @return int
230   */
231  public function getThumbsUpCount()
232  {
233    return $this->thumbsUpCount;
234  }
235}
236
237// Adding a class alias for backwards compatibility with the previous class name.
238class_alias(UserComment::class, 'Google_Service_AndroidPublisher_UserComment');
239