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\Dfareporting;
19
20class EventTag extends \Google\Collection
21{
22  protected $collection_key = 'siteIds';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $advertiserId;
31  protected $advertiserIdDimensionValueType = DimensionValue::class;
32  protected $advertiserIdDimensionValueDataType = '';
33  /**
34   * @var string
35   */
36  public $campaignId;
37  protected $campaignIdDimensionValueType = DimensionValue::class;
38  protected $campaignIdDimensionValueDataType = '';
39  /**
40   * @var bool
41   */
42  public $enabledByDefault;
43  /**
44   * @var bool
45   */
46  public $excludeFromAdxRequests;
47  /**
48   * @var string
49   */
50  public $id;
51  /**
52   * @var string
53   */
54  public $kind;
55  /**
56   * @var string
57   */
58  public $name;
59  /**
60   * @var string
61   */
62  public $siteFilterType;
63  /**
64   * @var string[]
65   */
66  public $siteIds;
67  /**
68   * @var bool
69   */
70  public $sslCompliant;
71  /**
72   * @var string
73   */
74  public $status;
75  /**
76   * @var string
77   */
78  public $subaccountId;
79  /**
80   * @var string
81   */
82  public $type;
83  /**
84   * @var string
85   */
86  public $url;
87  /**
88   * @var int
89   */
90  public $urlEscapeLevels;
91
92  /**
93   * @param string
94   */
95  public function setAccountId($accountId)
96  {
97    $this->accountId = $accountId;
98  }
99  /**
100   * @return string
101   */
102  public function getAccountId()
103  {
104    return $this->accountId;
105  }
106  /**
107   * @param string
108   */
109  public function setAdvertiserId($advertiserId)
110  {
111    $this->advertiserId = $advertiserId;
112  }
113  /**
114   * @return string
115   */
116  public function getAdvertiserId()
117  {
118    return $this->advertiserId;
119  }
120  /**
121   * @param DimensionValue
122   */
123  public function setAdvertiserIdDimensionValue(DimensionValue $advertiserIdDimensionValue)
124  {
125    $this->advertiserIdDimensionValue = $advertiserIdDimensionValue;
126  }
127  /**
128   * @return DimensionValue
129   */
130  public function getAdvertiserIdDimensionValue()
131  {
132    return $this->advertiserIdDimensionValue;
133  }
134  /**
135   * @param string
136   */
137  public function setCampaignId($campaignId)
138  {
139    $this->campaignId = $campaignId;
140  }
141  /**
142   * @return string
143   */
144  public function getCampaignId()
145  {
146    return $this->campaignId;
147  }
148  /**
149   * @param DimensionValue
150   */
151  public function setCampaignIdDimensionValue(DimensionValue $campaignIdDimensionValue)
152  {
153    $this->campaignIdDimensionValue = $campaignIdDimensionValue;
154  }
155  /**
156   * @return DimensionValue
157   */
158  public function getCampaignIdDimensionValue()
159  {
160    return $this->campaignIdDimensionValue;
161  }
162  /**
163   * @param bool
164   */
165  public function setEnabledByDefault($enabledByDefault)
166  {
167    $this->enabledByDefault = $enabledByDefault;
168  }
169  /**
170   * @return bool
171   */
172  public function getEnabledByDefault()
173  {
174    return $this->enabledByDefault;
175  }
176  /**
177   * @param bool
178   */
179  public function setExcludeFromAdxRequests($excludeFromAdxRequests)
180  {
181    $this->excludeFromAdxRequests = $excludeFromAdxRequests;
182  }
183  /**
184   * @return bool
185   */
186  public function getExcludeFromAdxRequests()
187  {
188    return $this->excludeFromAdxRequests;
189  }
190  /**
191   * @param string
192   */
193  public function setId($id)
194  {
195    $this->id = $id;
196  }
197  /**
198   * @return string
199   */
200  public function getId()
201  {
202    return $this->id;
203  }
204  /**
205   * @param string
206   */
207  public function setKind($kind)
208  {
209    $this->kind = $kind;
210  }
211  /**
212   * @return string
213   */
214  public function getKind()
215  {
216    return $this->kind;
217  }
218  /**
219   * @param string
220   */
221  public function setName($name)
222  {
223    $this->name = $name;
224  }
225  /**
226   * @return string
227   */
228  public function getName()
229  {
230    return $this->name;
231  }
232  /**
233   * @param string
234   */
235  public function setSiteFilterType($siteFilterType)
236  {
237    $this->siteFilterType = $siteFilterType;
238  }
239  /**
240   * @return string
241   */
242  public function getSiteFilterType()
243  {
244    return $this->siteFilterType;
245  }
246  /**
247   * @param string[]
248   */
249  public function setSiteIds($siteIds)
250  {
251    $this->siteIds = $siteIds;
252  }
253  /**
254   * @return string[]
255   */
256  public function getSiteIds()
257  {
258    return $this->siteIds;
259  }
260  /**
261   * @param bool
262   */
263  public function setSslCompliant($sslCompliant)
264  {
265    $this->sslCompliant = $sslCompliant;
266  }
267  /**
268   * @return bool
269   */
270  public function getSslCompliant()
271  {
272    return $this->sslCompliant;
273  }
274  /**
275   * @param string
276   */
277  public function setStatus($status)
278  {
279    $this->status = $status;
280  }
281  /**
282   * @return string
283   */
284  public function getStatus()
285  {
286    return $this->status;
287  }
288  /**
289   * @param string
290   */
291  public function setSubaccountId($subaccountId)
292  {
293    $this->subaccountId = $subaccountId;
294  }
295  /**
296   * @return string
297   */
298  public function getSubaccountId()
299  {
300    return $this->subaccountId;
301  }
302  /**
303   * @param string
304   */
305  public function setType($type)
306  {
307    $this->type = $type;
308  }
309  /**
310   * @return string
311   */
312  public function getType()
313  {
314    return $this->type;
315  }
316  /**
317   * @param string
318   */
319  public function setUrl($url)
320  {
321    $this->url = $url;
322  }
323  /**
324   * @return string
325   */
326  public function getUrl()
327  {
328    return $this->url;
329  }
330  /**
331   * @param int
332   */
333  public function setUrlEscapeLevels($urlEscapeLevels)
334  {
335    $this->urlEscapeLevels = $urlEscapeLevels;
336  }
337  /**
338   * @return int
339   */
340  public function getUrlEscapeLevels()
341  {
342    return $this->urlEscapeLevels;
343  }
344}
345
346// Adding a class alias for backwards compatibility with the previous class name.
347class_alias(EventTag::class, 'Google_Service_Dfareporting_EventTag');
348