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 AccountUserProfile extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $accountId;
26  /**
27   * @var bool
28   */
29  public $active;
30  protected $advertiserFilterType = ObjectFilter::class;
31  protected $advertiserFilterDataType = '';
32  protected $campaignFilterType = ObjectFilter::class;
33  protected $campaignFilterDataType = '';
34  /**
35   * @var string
36   */
37  public $comments;
38  /**
39   * @var string
40   */
41  public $email;
42  /**
43   * @var string
44   */
45  public $id;
46  /**
47   * @var string
48   */
49  public $kind;
50  /**
51   * @var string
52   */
53  public $locale;
54  /**
55   * @var string
56   */
57  public $name;
58  protected $siteFilterType = ObjectFilter::class;
59  protected $siteFilterDataType = '';
60  /**
61   * @var string
62   */
63  public $subaccountId;
64  /**
65   * @var string
66   */
67  public $traffickerType;
68  /**
69   * @var string
70   */
71  public $userAccessType;
72  protected $userRoleFilterType = ObjectFilter::class;
73  protected $userRoleFilterDataType = '';
74  /**
75   * @var string
76   */
77  public $userRoleId;
78
79  /**
80   * @param string
81   */
82  public function setAccountId($accountId)
83  {
84    $this->accountId = $accountId;
85  }
86  /**
87   * @return string
88   */
89  public function getAccountId()
90  {
91    return $this->accountId;
92  }
93  /**
94   * @param bool
95   */
96  public function setActive($active)
97  {
98    $this->active = $active;
99  }
100  /**
101   * @return bool
102   */
103  public function getActive()
104  {
105    return $this->active;
106  }
107  /**
108   * @param ObjectFilter
109   */
110  public function setAdvertiserFilter(ObjectFilter $advertiserFilter)
111  {
112    $this->advertiserFilter = $advertiserFilter;
113  }
114  /**
115   * @return ObjectFilter
116   */
117  public function getAdvertiserFilter()
118  {
119    return $this->advertiserFilter;
120  }
121  /**
122   * @param ObjectFilter
123   */
124  public function setCampaignFilter(ObjectFilter $campaignFilter)
125  {
126    $this->campaignFilter = $campaignFilter;
127  }
128  /**
129   * @return ObjectFilter
130   */
131  public function getCampaignFilter()
132  {
133    return $this->campaignFilter;
134  }
135  /**
136   * @param string
137   */
138  public function setComments($comments)
139  {
140    $this->comments = $comments;
141  }
142  /**
143   * @return string
144   */
145  public function getComments()
146  {
147    return $this->comments;
148  }
149  /**
150   * @param string
151   */
152  public function setEmail($email)
153  {
154    $this->email = $email;
155  }
156  /**
157   * @return string
158   */
159  public function getEmail()
160  {
161    return $this->email;
162  }
163  /**
164   * @param string
165   */
166  public function setId($id)
167  {
168    $this->id = $id;
169  }
170  /**
171   * @return string
172   */
173  public function getId()
174  {
175    return $this->id;
176  }
177  /**
178   * @param string
179   */
180  public function setKind($kind)
181  {
182    $this->kind = $kind;
183  }
184  /**
185   * @return string
186   */
187  public function getKind()
188  {
189    return $this->kind;
190  }
191  /**
192   * @param string
193   */
194  public function setLocale($locale)
195  {
196    $this->locale = $locale;
197  }
198  /**
199   * @return string
200   */
201  public function getLocale()
202  {
203    return $this->locale;
204  }
205  /**
206   * @param string
207   */
208  public function setName($name)
209  {
210    $this->name = $name;
211  }
212  /**
213   * @return string
214   */
215  public function getName()
216  {
217    return $this->name;
218  }
219  /**
220   * @param ObjectFilter
221   */
222  public function setSiteFilter(ObjectFilter $siteFilter)
223  {
224    $this->siteFilter = $siteFilter;
225  }
226  /**
227   * @return ObjectFilter
228   */
229  public function getSiteFilter()
230  {
231    return $this->siteFilter;
232  }
233  /**
234   * @param string
235   */
236  public function setSubaccountId($subaccountId)
237  {
238    $this->subaccountId = $subaccountId;
239  }
240  /**
241   * @return string
242   */
243  public function getSubaccountId()
244  {
245    return $this->subaccountId;
246  }
247  /**
248   * @param string
249   */
250  public function setTraffickerType($traffickerType)
251  {
252    $this->traffickerType = $traffickerType;
253  }
254  /**
255   * @return string
256   */
257  public function getTraffickerType()
258  {
259    return $this->traffickerType;
260  }
261  /**
262   * @param string
263   */
264  public function setUserAccessType($userAccessType)
265  {
266    $this->userAccessType = $userAccessType;
267  }
268  /**
269   * @return string
270   */
271  public function getUserAccessType()
272  {
273    return $this->userAccessType;
274  }
275  /**
276   * @param ObjectFilter
277   */
278  public function setUserRoleFilter(ObjectFilter $userRoleFilter)
279  {
280    $this->userRoleFilter = $userRoleFilter;
281  }
282  /**
283   * @return ObjectFilter
284   */
285  public function getUserRoleFilter()
286  {
287    return $this->userRoleFilter;
288  }
289  /**
290   * @param string
291   */
292  public function setUserRoleId($userRoleId)
293  {
294    $this->userRoleId = $userRoleId;
295  }
296  /**
297   * @return string
298   */
299  public function getUserRoleId()
300  {
301    return $this->userRoleId;
302  }
303}
304
305// Adding a class alias for backwards compatibility with the previous class name.
306class_alias(AccountUserProfile::class, 'Google_Service_Dfareporting_AccountUserProfile');
307