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\CloudDomains;
|
---|
19 |
|
---|
20 | class Registration extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'supportedPrivacy';
|
---|
23 | protected $contactSettingsType = ContactSettings::class;
|
---|
24 | protected $contactSettingsDataType = '';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $createTime;
|
---|
29 | protected $dnsSettingsType = DnsSettings::class;
|
---|
30 | protected $dnsSettingsDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $domainName;
|
---|
35 | /**
|
---|
36 | * @var string[]
|
---|
37 | */
|
---|
38 | public $domainProperties;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $expireTime;
|
---|
43 | /**
|
---|
44 | * @var string[]
|
---|
45 | */
|
---|
46 | public $issues;
|
---|
47 | /**
|
---|
48 | * @var string[]
|
---|
49 | */
|
---|
50 | public $labels;
|
---|
51 | protected $managementSettingsType = ManagementSettings::class;
|
---|
52 | protected $managementSettingsDataType = '';
|
---|
53 | /**
|
---|
54 | * @var string
|
---|
55 | */
|
---|
56 | public $name;
|
---|
57 | protected $pendingContactSettingsType = ContactSettings::class;
|
---|
58 | protected $pendingContactSettingsDataType = '';
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $registerFailureReason;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $state;
|
---|
67 | /**
|
---|
68 | * @var string[]
|
---|
69 | */
|
---|
70 | public $supportedPrivacy;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $transferFailureReason;
|
---|
75 |
|
---|
76 | /**
|
---|
77 | * @param ContactSettings
|
---|
78 | */
|
---|
79 | public function setContactSettings(ContactSettings $contactSettings)
|
---|
80 | {
|
---|
81 | $this->contactSettings = $contactSettings;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return ContactSettings
|
---|
85 | */
|
---|
86 | public function getContactSettings()
|
---|
87 | {
|
---|
88 | return $this->contactSettings;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param string
|
---|
92 | */
|
---|
93 | public function setCreateTime($createTime)
|
---|
94 | {
|
---|
95 | $this->createTime = $createTime;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return string
|
---|
99 | */
|
---|
100 | public function getCreateTime()
|
---|
101 | {
|
---|
102 | return $this->createTime;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param DnsSettings
|
---|
106 | */
|
---|
107 | public function setDnsSettings(DnsSettings $dnsSettings)
|
---|
108 | {
|
---|
109 | $this->dnsSettings = $dnsSettings;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return DnsSettings
|
---|
113 | */
|
---|
114 | public function getDnsSettings()
|
---|
115 | {
|
---|
116 | return $this->dnsSettings;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param string
|
---|
120 | */
|
---|
121 | public function setDomainName($domainName)
|
---|
122 | {
|
---|
123 | $this->domainName = $domainName;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return string
|
---|
127 | */
|
---|
128 | public function getDomainName()
|
---|
129 | {
|
---|
130 | return $this->domainName;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string[]
|
---|
134 | */
|
---|
135 | public function setDomainProperties($domainProperties)
|
---|
136 | {
|
---|
137 | $this->domainProperties = $domainProperties;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string[]
|
---|
141 | */
|
---|
142 | public function getDomainProperties()
|
---|
143 | {
|
---|
144 | return $this->domainProperties;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setExpireTime($expireTime)
|
---|
150 | {
|
---|
151 | $this->expireTime = $expireTime;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getExpireTime()
|
---|
157 | {
|
---|
158 | return $this->expireTime;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string[]
|
---|
162 | */
|
---|
163 | public function setIssues($issues)
|
---|
164 | {
|
---|
165 | $this->issues = $issues;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string[]
|
---|
169 | */
|
---|
170 | public function getIssues()
|
---|
171 | {
|
---|
172 | return $this->issues;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param string[]
|
---|
176 | */
|
---|
177 | public function setLabels($labels)
|
---|
178 | {
|
---|
179 | $this->labels = $labels;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return string[]
|
---|
183 | */
|
---|
184 | public function getLabels()
|
---|
185 | {
|
---|
186 | return $this->labels;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param ManagementSettings
|
---|
190 | */
|
---|
191 | public function setManagementSettings(ManagementSettings $managementSettings)
|
---|
192 | {
|
---|
193 | $this->managementSettings = $managementSettings;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return ManagementSettings
|
---|
197 | */
|
---|
198 | public function getManagementSettings()
|
---|
199 | {
|
---|
200 | return $this->managementSettings;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param string
|
---|
204 | */
|
---|
205 | public function setName($name)
|
---|
206 | {
|
---|
207 | $this->name = $name;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return string
|
---|
211 | */
|
---|
212 | public function getName()
|
---|
213 | {
|
---|
214 | return $this->name;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param ContactSettings
|
---|
218 | */
|
---|
219 | public function setPendingContactSettings(ContactSettings $pendingContactSettings)
|
---|
220 | {
|
---|
221 | $this->pendingContactSettings = $pendingContactSettings;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return ContactSettings
|
---|
225 | */
|
---|
226 | public function getPendingContactSettings()
|
---|
227 | {
|
---|
228 | return $this->pendingContactSettings;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param string
|
---|
232 | */
|
---|
233 | public function setRegisterFailureReason($registerFailureReason)
|
---|
234 | {
|
---|
235 | $this->registerFailureReason = $registerFailureReason;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return string
|
---|
239 | */
|
---|
240 | public function getRegisterFailureReason()
|
---|
241 | {
|
---|
242 | return $this->registerFailureReason;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param string
|
---|
246 | */
|
---|
247 | public function setState($state)
|
---|
248 | {
|
---|
249 | $this->state = $state;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return string
|
---|
253 | */
|
---|
254 | public function getState()
|
---|
255 | {
|
---|
256 | return $this->state;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param string[]
|
---|
260 | */
|
---|
261 | public function setSupportedPrivacy($supportedPrivacy)
|
---|
262 | {
|
---|
263 | $this->supportedPrivacy = $supportedPrivacy;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return string[]
|
---|
267 | */
|
---|
268 | public function getSupportedPrivacy()
|
---|
269 | {
|
---|
270 | return $this->supportedPrivacy;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param string
|
---|
274 | */
|
---|
275 | public function setTransferFailureReason($transferFailureReason)
|
---|
276 | {
|
---|
277 | $this->transferFailureReason = $transferFailureReason;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return string
|
---|
281 | */
|
---|
282 | public function getTransferFailureReason()
|
---|
283 | {
|
---|
284 | return $this->transferFailureReason;
|
---|
285 | }
|
---|
286 | }
|
---|
287 |
|
---|
288 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
289 | class_alias(Registration::class, 'Google_Service_CloudDomains_Registration');
|
---|