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\YouTube;
19
20class CommentSnippet extends \Google\Model
21{
22  protected $authorChannelIdType = CommentSnippetAuthorChannelId::class;
23  protected $authorChannelIdDataType = '';
24  /**
25   * @var string
26   */
27  public $authorChannelUrl;
28  /**
29   * @var string
30   */
31  public $authorDisplayName;
32  /**
33   * @var string
34   */
35  public $authorProfileImageUrl;
36  /**
37   * @var bool
38   */
39  public $canRate;
40  /**
41   * @var string
42   */
43  public $channelId;
44  /**
45   * @var string
46   */
47  public $likeCount;
48  /**
49   * @var string
50   */
51  public $moderationStatus;
52  /**
53   * @var string
54   */
55  public $parentId;
56  /**
57   * @var string
58   */
59  public $publishedAt;
60  /**
61   * @var string
62   */
63  public $textDisplay;
64  /**
65   * @var string
66   */
67  public $textOriginal;
68  /**
69   * @var string
70   */
71  public $updatedAt;
72  /**
73   * @var string
74   */
75  public $videoId;
76  /**
77   * @var string
78   */
79  public $viewerRating;
80
81  /**
82   * @param CommentSnippetAuthorChannelId
83   */
84  public function setAuthorChannelId(CommentSnippetAuthorChannelId $authorChannelId)
85  {
86    $this->authorChannelId = $authorChannelId;
87  }
88  /**
89   * @return CommentSnippetAuthorChannelId
90   */
91  public function getAuthorChannelId()
92  {
93    return $this->authorChannelId;
94  }
95  /**
96   * @param string
97   */
98  public function setAuthorChannelUrl($authorChannelUrl)
99  {
100    $this->authorChannelUrl = $authorChannelUrl;
101  }
102  /**
103   * @return string
104   */
105  public function getAuthorChannelUrl()
106  {
107    return $this->authorChannelUrl;
108  }
109  /**
110   * @param string
111   */
112  public function setAuthorDisplayName($authorDisplayName)
113  {
114    $this->authorDisplayName = $authorDisplayName;
115  }
116  /**
117   * @return string
118   */
119  public function getAuthorDisplayName()
120  {
121    return $this->authorDisplayName;
122  }
123  /**
124   * @param string
125   */
126  public function setAuthorProfileImageUrl($authorProfileImageUrl)
127  {
128    $this->authorProfileImageUrl = $authorProfileImageUrl;
129  }
130  /**
131   * @return string
132   */
133  public function getAuthorProfileImageUrl()
134  {
135    return $this->authorProfileImageUrl;
136  }
137  /**
138   * @param bool
139   */
140  public function setCanRate($canRate)
141  {
142    $this->canRate = $canRate;
143  }
144  /**
145   * @return bool
146   */
147  public function getCanRate()
148  {
149    return $this->canRate;
150  }
151  /**
152   * @param string
153   */
154  public function setChannelId($channelId)
155  {
156    $this->channelId = $channelId;
157  }
158  /**
159   * @return string
160   */
161  public function getChannelId()
162  {
163    return $this->channelId;
164  }
165  /**
166   * @param string
167   */
168  public function setLikeCount($likeCount)
169  {
170    $this->likeCount = $likeCount;
171  }
172  /**
173   * @return string
174   */
175  public function getLikeCount()
176  {
177    return $this->likeCount;
178  }
179  /**
180   * @param string
181   */
182  public function setModerationStatus($moderationStatus)
183  {
184    $this->moderationStatus = $moderationStatus;
185  }
186  /**
187   * @return string
188   */
189  public function getModerationStatus()
190  {
191    return $this->moderationStatus;
192  }
193  /**
194   * @param string
195   */
196  public function setParentId($parentId)
197  {
198    $this->parentId = $parentId;
199  }
200  /**
201   * @return string
202   */
203  public function getParentId()
204  {
205    return $this->parentId;
206  }
207  /**
208   * @param string
209   */
210  public function setPublishedAt($publishedAt)
211  {
212    $this->publishedAt = $publishedAt;
213  }
214  /**
215   * @return string
216   */
217  public function getPublishedAt()
218  {
219    return $this->publishedAt;
220  }
221  /**
222   * @param string
223   */
224  public function setTextDisplay($textDisplay)
225  {
226    $this->textDisplay = $textDisplay;
227  }
228  /**
229   * @return string
230   */
231  public function getTextDisplay()
232  {
233    return $this->textDisplay;
234  }
235  /**
236   * @param string
237   */
238  public function setTextOriginal($textOriginal)
239  {
240    $this->textOriginal = $textOriginal;
241  }
242  /**
243   * @return string
244   */
245  public function getTextOriginal()
246  {
247    return $this->textOriginal;
248  }
249  /**
250   * @param string
251   */
252  public function setUpdatedAt($updatedAt)
253  {
254    $this->updatedAt = $updatedAt;
255  }
256  /**
257   * @return string
258   */
259  public function getUpdatedAt()
260  {
261    return $this->updatedAt;
262  }
263  /**
264   * @param string
265   */
266  public function setVideoId($videoId)
267  {
268    $this->videoId = $videoId;
269  }
270  /**
271   * @return string
272   */
273  public function getVideoId()
274  {
275    return $this->videoId;
276  }
277  /**
278   * @param string
279   */
280  public function setViewerRating($viewerRating)
281  {
282    $this->viewerRating = $viewerRating;
283  }
284  /**
285   * @return string
286   */
287  public function getViewerRating()
288  {
289    return $this->viewerRating;
290  }
291}
292
293// Adding a class alias for backwards compatibility with the previous class name.
294class_alias(CommentSnippet::class, 'Google_Service_YouTube_CommentSnippet');
295