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\Analytics;
19
20class RemarketingAudience extends \Google\Collection
21{
22  protected $collection_key = 'linkedViews';
23  /**
24   * @var string
25   */
26  public $accountId;
27  protected $audienceDefinitionType = RemarketingAudienceAudienceDefinition::class;
28  protected $audienceDefinitionDataType = '';
29  /**
30   * @var string
31   */
32  public $audienceType;
33  /**
34   * @var string
35   */
36  public $created;
37  /**
38   * @var string
39   */
40  public $description;
41  /**
42   * @var string
43   */
44  public $id;
45  /**
46   * @var string
47   */
48  public $internalWebPropertyId;
49  /**
50   * @var string
51   */
52  public $kind;
53  protected $linkedAdAccountsType = LinkedForeignAccount::class;
54  protected $linkedAdAccountsDataType = 'array';
55  /**
56   * @var string[]
57   */
58  public $linkedViews;
59  /**
60   * @var string
61   */
62  public $name;
63  protected $stateBasedAudienceDefinitionType = RemarketingAudienceStateBasedAudienceDefinition::class;
64  protected $stateBasedAudienceDefinitionDataType = '';
65  /**
66   * @var string
67   */
68  public $updated;
69  /**
70   * @var string
71   */
72  public $webPropertyId;
73
74  /**
75   * @param string
76   */
77  public function setAccountId($accountId)
78  {
79    $this->accountId = $accountId;
80  }
81  /**
82   * @return string
83   */
84  public function getAccountId()
85  {
86    return $this->accountId;
87  }
88  /**
89   * @param RemarketingAudienceAudienceDefinition
90   */
91  public function setAudienceDefinition(RemarketingAudienceAudienceDefinition $audienceDefinition)
92  {
93    $this->audienceDefinition = $audienceDefinition;
94  }
95  /**
96   * @return RemarketingAudienceAudienceDefinition
97   */
98  public function getAudienceDefinition()
99  {
100    return $this->audienceDefinition;
101  }
102  /**
103   * @param string
104   */
105  public function setAudienceType($audienceType)
106  {
107    $this->audienceType = $audienceType;
108  }
109  /**
110   * @return string
111   */
112  public function getAudienceType()
113  {
114    return $this->audienceType;
115  }
116  /**
117   * @param string
118   */
119  public function setCreated($created)
120  {
121    $this->created = $created;
122  }
123  /**
124   * @return string
125   */
126  public function getCreated()
127  {
128    return $this->created;
129  }
130  /**
131   * @param string
132   */
133  public function setDescription($description)
134  {
135    $this->description = $description;
136  }
137  /**
138   * @return string
139   */
140  public function getDescription()
141  {
142    return $this->description;
143  }
144  /**
145   * @param string
146   */
147  public function setId($id)
148  {
149    $this->id = $id;
150  }
151  /**
152   * @return string
153   */
154  public function getId()
155  {
156    return $this->id;
157  }
158  /**
159   * @param string
160   */
161  public function setInternalWebPropertyId($internalWebPropertyId)
162  {
163    $this->internalWebPropertyId = $internalWebPropertyId;
164  }
165  /**
166   * @return string
167   */
168  public function getInternalWebPropertyId()
169  {
170    return $this->internalWebPropertyId;
171  }
172  /**
173   * @param string
174   */
175  public function setKind($kind)
176  {
177    $this->kind = $kind;
178  }
179  /**
180   * @return string
181   */
182  public function getKind()
183  {
184    return $this->kind;
185  }
186  /**
187   * @param LinkedForeignAccount[]
188   */
189  public function setLinkedAdAccounts($linkedAdAccounts)
190  {
191    $this->linkedAdAccounts = $linkedAdAccounts;
192  }
193  /**
194   * @return LinkedForeignAccount[]
195   */
196  public function getLinkedAdAccounts()
197  {
198    return $this->linkedAdAccounts;
199  }
200  /**
201   * @param string[]
202   */
203  public function setLinkedViews($linkedViews)
204  {
205    $this->linkedViews = $linkedViews;
206  }
207  /**
208   * @return string[]
209   */
210  public function getLinkedViews()
211  {
212    return $this->linkedViews;
213  }
214  /**
215   * @param string
216   */
217  public function setName($name)
218  {
219    $this->name = $name;
220  }
221  /**
222   * @return string
223   */
224  public function getName()
225  {
226    return $this->name;
227  }
228  /**
229   * @param RemarketingAudienceStateBasedAudienceDefinition
230   */
231  public function setStateBasedAudienceDefinition(RemarketingAudienceStateBasedAudienceDefinition $stateBasedAudienceDefinition)
232  {
233    $this->stateBasedAudienceDefinition = $stateBasedAudienceDefinition;
234  }
235  /**
236   * @return RemarketingAudienceStateBasedAudienceDefinition
237   */
238  public function getStateBasedAudienceDefinition()
239  {
240    return $this->stateBasedAudienceDefinition;
241  }
242  /**
243   * @param string
244   */
245  public function setUpdated($updated)
246  {
247    $this->updated = $updated;
248  }
249  /**
250   * @return string
251   */
252  public function getUpdated()
253  {
254    return $this->updated;
255  }
256  /**
257   * @param string
258   */
259  public function setWebPropertyId($webPropertyId)
260  {
261    $this->webPropertyId = $webPropertyId;
262  }
263  /**
264   * @return string
265   */
266  public function getWebPropertyId()
267  {
268    return $this->webPropertyId;
269  }
270}
271
272// Adding a class alias for backwards compatibility with the previous class name.
273class_alias(RemarketingAudience::class, 'Google_Service_Analytics_RemarketingAudience');
274