source: vendor/google/apiclient-services/src/Adsense/PolicyIssue.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload new project files

  • Property mode set to 100644
File size: 4.3 KB
Line 
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\Adsense;
19
20class PolicyIssue extends \Google\Collection
21{
22 protected $collection_key = 'policyTopics';
23 /**
24 * @var string
25 */
26 public $action;
27 /**
28 * @var string[]
29 */
30 public $adClients;
31 /**
32 * @var string
33 */
34 public $adRequestCount;
35 /**
36 * @var string
37 */
38 public $entityType;
39 protected $firstDetectedDateType = Date::class;
40 protected $firstDetectedDateDataType = '';
41 protected $lastDetectedDateType = Date::class;
42 protected $lastDetectedDateDataType = '';
43 /**
44 * @var string
45 */
46 public $name;
47 protected $policyTopicsType = PolicyTopic::class;
48 protected $policyTopicsDataType = 'array';
49 /**
50 * @var string
51 */
52 public $site;
53 /**
54 * @var string
55 */
56 public $siteSection;
57 /**
58 * @var string
59 */
60 public $uri;
61 protected $warningEscalationDateType = Date::class;
62 protected $warningEscalationDateDataType = '';
63
64 /**
65 * @param string
66 */
67 public function setAction($action)
68 {
69 $this->action = $action;
70 }
71 /**
72 * @return string
73 */
74 public function getAction()
75 {
76 return $this->action;
77 }
78 /**
79 * @param string[]
80 */
81 public function setAdClients($adClients)
82 {
83 $this->adClients = $adClients;
84 }
85 /**
86 * @return string[]
87 */
88 public function getAdClients()
89 {
90 return $this->adClients;
91 }
92 /**
93 * @param string
94 */
95 public function setAdRequestCount($adRequestCount)
96 {
97 $this->adRequestCount = $adRequestCount;
98 }
99 /**
100 * @return string
101 */
102 public function getAdRequestCount()
103 {
104 return $this->adRequestCount;
105 }
106 /**
107 * @param string
108 */
109 public function setEntityType($entityType)
110 {
111 $this->entityType = $entityType;
112 }
113 /**
114 * @return string
115 */
116 public function getEntityType()
117 {
118 return $this->entityType;
119 }
120 /**
121 * @param Date
122 */
123 public function setFirstDetectedDate(Date $firstDetectedDate)
124 {
125 $this->firstDetectedDate = $firstDetectedDate;
126 }
127 /**
128 * @return Date
129 */
130 public function getFirstDetectedDate()
131 {
132 return $this->firstDetectedDate;
133 }
134 /**
135 * @param Date
136 */
137 public function setLastDetectedDate(Date $lastDetectedDate)
138 {
139 $this->lastDetectedDate = $lastDetectedDate;
140 }
141 /**
142 * @return Date
143 */
144 public function getLastDetectedDate()
145 {
146 return $this->lastDetectedDate;
147 }
148 /**
149 * @param string
150 */
151 public function setName($name)
152 {
153 $this->name = $name;
154 }
155 /**
156 * @return string
157 */
158 public function getName()
159 {
160 return $this->name;
161 }
162 /**
163 * @param PolicyTopic[]
164 */
165 public function setPolicyTopics($policyTopics)
166 {
167 $this->policyTopics = $policyTopics;
168 }
169 /**
170 * @return PolicyTopic[]
171 */
172 public function getPolicyTopics()
173 {
174 return $this->policyTopics;
175 }
176 /**
177 * @param string
178 */
179 public function setSite($site)
180 {
181 $this->site = $site;
182 }
183 /**
184 * @return string
185 */
186 public function getSite()
187 {
188 return $this->site;
189 }
190 /**
191 * @param string
192 */
193 public function setSiteSection($siteSection)
194 {
195 $this->siteSection = $siteSection;
196 }
197 /**
198 * @return string
199 */
200 public function getSiteSection()
201 {
202 return $this->siteSection;
203 }
204 /**
205 * @param string
206 */
207 public function setUri($uri)
208 {
209 $this->uri = $uri;
210 }
211 /**
212 * @return string
213 */
214 public function getUri()
215 {
216 return $this->uri;
217 }
218 /**
219 * @param Date
220 */
221 public function setWarningEscalationDate(Date $warningEscalationDate)
222 {
223 $this->warningEscalationDate = $warningEscalationDate;
224 }
225 /**
226 * @return Date
227 */
228 public function getWarningEscalationDate()
229 {
230 return $this->warningEscalationDate;
231 }
232}
233
234// Adding a class alias for backwards compatibility with the previous class name.
235class_alias(PolicyIssue::class, 'Google_Service_Adsense_PolicyIssue');
Note: See TracBrowser for help on using the repository browser.