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 Channel extends \Google\Model
21{
22  protected $auditDetailsType = ChannelAuditDetails::class;
23  protected $auditDetailsDataType = '';
24  protected $brandingSettingsType = ChannelBrandingSettings::class;
25  protected $brandingSettingsDataType = '';
26  protected $contentDetailsType = ChannelContentDetails::class;
27  protected $contentDetailsDataType = '';
28  protected $contentOwnerDetailsType = ChannelContentOwnerDetails::class;
29  protected $contentOwnerDetailsDataType = '';
30  protected $conversionPingsType = ChannelConversionPings::class;
31  protected $conversionPingsDataType = '';
32  /**
33   * @var string
34   */
35  public $etag;
36  /**
37   * @var string
38   */
39  public $id;
40  /**
41   * @var string
42   */
43  public $kind;
44  protected $localizationsType = ChannelLocalization::class;
45  protected $localizationsDataType = 'map';
46  protected $snippetType = ChannelSnippet::class;
47  protected $snippetDataType = '';
48  protected $statisticsType = ChannelStatistics::class;
49  protected $statisticsDataType = '';
50  protected $statusType = ChannelStatus::class;
51  protected $statusDataType = '';
52  protected $topicDetailsType = ChannelTopicDetails::class;
53  protected $topicDetailsDataType = '';
54
55  /**
56   * @param ChannelAuditDetails
57   */
58  public function setAuditDetails(ChannelAuditDetails $auditDetails)
59  {
60    $this->auditDetails = $auditDetails;
61  }
62  /**
63   * @return ChannelAuditDetails
64   */
65  public function getAuditDetails()
66  {
67    return $this->auditDetails;
68  }
69  /**
70   * @param ChannelBrandingSettings
71   */
72  public function setBrandingSettings(ChannelBrandingSettings $brandingSettings)
73  {
74    $this->brandingSettings = $brandingSettings;
75  }
76  /**
77   * @return ChannelBrandingSettings
78   */
79  public function getBrandingSettings()
80  {
81    return $this->brandingSettings;
82  }
83  /**
84   * @param ChannelContentDetails
85   */
86  public function setContentDetails(ChannelContentDetails $contentDetails)
87  {
88    $this->contentDetails = $contentDetails;
89  }
90  /**
91   * @return ChannelContentDetails
92   */
93  public function getContentDetails()
94  {
95    return $this->contentDetails;
96  }
97  /**
98   * @param ChannelContentOwnerDetails
99   */
100  public function setContentOwnerDetails(ChannelContentOwnerDetails $contentOwnerDetails)
101  {
102    $this->contentOwnerDetails = $contentOwnerDetails;
103  }
104  /**
105   * @return ChannelContentOwnerDetails
106   */
107  public function getContentOwnerDetails()
108  {
109    return $this->contentOwnerDetails;
110  }
111  /**
112   * @param ChannelConversionPings
113   */
114  public function setConversionPings(ChannelConversionPings $conversionPings)
115  {
116    $this->conversionPings = $conversionPings;
117  }
118  /**
119   * @return ChannelConversionPings
120   */
121  public function getConversionPings()
122  {
123    return $this->conversionPings;
124  }
125  /**
126   * @param string
127   */
128  public function setEtag($etag)
129  {
130    $this->etag = $etag;
131  }
132  /**
133   * @return string
134   */
135  public function getEtag()
136  {
137    return $this->etag;
138  }
139  /**
140   * @param string
141   */
142  public function setId($id)
143  {
144    $this->id = $id;
145  }
146  /**
147   * @return string
148   */
149  public function getId()
150  {
151    return $this->id;
152  }
153  /**
154   * @param string
155   */
156  public function setKind($kind)
157  {
158    $this->kind = $kind;
159  }
160  /**
161   * @return string
162   */
163  public function getKind()
164  {
165    return $this->kind;
166  }
167  /**
168   * @param ChannelLocalization[]
169   */
170  public function setLocalizations($localizations)
171  {
172    $this->localizations = $localizations;
173  }
174  /**
175   * @return ChannelLocalization[]
176   */
177  public function getLocalizations()
178  {
179    return $this->localizations;
180  }
181  /**
182   * @param ChannelSnippet
183   */
184  public function setSnippet(ChannelSnippet $snippet)
185  {
186    $this->snippet = $snippet;
187  }
188  /**
189   * @return ChannelSnippet
190   */
191  public function getSnippet()
192  {
193    return $this->snippet;
194  }
195  /**
196   * @param ChannelStatistics
197   */
198  public function setStatistics(ChannelStatistics $statistics)
199  {
200    $this->statistics = $statistics;
201  }
202  /**
203   * @return ChannelStatistics
204   */
205  public function getStatistics()
206  {
207    return $this->statistics;
208  }
209  /**
210   * @param ChannelStatus
211   */
212  public function setStatus(ChannelStatus $status)
213  {
214    $this->status = $status;
215  }
216  /**
217   * @return ChannelStatus
218   */
219  public function getStatus()
220  {
221    return $this->status;
222  }
223  /**
224   * @param ChannelTopicDetails
225   */
226  public function setTopicDetails(ChannelTopicDetails $topicDetails)
227  {
228    $this->topicDetails = $topicDetails;
229  }
230  /**
231   * @return ChannelTopicDetails
232   */
233  public function getTopicDetails()
234  {
235    return $this->topicDetails;
236  }
237}
238
239// Adding a class alias for backwards compatibility with the previous class name.
240class_alias(Channel::class, 'Google_Service_YouTube_Channel');
241