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\Analytics;
19
20class CustomDataSource extends \Google\Collection
21{
22  protected $collection_key = 'schema';
23  /**
24   * @var string
25   */
26  public $accountId;
27  protected $childLinkType = CustomDataSourceChildLink::class;
28  protected $childLinkDataType = '';
29  /**
30   * @var string
31   */
32  public $created;
33  /**
34   * @var string
35   */
36  public $description;
37  /**
38   * @var string
39   */
40  public $id;
41  /**
42   * @var string
43   */
44  public $importBehavior;
45  /**
46   * @var string
47   */
48  public $kind;
49  /**
50   * @var string
51   */
52  public $name;
53  protected $parentLinkType = CustomDataSourceParentLink::class;
54  protected $parentLinkDataType = '';
55  /**
56   * @var string[]
57   */
58  public $profilesLinked;
59  /**
60   * @var string[]
61   */
62  public $schema;
63  /**
64   * @var string
65   */
66  public $selfLink;
67  /**
68   * @var string
69   */
70  public $type;
71  /**
72   * @var string
73   */
74  public $updated;
75  /**
76   * @var string
77   */
78  public $uploadType;
79  /**
80   * @var string
81   */
82  public $webPropertyId;
83
84  /**
85   * @param string
86   */
87  public function setAccountId($accountId)
88  {
89    $this->accountId = $accountId;
90  }
91  /**
92   * @return string
93   */
94  public function getAccountId()
95  {
96    return $this->accountId;
97  }
98  /**
99   * @param CustomDataSourceChildLink
100   */
101  public function setChildLink(CustomDataSourceChildLink $childLink)
102  {
103    $this->childLink = $childLink;
104  }
105  /**
106   * @return CustomDataSourceChildLink
107   */
108  public function getChildLink()
109  {
110    return $this->childLink;
111  }
112  /**
113   * @param string
114   */
115  public function setCreated($created)
116  {
117    $this->created = $created;
118  }
119  /**
120   * @return string
121   */
122  public function getCreated()
123  {
124    return $this->created;
125  }
126  /**
127   * @param string
128   */
129  public function setDescription($description)
130  {
131    $this->description = $description;
132  }
133  /**
134   * @return string
135   */
136  public function getDescription()
137  {
138    return $this->description;
139  }
140  /**
141   * @param string
142   */
143  public function setId($id)
144  {
145    $this->id = $id;
146  }
147  /**
148   * @return string
149   */
150  public function getId()
151  {
152    return $this->id;
153  }
154  /**
155   * @param string
156   */
157  public function setImportBehavior($importBehavior)
158  {
159    $this->importBehavior = $importBehavior;
160  }
161  /**
162   * @return string
163   */
164  public function getImportBehavior()
165  {
166    return $this->importBehavior;
167  }
168  /**
169   * @param string
170   */
171  public function setKind($kind)
172  {
173    $this->kind = $kind;
174  }
175  /**
176   * @return string
177   */
178  public function getKind()
179  {
180    return $this->kind;
181  }
182  /**
183   * @param string
184   */
185  public function setName($name)
186  {
187    $this->name = $name;
188  }
189  /**
190   * @return string
191   */
192  public function getName()
193  {
194    return $this->name;
195  }
196  /**
197   * @param CustomDataSourceParentLink
198   */
199  public function setParentLink(CustomDataSourceParentLink $parentLink)
200  {
201    $this->parentLink = $parentLink;
202  }
203  /**
204   * @return CustomDataSourceParentLink
205   */
206  public function getParentLink()
207  {
208    return $this->parentLink;
209  }
210  /**
211   * @param string[]
212   */
213  public function setProfilesLinked($profilesLinked)
214  {
215    $this->profilesLinked = $profilesLinked;
216  }
217  /**
218   * @return string[]
219   */
220  public function getProfilesLinked()
221  {
222    return $this->profilesLinked;
223  }
224  /**
225   * @param string[]
226   */
227  public function setSchema($schema)
228  {
229    $this->schema = $schema;
230  }
231  /**
232   * @return string[]
233   */
234  public function getSchema()
235  {
236    return $this->schema;
237  }
238  /**
239   * @param string
240   */
241  public function setSelfLink($selfLink)
242  {
243    $this->selfLink = $selfLink;
244  }
245  /**
246   * @return string
247   */
248  public function getSelfLink()
249  {
250    return $this->selfLink;
251  }
252  /**
253   * @param string
254   */
255  public function setType($type)
256  {
257    $this->type = $type;
258  }
259  /**
260   * @return string
261   */
262  public function getType()
263  {
264    return $this->type;
265  }
266  /**
267   * @param string
268   */
269  public function setUpdated($updated)
270  {
271    $this->updated = $updated;
272  }
273  /**
274   * @return string
275   */
276  public function getUpdated()
277  {
278    return $this->updated;
279  }
280  /**
281   * @param string
282   */
283  public function setUploadType($uploadType)
284  {
285    $this->uploadType = $uploadType;
286  }
287  /**
288   * @return string
289   */
290  public function getUploadType()
291  {
292    return $this->uploadType;
293  }
294  /**
295   * @param string
296   */
297  public function setWebPropertyId($webPropertyId)
298  {
299    $this->webPropertyId = $webPropertyId;
300  }
301  /**
302   * @return string
303   */
304  public function getWebPropertyId()
305  {
306    return $this->webPropertyId;
307  }
308}
309
310// Adding a class alias for backwards compatibility with the previous class name.
311class_alias(CustomDataSource::class, 'Google_Service_Analytics_CustomDataSource');
312