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 CreativeAssignment extends \Google\Collection
21{
22  protected $collection_key = 'richMediaExitOverrides';
23  /**
24   * @var bool
25   */
26  public $active;
27  /**
28   * @var bool
29   */
30  public $applyEventTags;
31  protected $clickThroughUrlType = ClickThroughUrl::class;
32  protected $clickThroughUrlDataType = '';
33  protected $companionCreativeOverridesType = CompanionClickThroughOverride::class;
34  protected $companionCreativeOverridesDataType = 'array';
35  protected $creativeGroupAssignmentsType = CreativeGroupAssignment::class;
36  protected $creativeGroupAssignmentsDataType = 'array';
37  /**
38   * @var string
39   */
40  public $creativeId;
41  protected $creativeIdDimensionValueType = DimensionValue::class;
42  protected $creativeIdDimensionValueDataType = '';
43  /**
44   * @var string
45   */
46  public $endTime;
47  protected $richMediaExitOverridesType = RichMediaExitOverride::class;
48  protected $richMediaExitOverridesDataType = 'array';
49  /**
50   * @var int
51   */
52  public $sequence;
53  /**
54   * @var bool
55   */
56  public $sslCompliant;
57  /**
58   * @var string
59   */
60  public $startTime;
61  /**
62   * @var int
63   */
64  public $weight;
65
66  /**
67   * @param bool
68   */
69  public function setActive($active)
70  {
71    $this->active = $active;
72  }
73  /**
74   * @return bool
75   */
76  public function getActive()
77  {
78    return $this->active;
79  }
80  /**
81   * @param bool
82   */
83  public function setApplyEventTags($applyEventTags)
84  {
85    $this->applyEventTags = $applyEventTags;
86  }
87  /**
88   * @return bool
89   */
90  public function getApplyEventTags()
91  {
92    return $this->applyEventTags;
93  }
94  /**
95   * @param ClickThroughUrl
96   */
97  public function setClickThroughUrl(ClickThroughUrl $clickThroughUrl)
98  {
99    $this->clickThroughUrl = $clickThroughUrl;
100  }
101  /**
102   * @return ClickThroughUrl
103   */
104  public function getClickThroughUrl()
105  {
106    return $this->clickThroughUrl;
107  }
108  /**
109   * @param CompanionClickThroughOverride[]
110   */
111  public function setCompanionCreativeOverrides($companionCreativeOverrides)
112  {
113    $this->companionCreativeOverrides = $companionCreativeOverrides;
114  }
115  /**
116   * @return CompanionClickThroughOverride[]
117   */
118  public function getCompanionCreativeOverrides()
119  {
120    return $this->companionCreativeOverrides;
121  }
122  /**
123   * @param CreativeGroupAssignment[]
124   */
125  public function setCreativeGroupAssignments($creativeGroupAssignments)
126  {
127    $this->creativeGroupAssignments = $creativeGroupAssignments;
128  }
129  /**
130   * @return CreativeGroupAssignment[]
131   */
132  public function getCreativeGroupAssignments()
133  {
134    return $this->creativeGroupAssignments;
135  }
136  /**
137   * @param string
138   */
139  public function setCreativeId($creativeId)
140  {
141    $this->creativeId = $creativeId;
142  }
143  /**
144   * @return string
145   */
146  public function getCreativeId()
147  {
148    return $this->creativeId;
149  }
150  /**
151   * @param DimensionValue
152   */
153  public function setCreativeIdDimensionValue(DimensionValue $creativeIdDimensionValue)
154  {
155    $this->creativeIdDimensionValue = $creativeIdDimensionValue;
156  }
157  /**
158   * @return DimensionValue
159   */
160  public function getCreativeIdDimensionValue()
161  {
162    return $this->creativeIdDimensionValue;
163  }
164  /**
165   * @param string
166   */
167  public function setEndTime($endTime)
168  {
169    $this->endTime = $endTime;
170  }
171  /**
172   * @return string
173   */
174  public function getEndTime()
175  {
176    return $this->endTime;
177  }
178  /**
179   * @param RichMediaExitOverride[]
180   */
181  public function setRichMediaExitOverrides($richMediaExitOverrides)
182  {
183    $this->richMediaExitOverrides = $richMediaExitOverrides;
184  }
185  /**
186   * @return RichMediaExitOverride[]
187   */
188  public function getRichMediaExitOverrides()
189  {
190    return $this->richMediaExitOverrides;
191  }
192  /**
193   * @param int
194   */
195  public function setSequence($sequence)
196  {
197    $this->sequence = $sequence;
198  }
199  /**
200   * @return int
201   */
202  public function getSequence()
203  {
204    return $this->sequence;
205  }
206  /**
207   * @param bool
208   */
209  public function setSslCompliant($sslCompliant)
210  {
211    $this->sslCompliant = $sslCompliant;
212  }
213  /**
214   * @return bool
215   */
216  public function getSslCompliant()
217  {
218    return $this->sslCompliant;
219  }
220  /**
221   * @param string
222   */
223  public function setStartTime($startTime)
224  {
225    $this->startTime = $startTime;
226  }
227  /**
228   * @return string
229   */
230  public function getStartTime()
231  {
232    return $this->startTime;
233  }
234  /**
235   * @param int
236   */
237  public function setWeight($weight)
238  {
239    $this->weight = $weight;
240  }
241  /**
242   * @return int
243   */
244  public function getWeight()
245  {
246    return $this->weight;
247  }
248}
249
250// Adding a class alias for backwards compatibility with the previous class name.
251class_alias(CreativeAssignment::class, 'Google_Service_Dfareporting_CreativeAssignment');
252