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 Variable extends \Google\Collection
21{
22  protected $collection_key = 'parameter';
23  /**
24   * @var string
25   */
26  public $accountId;
27  /**
28   * @var string
29   */
30  public $containerId;
31  /**
32   * @var string[]
33   */
34  public $disablingTriggerId;
35  /**
36   * @var string[]
37   */
38  public $enablingTriggerId;
39  /**
40   * @var string
41   */
42  public $fingerprint;
43  protected $formatValueType = VariableFormatValue::class;
44  protected $formatValueDataType = '';
45  /**
46   * @var string
47   */
48  public $name;
49  /**
50   * @var string
51   */
52  public $notes;
53  protected $parameterType = Parameter::class;
54  protected $parameterDataType = 'array';
55  /**
56   * @var string
57   */
58  public $parentFolderId;
59  /**
60   * @var string
61   */
62  public $path;
63  /**
64   * @var string
65   */
66  public $scheduleEndMs;
67  /**
68   * @var string
69   */
70  public $scheduleStartMs;
71  /**
72   * @var string
73   */
74  public $tagManagerUrl;
75  /**
76   * @var string
77   */
78  public $type;
79  /**
80   * @var string
81   */
82  public $variableId;
83  /**
84   * @var string
85   */
86  public $workspaceId;
87
88  /**
89   * @param string
90   */
91  public function setAccountId($accountId)
92  {
93    $this->accountId = $accountId;
94  }
95  /**
96   * @return string
97   */
98  public function getAccountId()
99  {
100    return $this->accountId;
101  }
102  /**
103   * @param string
104   */
105  public function setContainerId($containerId)
106  {
107    $this->containerId = $containerId;
108  }
109  /**
110   * @return string
111   */
112  public function getContainerId()
113  {
114    return $this->containerId;
115  }
116  /**
117   * @param string[]
118   */
119  public function setDisablingTriggerId($disablingTriggerId)
120  {
121    $this->disablingTriggerId = $disablingTriggerId;
122  }
123  /**
124   * @return string[]
125   */
126  public function getDisablingTriggerId()
127  {
128    return $this->disablingTriggerId;
129  }
130  /**
131   * @param string[]
132   */
133  public function setEnablingTriggerId($enablingTriggerId)
134  {
135    $this->enablingTriggerId = $enablingTriggerId;
136  }
137  /**
138   * @return string[]
139   */
140  public function getEnablingTriggerId()
141  {
142    return $this->enablingTriggerId;
143  }
144  /**
145   * @param string
146   */
147  public function setFingerprint($fingerprint)
148  {
149    $this->fingerprint = $fingerprint;
150  }
151  /**
152   * @return string
153   */
154  public function getFingerprint()
155  {
156    return $this->fingerprint;
157  }
158  /**
159   * @param VariableFormatValue
160   */
161  public function setFormatValue(VariableFormatValue $formatValue)
162  {
163    $this->formatValue = $formatValue;
164  }
165  /**
166   * @return VariableFormatValue
167   */
168  public function getFormatValue()
169  {
170    return $this->formatValue;
171  }
172  /**
173   * @param string
174   */
175  public function setName($name)
176  {
177    $this->name = $name;
178  }
179  /**
180   * @return string
181   */
182  public function getName()
183  {
184    return $this->name;
185  }
186  /**
187   * @param string
188   */
189  public function setNotes($notes)
190  {
191    $this->notes = $notes;
192  }
193  /**
194   * @return string
195   */
196  public function getNotes()
197  {
198    return $this->notes;
199  }
200  /**
201   * @param Parameter[]
202   */
203  public function setParameter($parameter)
204  {
205    $this->parameter = $parameter;
206  }
207  /**
208   * @return Parameter[]
209   */
210  public function getParameter()
211  {
212    return $this->parameter;
213  }
214  /**
215   * @param string
216   */
217  public function setParentFolderId($parentFolderId)
218  {
219    $this->parentFolderId = $parentFolderId;
220  }
221  /**
222   * @return string
223   */
224  public function getParentFolderId()
225  {
226    return $this->parentFolderId;
227  }
228  /**
229   * @param string
230   */
231  public function setPath($path)
232  {
233    $this->path = $path;
234  }
235  /**
236   * @return string
237   */
238  public function getPath()
239  {
240    return $this->path;
241  }
242  /**
243   * @param string
244   */
245  public function setScheduleEndMs($scheduleEndMs)
246  {
247    $this->scheduleEndMs = $scheduleEndMs;
248  }
249  /**
250   * @return string
251   */
252  public function getScheduleEndMs()
253  {
254    return $this->scheduleEndMs;
255  }
256  /**
257   * @param string
258   */
259  public function setScheduleStartMs($scheduleStartMs)
260  {
261    $this->scheduleStartMs = $scheduleStartMs;
262  }
263  /**
264   * @return string
265   */
266  public function getScheduleStartMs()
267  {
268    return $this->scheduleStartMs;
269  }
270  /**
271   * @param string
272   */
273  public function setTagManagerUrl($tagManagerUrl)
274  {
275    $this->tagManagerUrl = $tagManagerUrl;
276  }
277  /**
278   * @return string
279   */
280  public function getTagManagerUrl()
281  {
282    return $this->tagManagerUrl;
283  }
284  /**
285   * @param string
286   */
287  public function setType($type)
288  {
289    $this->type = $type;
290  }
291  /**
292   * @return string
293   */
294  public function getType()
295  {
296    return $this->type;
297  }
298  /**
299   * @param string
300   */
301  public function setVariableId($variableId)
302  {
303    $this->variableId = $variableId;
304  }
305  /**
306   * @return string
307   */
308  public function getVariableId()
309  {
310    return $this->variableId;
311  }
312  /**
313   * @param string
314   */
315  public function setWorkspaceId($workspaceId)
316  {
317    $this->workspaceId = $workspaceId;
318  }
319  /**
320   * @return string
321   */
322  public function getWorkspaceId()
323  {
324    return $this->workspaceId;
325  }
326}
327
328// Adding a class alias for backwards compatibility with the previous class name.
329class_alias(Variable::class, 'Google_Service_TagManager_Variable');
330