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\TagManager;
19
20class Trigger extends \Google\Collection
21{
22  protected $collection_key = 'parameter';
23  /**
24   * @var string
25   */
26  public $accountId;
27  protected $autoEventFilterType = Condition::class;
28  protected $autoEventFilterDataType = 'array';
29  protected $checkValidationType = Parameter::class;
30  protected $checkValidationDataType = '';
31  /**
32   * @var string
33   */
34  public $containerId;
35  protected $continuousTimeMinMillisecondsType = Parameter::class;
36  protected $continuousTimeMinMillisecondsDataType = '';
37  protected $customEventFilterType = Condition::class;
38  protected $customEventFilterDataType = 'array';
39  protected $eventNameType = Parameter::class;
40  protected $eventNameDataType = '';
41  protected $filterType = Condition::class;
42  protected $filterDataType = 'array';
43  /**
44   * @var string
45   */
46  public $fingerprint;
47  protected $horizontalScrollPercentageListType = Parameter::class;
48  protected $horizontalScrollPercentageListDataType = '';
49  protected $intervalType = Parameter::class;
50  protected $intervalDataType = '';
51  protected $intervalSecondsType = Parameter::class;
52  protected $intervalSecondsDataType = '';
53  protected $limitType = Parameter::class;
54  protected $limitDataType = '';
55  protected $maxTimerLengthSecondsType = Parameter::class;
56  protected $maxTimerLengthSecondsDataType = '';
57  /**
58   * @var string
59   */
60  public $name;
61  /**
62   * @var string
63   */
64  public $notes;
65  protected $parameterType = Parameter::class;
66  protected $parameterDataType = 'array';
67  /**
68   * @var string
69   */
70  public $parentFolderId;
71  /**
72   * @var string
73   */
74  public $path;
75  protected $selectorType = Parameter::class;
76  protected $selectorDataType = '';
77  /**
78   * @var string
79   */
80  public $tagManagerUrl;
81  protected $totalTimeMinMillisecondsType = Parameter::class;
82  protected $totalTimeMinMillisecondsDataType = '';
83  /**
84   * @var string
85   */
86  public $triggerId;
87  /**
88   * @var string
89   */
90  public $type;
91  protected $uniqueTriggerIdType = Parameter::class;
92  protected $uniqueTriggerIdDataType = '';
93  protected $verticalScrollPercentageListType = Parameter::class;
94  protected $verticalScrollPercentageListDataType = '';
95  protected $visibilitySelectorType = Parameter::class;
96  protected $visibilitySelectorDataType = '';
97  protected $visiblePercentageMaxType = Parameter::class;
98  protected $visiblePercentageMaxDataType = '';
99  protected $visiblePercentageMinType = Parameter::class;
100  protected $visiblePercentageMinDataType = '';
101  protected $waitForTagsType = Parameter::class;
102  protected $waitForTagsDataType = '';
103  protected $waitForTagsTimeoutType = Parameter::class;
104  protected $waitForTagsTimeoutDataType = '';
105  /**
106   * @var string
107   */
108  public $workspaceId;
109
110  /**
111   * @param string
112   */
113  public function setAccountId($accountId)
114  {
115    $this->accountId = $accountId;
116  }
117  /**
118   * @return string
119   */
120  public function getAccountId()
121  {
122    return $this->accountId;
123  }
124  /**
125   * @param Condition[]
126   */
127  public function setAutoEventFilter($autoEventFilter)
128  {
129    $this->autoEventFilter = $autoEventFilter;
130  }
131  /**
132   * @return Condition[]
133   */
134  public function getAutoEventFilter()
135  {
136    return $this->autoEventFilter;
137  }
138  /**
139   * @param Parameter
140   */
141  public function setCheckValidation(Parameter $checkValidation)
142  {
143    $this->checkValidation = $checkValidation;
144  }
145  /**
146   * @return Parameter
147   */
148  public function getCheckValidation()
149  {
150    return $this->checkValidation;
151  }
152  /**
153   * @param string
154   */
155  public function setContainerId($containerId)
156  {
157    $this->containerId = $containerId;
158  }
159  /**
160   * @return string
161   */
162  public function getContainerId()
163  {
164    return $this->containerId;
165  }
166  /**
167   * @param Parameter
168   */
169  public function setContinuousTimeMinMilliseconds(Parameter $continuousTimeMinMilliseconds)
170  {
171    $this->continuousTimeMinMilliseconds = $continuousTimeMinMilliseconds;
172  }
173  /**
174   * @return Parameter
175   */
176  public function getContinuousTimeMinMilliseconds()
177  {
178    return $this->continuousTimeMinMilliseconds;
179  }
180  /**
181   * @param Condition[]
182   */
183  public function setCustomEventFilter($customEventFilter)
184  {
185    $this->customEventFilter = $customEventFilter;
186  }
187  /**
188   * @return Condition[]
189   */
190  public function getCustomEventFilter()
191  {
192    return $this->customEventFilter;
193  }
194  /**
195   * @param Parameter
196   */
197  public function setEventName(Parameter $eventName)
198  {
199    $this->eventName = $eventName;
200  }
201  /**
202   * @return Parameter
203   */
204  public function getEventName()
205  {
206    return $this->eventName;
207  }
208  /**
209   * @param Condition[]
210   */
211  public function setFilter($filter)
212  {
213    $this->filter = $filter;
214  }
215  /**
216   * @return Condition[]
217   */
218  public function getFilter()
219  {
220    return $this->filter;
221  }
222  /**
223   * @param string
224   */
225  public function setFingerprint($fingerprint)
226  {
227    $this->fingerprint = $fingerprint;
228  }
229  /**
230   * @return string
231   */
232  public function getFingerprint()
233  {
234    return $this->fingerprint;
235  }
236  /**
237   * @param Parameter
238   */
239  public function setHorizontalScrollPercentageList(Parameter $horizontalScrollPercentageList)
240  {
241    $this->horizontalScrollPercentageList = $horizontalScrollPercentageList;
242  }
243  /**
244   * @return Parameter
245   */
246  public function getHorizontalScrollPercentageList()
247  {
248    return $this->horizontalScrollPercentageList;
249  }
250  /**
251   * @param Parameter
252   */
253  public function setInterval(Parameter $interval)
254  {
255    $this->interval = $interval;
256  }
257  /**
258   * @return Parameter
259   */
260  public function getInterval()
261  {
262    return $this->interval;
263  }
264  /**
265   * @param Parameter
266   */
267  public function setIntervalSeconds(Parameter $intervalSeconds)
268  {
269    $this->intervalSeconds = $intervalSeconds;
270  }
271  /**
272   * @return Parameter
273   */
274  public function getIntervalSeconds()
275  {
276    return $this->intervalSeconds;
277  }
278  /**
279   * @param Parameter
280   */
281  public function setLimit(Parameter $limit)
282  {
283    $this->limit = $limit;
284  }
285  /**
286   * @return Parameter
287   */
288  public function getLimit()
289  {
290    return $this->limit;
291  }
292  /**
293   * @param Parameter
294   */
295  public function setMaxTimerLengthSeconds(Parameter $maxTimerLengthSeconds)
296  {
297    $this->maxTimerLengthSeconds = $maxTimerLengthSeconds;
298  }
299  /**
300   * @return Parameter
301   */
302  public function getMaxTimerLengthSeconds()
303  {
304    return $this->maxTimerLengthSeconds;
305  }
306  /**
307   * @param string
308   */
309  public function setName($name)
310  {
311    $this->name = $name;
312  }
313  /**
314   * @return string
315   */
316  public function getName()
317  {
318    return $this->name;
319  }
320  /**
321   * @param string
322   */
323  public function setNotes($notes)
324  {
325    $this->notes = $notes;
326  }
327  /**
328   * @return string
329   */
330  public function getNotes()
331  {
332    return $this->notes;
333  }
334  /**
335   * @param Parameter[]
336   */
337  public function setParameter($parameter)
338  {
339    $this->parameter = $parameter;
340  }
341  /**
342   * @return Parameter[]
343   */
344  public function getParameter()
345  {
346    return $this->parameter;
347  }
348  /**
349   * @param string
350   */
351  public function setParentFolderId($parentFolderId)
352  {
353    $this->parentFolderId = $parentFolderId;
354  }
355  /**
356   * @return string
357   */
358  public function getParentFolderId()
359  {
360    return $this->parentFolderId;
361  }
362  /**
363   * @param string
364   */
365  public function setPath($path)
366  {
367    $this->path = $path;
368  }
369  /**
370   * @return string
371   */
372  public function getPath()
373  {
374    return $this->path;
375  }
376  /**
377   * @param Parameter
378   */
379  public function setSelector(Parameter $selector)
380  {
381    $this->selector = $selector;
382  }
383  /**
384   * @return Parameter
385   */
386  public function getSelector()
387  {
388    return $this->selector;
389  }
390  /**
391   * @param string
392   */
393  public function setTagManagerUrl($tagManagerUrl)
394  {
395    $this->tagManagerUrl = $tagManagerUrl;
396  }
397  /**
398   * @return string
399   */
400  public function getTagManagerUrl()
401  {
402    return $this->tagManagerUrl;
403  }
404  /**
405   * @param Parameter
406   */
407  public function setTotalTimeMinMilliseconds(Parameter $totalTimeMinMilliseconds)
408  {
409    $this->totalTimeMinMilliseconds = $totalTimeMinMilliseconds;
410  }
411  /**
412   * @return Parameter
413   */
414  public function getTotalTimeMinMilliseconds()
415  {
416    return $this->totalTimeMinMilliseconds;
417  }
418  /**
419   * @param string
420   */
421  public function setTriggerId($triggerId)
422  {
423    $this->triggerId = $triggerId;
424  }
425  /**
426   * @return string
427   */
428  public function getTriggerId()
429  {
430    return $this->triggerId;
431  }
432  /**
433   * @param string
434   */
435  public function setType($type)
436  {
437    $this->type = $type;
438  }
439  /**
440   * @return string
441   */
442  public function getType()
443  {
444    return $this->type;
445  }
446  /**
447   * @param Parameter
448   */
449  public function setUniqueTriggerId(Parameter $uniqueTriggerId)
450  {
451    $this->uniqueTriggerId = $uniqueTriggerId;
452  }
453  /**
454   * @return Parameter
455   */
456  public function getUniqueTriggerId()
457  {
458    return $this->uniqueTriggerId;
459  }
460  /**
461   * @param Parameter
462   */
463  public function setVerticalScrollPercentageList(Parameter $verticalScrollPercentageList)
464  {
465    $this->verticalScrollPercentageList = $verticalScrollPercentageList;
466  }
467  /**
468   * @return Parameter
469   */
470  public function getVerticalScrollPercentageList()
471  {
472    return $this->verticalScrollPercentageList;
473  }
474  /**
475   * @param Parameter
476   */
477  public function setVisibilitySelector(Parameter $visibilitySelector)
478  {
479    $this->visibilitySelector = $visibilitySelector;
480  }
481  /**
482   * @return Parameter
483   */
484  public function getVisibilitySelector()
485  {
486    return $this->visibilitySelector;
487  }
488  /**
489   * @param Parameter
490   */
491  public function setVisiblePercentageMax(Parameter $visiblePercentageMax)
492  {
493    $this->visiblePercentageMax = $visiblePercentageMax;
494  }
495  /**
496   * @return Parameter
497   */
498  public function getVisiblePercentageMax()
499  {
500    return $this->visiblePercentageMax;
501  }
502  /**
503   * @param Parameter
504   */
505  public function setVisiblePercentageMin(Parameter $visiblePercentageMin)
506  {
507    $this->visiblePercentageMin = $visiblePercentageMin;
508  }
509  /**
510   * @return Parameter
511   */
512  public function getVisiblePercentageMin()
513  {
514    return $this->visiblePercentageMin;
515  }
516  /**
517   * @param Parameter
518   */
519  public function setWaitForTags(Parameter $waitForTags)
520  {
521    $this->waitForTags = $waitForTags;
522  }
523  /**
524   * @return Parameter
525   */
526  public function getWaitForTags()
527  {
528    return $this->waitForTags;
529  }
530  /**
531   * @param Parameter
532   */
533  public function setWaitForTagsTimeout(Parameter $waitForTagsTimeout)
534  {
535    $this->waitForTagsTimeout = $waitForTagsTimeout;
536  }
537  /**
538   * @return Parameter
539   */
540  public function getWaitForTagsTimeout()
541  {
542    return $this->waitForTagsTimeout;
543  }
544  /**
545   * @param string
546   */
547  public function setWorkspaceId($workspaceId)
548  {
549    $this->workspaceId = $workspaceId;
550  }
551  /**
552   * @return string
553   */
554  public function getWorkspaceId()
555  {
556    return $this->workspaceId;
557  }
558}
559
560// Adding a class alias for backwards compatibility with the previous class name.
561class_alias(Trigger::class, 'Google_Service_TagManager_Trigger');
562