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 |
|
---|
18 | namespace Google\Service\Dfareporting;
|
---|
19 |
|
---|
20 | class Account extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'availablePermissionIds';
|
---|
23 | /**
|
---|
24 | * @var string[]
|
---|
25 | */
|
---|
26 | public $accountPermissionIds;
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $accountProfile;
|
---|
31 | /**
|
---|
32 | * @var bool
|
---|
33 | */
|
---|
34 | public $active;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $activeAdsLimitTier;
|
---|
39 | /**
|
---|
40 | * @var bool
|
---|
41 | */
|
---|
42 | public $activeViewOptOut;
|
---|
43 | /**
|
---|
44 | * @var string[]
|
---|
45 | */
|
---|
46 | public $availablePermissionIds;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $countryId;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $currencyId;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $defaultCreativeSizeId;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $description;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $id;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $kind;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $locale;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $maximumImageSize;
|
---|
79 | /**
|
---|
80 | * @var string
|
---|
81 | */
|
---|
82 | public $name;
|
---|
83 | /**
|
---|
84 | * @var bool
|
---|
85 | */
|
---|
86 | public $nielsenOcrEnabled;
|
---|
87 | protected $reportsConfigurationType = ReportsConfiguration::class;
|
---|
88 | protected $reportsConfigurationDataType = '';
|
---|
89 | /**
|
---|
90 | * @var bool
|
---|
91 | */
|
---|
92 | public $shareReportsWithTwitter;
|
---|
93 | /**
|
---|
94 | * @var string
|
---|
95 | */
|
---|
96 | public $teaserSizeLimit;
|
---|
97 |
|
---|
98 | /**
|
---|
99 | * @param string[]
|
---|
100 | */
|
---|
101 | public function setAccountPermissionIds($accountPermissionIds)
|
---|
102 | {
|
---|
103 | $this->accountPermissionIds = $accountPermissionIds;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return string[]
|
---|
107 | */
|
---|
108 | public function getAccountPermissionIds()
|
---|
109 | {
|
---|
110 | return $this->accountPermissionIds;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param string
|
---|
114 | */
|
---|
115 | public function setAccountProfile($accountProfile)
|
---|
116 | {
|
---|
117 | $this->accountProfile = $accountProfile;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return string
|
---|
121 | */
|
---|
122 | public function getAccountProfile()
|
---|
123 | {
|
---|
124 | return $this->accountProfile;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param bool
|
---|
128 | */
|
---|
129 | public function setActive($active)
|
---|
130 | {
|
---|
131 | $this->active = $active;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return bool
|
---|
135 | */
|
---|
136 | public function getActive()
|
---|
137 | {
|
---|
138 | return $this->active;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setActiveAdsLimitTier($activeAdsLimitTier)
|
---|
144 | {
|
---|
145 | $this->activeAdsLimitTier = $activeAdsLimitTier;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getActiveAdsLimitTier()
|
---|
151 | {
|
---|
152 | return $this->activeAdsLimitTier;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param bool
|
---|
156 | */
|
---|
157 | public function setActiveViewOptOut($activeViewOptOut)
|
---|
158 | {
|
---|
159 | $this->activeViewOptOut = $activeViewOptOut;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return bool
|
---|
163 | */
|
---|
164 | public function getActiveViewOptOut()
|
---|
165 | {
|
---|
166 | return $this->activeViewOptOut;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string[]
|
---|
170 | */
|
---|
171 | public function setAvailablePermissionIds($availablePermissionIds)
|
---|
172 | {
|
---|
173 | $this->availablePermissionIds = $availablePermissionIds;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string[]
|
---|
177 | */
|
---|
178 | public function getAvailablePermissionIds()
|
---|
179 | {
|
---|
180 | return $this->availablePermissionIds;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param string
|
---|
184 | */
|
---|
185 | public function setCountryId($countryId)
|
---|
186 | {
|
---|
187 | $this->countryId = $countryId;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return string
|
---|
191 | */
|
---|
192 | public function getCountryId()
|
---|
193 | {
|
---|
194 | return $this->countryId;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setCurrencyId($currencyId)
|
---|
200 | {
|
---|
201 | $this->currencyId = $currencyId;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getCurrencyId()
|
---|
207 | {
|
---|
208 | return $this->currencyId;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setDefaultCreativeSizeId($defaultCreativeSizeId)
|
---|
214 | {
|
---|
215 | $this->defaultCreativeSizeId = $defaultCreativeSizeId;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getDefaultCreativeSizeId()
|
---|
221 | {
|
---|
222 | return $this->defaultCreativeSizeId;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param string
|
---|
226 | */
|
---|
227 | public function setDescription($description)
|
---|
228 | {
|
---|
229 | $this->description = $description;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return string
|
---|
233 | */
|
---|
234 | public function getDescription()
|
---|
235 | {
|
---|
236 | return $this->description;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param string
|
---|
240 | */
|
---|
241 | public function setId($id)
|
---|
242 | {
|
---|
243 | $this->id = $id;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return string
|
---|
247 | */
|
---|
248 | public function getId()
|
---|
249 | {
|
---|
250 | return $this->id;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param string
|
---|
254 | */
|
---|
255 | public function setKind($kind)
|
---|
256 | {
|
---|
257 | $this->kind = $kind;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return string
|
---|
261 | */
|
---|
262 | public function getKind()
|
---|
263 | {
|
---|
264 | return $this->kind;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param string
|
---|
268 | */
|
---|
269 | public function setLocale($locale)
|
---|
270 | {
|
---|
271 | $this->locale = $locale;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return string
|
---|
275 | */
|
---|
276 | public function getLocale()
|
---|
277 | {
|
---|
278 | return $this->locale;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param string
|
---|
282 | */
|
---|
283 | public function setMaximumImageSize($maximumImageSize)
|
---|
284 | {
|
---|
285 | $this->maximumImageSize = $maximumImageSize;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return string
|
---|
289 | */
|
---|
290 | public function getMaximumImageSize()
|
---|
291 | {
|
---|
292 | return $this->maximumImageSize;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param string
|
---|
296 | */
|
---|
297 | public function setName($name)
|
---|
298 | {
|
---|
299 | $this->name = $name;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return string
|
---|
303 | */
|
---|
304 | public function getName()
|
---|
305 | {
|
---|
306 | return $this->name;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param bool
|
---|
310 | */
|
---|
311 | public function setNielsenOcrEnabled($nielsenOcrEnabled)
|
---|
312 | {
|
---|
313 | $this->nielsenOcrEnabled = $nielsenOcrEnabled;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return bool
|
---|
317 | */
|
---|
318 | public function getNielsenOcrEnabled()
|
---|
319 | {
|
---|
320 | return $this->nielsenOcrEnabled;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @param ReportsConfiguration
|
---|
324 | */
|
---|
325 | public function setReportsConfiguration(ReportsConfiguration $reportsConfiguration)
|
---|
326 | {
|
---|
327 | $this->reportsConfiguration = $reportsConfiguration;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @return ReportsConfiguration
|
---|
331 | */
|
---|
332 | public function getReportsConfiguration()
|
---|
333 | {
|
---|
334 | return $this->reportsConfiguration;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @param bool
|
---|
338 | */
|
---|
339 | public function setShareReportsWithTwitter($shareReportsWithTwitter)
|
---|
340 | {
|
---|
341 | $this->shareReportsWithTwitter = $shareReportsWithTwitter;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @return bool
|
---|
345 | */
|
---|
346 | public function getShareReportsWithTwitter()
|
---|
347 | {
|
---|
348 | return $this->shareReportsWithTwitter;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @param string
|
---|
352 | */
|
---|
353 | public function setTeaserSizeLimit($teaserSizeLimit)
|
---|
354 | {
|
---|
355 | $this->teaserSizeLimit = $teaserSizeLimit;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @return string
|
---|
359 | */
|
---|
360 | public function getTeaserSizeLimit()
|
---|
361 | {
|
---|
362 | return $this->teaserSizeLimit;
|
---|
363 | }
|
---|
364 | }
|
---|
365 |
|
---|
366 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
367 | class_alias(Account::class, 'Google_Service_Dfareporting_Account');
|
---|