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\DisplayVideo;
19
20class Advertiser extends \Google\Model
21{
22  protected $adServerConfigType = AdvertiserAdServerConfig::class;
23  protected $adServerConfigDataType = '';
24  /**
25   * @var string
26   */
27  public $advertiserId;
28  protected $creativeConfigType = AdvertiserCreativeConfig::class;
29  protected $creativeConfigDataType = '';
30  protected $dataAccessConfigType = AdvertiserDataAccessConfig::class;
31  protected $dataAccessConfigDataType = '';
32  /**
33   * @var string
34   */
35  public $displayName;
36  /**
37   * @var string
38   */
39  public $entityStatus;
40  protected $generalConfigType = AdvertiserGeneralConfig::class;
41  protected $generalConfigDataType = '';
42  protected $integrationDetailsType = IntegrationDetails::class;
43  protected $integrationDetailsDataType = '';
44  /**
45   * @var string
46   */
47  public $name;
48  /**
49   * @var string
50   */
51  public $partnerId;
52  /**
53   * @var bool
54   */
55  public $prismaEnabled;
56  protected $servingConfigType = AdvertiserTargetingConfig::class;
57  protected $servingConfigDataType = '';
58  /**
59   * @var string
60   */
61  public $updateTime;
62
63  /**
64   * @param AdvertiserAdServerConfig
65   */
66  public function setAdServerConfig(AdvertiserAdServerConfig $adServerConfig)
67  {
68    $this->adServerConfig = $adServerConfig;
69  }
70  /**
71   * @return AdvertiserAdServerConfig
72   */
73  public function getAdServerConfig()
74  {
75    return $this->adServerConfig;
76  }
77  /**
78   * @param string
79   */
80  public function setAdvertiserId($advertiserId)
81  {
82    $this->advertiserId = $advertiserId;
83  }
84  /**
85   * @return string
86   */
87  public function getAdvertiserId()
88  {
89    return $this->advertiserId;
90  }
91  /**
92   * @param AdvertiserCreativeConfig
93   */
94  public function setCreativeConfig(AdvertiserCreativeConfig $creativeConfig)
95  {
96    $this->creativeConfig = $creativeConfig;
97  }
98  /**
99   * @return AdvertiserCreativeConfig
100   */
101  public function getCreativeConfig()
102  {
103    return $this->creativeConfig;
104  }
105  /**
106   * @param AdvertiserDataAccessConfig
107   */
108  public function setDataAccessConfig(AdvertiserDataAccessConfig $dataAccessConfig)
109  {
110    $this->dataAccessConfig = $dataAccessConfig;
111  }
112  /**
113   * @return AdvertiserDataAccessConfig
114   */
115  public function getDataAccessConfig()
116  {
117    return $this->dataAccessConfig;
118  }
119  /**
120   * @param string
121   */
122  public function setDisplayName($displayName)
123  {
124    $this->displayName = $displayName;
125  }
126  /**
127   * @return string
128   */
129  public function getDisplayName()
130  {
131    return $this->displayName;
132  }
133  /**
134   * @param string
135   */
136  public function setEntityStatus($entityStatus)
137  {
138    $this->entityStatus = $entityStatus;
139  }
140  /**
141   * @return string
142   */
143  public function getEntityStatus()
144  {
145    return $this->entityStatus;
146  }
147  /**
148   * @param AdvertiserGeneralConfig
149   */
150  public function setGeneralConfig(AdvertiserGeneralConfig $generalConfig)
151  {
152    $this->generalConfig = $generalConfig;
153  }
154  /**
155   * @return AdvertiserGeneralConfig
156   */
157  public function getGeneralConfig()
158  {
159    return $this->generalConfig;
160  }
161  /**
162   * @param IntegrationDetails
163   */
164  public function setIntegrationDetails(IntegrationDetails $integrationDetails)
165  {
166    $this->integrationDetails = $integrationDetails;
167  }
168  /**
169   * @return IntegrationDetails
170   */
171  public function getIntegrationDetails()
172  {
173    return $this->integrationDetails;
174  }
175  /**
176   * @param string
177   */
178  public function setName($name)
179  {
180    $this->name = $name;
181  }
182  /**
183   * @return string
184   */
185  public function getName()
186  {
187    return $this->name;
188  }
189  /**
190   * @param string
191   */
192  public function setPartnerId($partnerId)
193  {
194    $this->partnerId = $partnerId;
195  }
196  /**
197   * @return string
198   */
199  public function getPartnerId()
200  {
201    return $this->partnerId;
202  }
203  /**
204   * @param bool
205   */
206  public function setPrismaEnabled($prismaEnabled)
207  {
208    $this->prismaEnabled = $prismaEnabled;
209  }
210  /**
211   * @return bool
212   */
213  public function getPrismaEnabled()
214  {
215    return $this->prismaEnabled;
216  }
217  /**
218   * @param AdvertiserTargetingConfig
219   */
220  public function setServingConfig(AdvertiserTargetingConfig $servingConfig)
221  {
222    $this->servingConfig = $servingConfig;
223  }
224  /**
225   * @return AdvertiserTargetingConfig
226   */
227  public function getServingConfig()
228  {
229    return $this->servingConfig;
230  }
231  /**
232   * @param string
233   */
234  public function setUpdateTime($updateTime)
235  {
236    $this->updateTime = $updateTime;
237  }
238  /**
239   * @return string
240   */
241  public function getUpdateTime()
242  {
243    return $this->updateTime;
244  }
245}
246
247// Adding a class alias for backwards compatibility with the previous class name.
248class_alias(Advertiser::class, 'Google_Service_DisplayVideo_Advertiser');
249