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 CreativeAssetMetadata extends \Google\Collection
21{
22  protected $collection_key = 'warnedValidationRules';
23  protected $assetIdentifierType = CreativeAssetId::class;
24  protected $assetIdentifierDataType = '';
25  protected $clickTagsType = ClickTag::class;
26  protected $clickTagsDataType = 'array';
27  protected $counterCustomEventsType = CreativeCustomEvent::class;
28  protected $counterCustomEventsDataType = 'array';
29  /**
30   * @var string[]
31   */
32  public $detectedFeatures;
33  protected $exitCustomEventsType = CreativeCustomEvent::class;
34  protected $exitCustomEventsDataType = 'array';
35  /**
36   * @var string
37   */
38  public $id;
39  protected $idDimensionValueType = DimensionValue::class;
40  protected $idDimensionValueDataType = '';
41  /**
42   * @var string
43   */
44  public $kind;
45  /**
46   * @var bool
47   */
48  public $richMedia;
49  protected $timerCustomEventsType = CreativeCustomEvent::class;
50  protected $timerCustomEventsDataType = 'array';
51  /**
52   * @var string[]
53   */
54  public $warnedValidationRules;
55
56  /**
57   * @param CreativeAssetId
58   */
59  public function setAssetIdentifier(CreativeAssetId $assetIdentifier)
60  {
61    $this->assetIdentifier = $assetIdentifier;
62  }
63  /**
64   * @return CreativeAssetId
65   */
66  public function getAssetIdentifier()
67  {
68    return $this->assetIdentifier;
69  }
70  /**
71   * @param ClickTag[]
72   */
73  public function setClickTags($clickTags)
74  {
75    $this->clickTags = $clickTags;
76  }
77  /**
78   * @return ClickTag[]
79   */
80  public function getClickTags()
81  {
82    return $this->clickTags;
83  }
84  /**
85   * @param CreativeCustomEvent[]
86   */
87  public function setCounterCustomEvents($counterCustomEvents)
88  {
89    $this->counterCustomEvents = $counterCustomEvents;
90  }
91  /**
92   * @return CreativeCustomEvent[]
93   */
94  public function getCounterCustomEvents()
95  {
96    return $this->counterCustomEvents;
97  }
98  /**
99   * @param string[]
100   */
101  public function setDetectedFeatures($detectedFeatures)
102  {
103    $this->detectedFeatures = $detectedFeatures;
104  }
105  /**
106   * @return string[]
107   */
108  public function getDetectedFeatures()
109  {
110    return $this->detectedFeatures;
111  }
112  /**
113   * @param CreativeCustomEvent[]
114   */
115  public function setExitCustomEvents($exitCustomEvents)
116  {
117    $this->exitCustomEvents = $exitCustomEvents;
118  }
119  /**
120   * @return CreativeCustomEvent[]
121   */
122  public function getExitCustomEvents()
123  {
124    return $this->exitCustomEvents;
125  }
126  /**
127   * @param string
128   */
129  public function setId($id)
130  {
131    $this->id = $id;
132  }
133  /**
134   * @return string
135   */
136  public function getId()
137  {
138    return $this->id;
139  }
140  /**
141   * @param DimensionValue
142   */
143  public function setIdDimensionValue(DimensionValue $idDimensionValue)
144  {
145    $this->idDimensionValue = $idDimensionValue;
146  }
147  /**
148   * @return DimensionValue
149   */
150  public function getIdDimensionValue()
151  {
152    return $this->idDimensionValue;
153  }
154  /**
155   * @param string
156   */
157  public function setKind($kind)
158  {
159    $this->kind = $kind;
160  }
161  /**
162   * @return string
163   */
164  public function getKind()
165  {
166    return $this->kind;
167  }
168  /**
169   * @param bool
170   */
171  public function setRichMedia($richMedia)
172  {
173    $this->richMedia = $richMedia;
174  }
175  /**
176   * @return bool
177   */
178  public function getRichMedia()
179  {
180    return $this->richMedia;
181  }
182  /**
183   * @param CreativeCustomEvent[]
184   */
185  public function setTimerCustomEvents($timerCustomEvents)
186  {
187    $this->timerCustomEvents = $timerCustomEvents;
188  }
189  /**
190   * @return CreativeCustomEvent[]
191   */
192  public function getTimerCustomEvents()
193  {
194    return $this->timerCustomEvents;
195  }
196  /**
197   * @param string[]
198   */
199  public function setWarnedValidationRules($warnedValidationRules)
200  {
201    $this->warnedValidationRules = $warnedValidationRules;
202  }
203  /**
204   * @return string[]
205   */
206  public function getWarnedValidationRules()
207  {
208    return $this->warnedValidationRules;
209  }
210}
211
212// Adding a class alias for backwards compatibility with the previous class name.
213class_alias(CreativeAssetMetadata::class, 'Google_Service_Dfareporting_CreativeAssetMetadata');
214