1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\DnsKnocker\V20190910; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method BatchCreateRr batchCreateRr(array $options = []) |
9
|
|
|
* @method BatchDeleteRr batchDeleteRr(array $options = []) |
10
|
|
|
* @method ChangeResourceRecord changeResourceRecord(array $options = []) |
11
|
|
|
* @method ChangeResourceRecords changeResourceRecords(array $options = []) |
12
|
|
|
* @method CreateResourceRecord createResourceRecord(array $options = []) |
13
|
|
|
* @method DeleteDomain deleteDomain(array $options = []) |
14
|
|
|
* @method DeleteResourceRecord deleteResourceRecord(array $options = []) |
15
|
|
|
* @method DeleteResourceRecords deleteResourceRecords(array $options = []) |
16
|
|
|
* @method GetDomain getDomain(array $options = []) |
17
|
|
|
* @method GetResourceRecords getResourceRecords(array $options = []) |
18
|
|
|
*/ |
19
|
|
|
class DnsKnockerApiResolver extends ApiResolver |
20
|
|
|
{ |
21
|
|
|
} |
22
|
|
|
|
23
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
24
|
|
|
{ |
25
|
|
|
/** @var string */ |
26
|
|
|
public $product = 'DnsKnocker'; |
27
|
|
|
|
28
|
|
|
/** @var string */ |
29
|
|
|
public $version = '2019-09-10'; |
30
|
|
|
|
31
|
|
|
/** @var string */ |
32
|
|
|
public $method = 'POST'; |
33
|
|
|
|
34
|
|
|
/** @var string */ |
35
|
|
|
public $serviceCode = 'dns_knocker'; |
36
|
|
|
} |
37
|
|
|
|
38
|
|
|
/** |
39
|
|
|
* @method string getAccessID() |
40
|
|
|
* @method string getAccessSecret() |
41
|
|
|
* @method string getResourceRecords() |
42
|
|
|
* @method string getLine() |
43
|
|
|
* @method string getZoneName() |
44
|
|
|
* @method string getTransactionId() |
45
|
|
|
* @method string getGroup() |
46
|
|
|
*/ |
47
|
|
|
class BatchCreateRr extends Rpc |
48
|
|
|
{ |
49
|
|
|
|
50
|
|
|
/** |
51
|
|
|
* @param string $value |
52
|
|
|
* |
53
|
|
|
* @return $this |
54
|
|
|
*/ |
55
|
|
|
public function withAccessID($value) |
56
|
|
|
{ |
57
|
|
|
$this->data['AccessID'] = $value; |
58
|
|
|
$this->options['form_params']['AccessID'] = $value; |
59
|
|
|
|
60
|
|
|
return $this; |
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @param string $value |
65
|
|
|
* |
66
|
|
|
* @return $this |
67
|
|
|
*/ |
68
|
|
|
public function withAccessSecret($value) |
69
|
|
|
{ |
70
|
|
|
$this->data['AccessSecret'] = $value; |
71
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
72
|
|
|
|
73
|
|
|
return $this; |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
/** |
77
|
|
|
* @param string $value |
78
|
|
|
* |
79
|
|
|
* @return $this |
80
|
|
|
*/ |
81
|
|
|
public function withResourceRecords($value) |
82
|
|
|
{ |
83
|
|
|
$this->data['ResourceRecords'] = $value; |
84
|
|
|
$this->options['form_params']['ResourceRecords'] = $value; |
85
|
|
|
|
86
|
|
|
return $this; |
87
|
|
|
} |
88
|
|
|
|
89
|
|
|
/** |
90
|
|
|
* @param string $value |
91
|
|
|
* |
92
|
|
|
* @return $this |
93
|
|
|
*/ |
94
|
|
|
public function withLine($value) |
95
|
|
|
{ |
96
|
|
|
$this->data['Line'] = $value; |
97
|
|
|
$this->options['form_params']['Line'] = $value; |
98
|
|
|
|
99
|
|
|
return $this; |
100
|
|
|
} |
101
|
|
|
|
102
|
|
|
/** |
103
|
|
|
* @param string $value |
104
|
|
|
* |
105
|
|
|
* @return $this |
106
|
|
|
*/ |
107
|
|
|
public function withZoneName($value) |
108
|
|
|
{ |
109
|
|
|
$this->data['ZoneName'] = $value; |
110
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
111
|
|
|
|
112
|
|
|
return $this; |
113
|
|
|
} |
114
|
|
|
|
115
|
|
|
/** |
116
|
|
|
* @param string $value |
117
|
|
|
* |
118
|
|
|
* @return $this |
119
|
|
|
*/ |
120
|
|
|
public function withTransactionId($value) |
121
|
|
|
{ |
122
|
|
|
$this->data['TransactionId'] = $value; |
123
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
124
|
|
|
|
125
|
|
|
return $this; |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @param string $value |
130
|
|
|
* |
131
|
|
|
* @return $this |
132
|
|
|
*/ |
133
|
|
|
public function withGroup($value) |
134
|
|
|
{ |
135
|
|
|
$this->data['Group'] = $value; |
136
|
|
|
$this->options['form_params']['Group'] = $value; |
137
|
|
|
|
138
|
|
|
return $this; |
139
|
|
|
} |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @method string getAccessID() |
144
|
|
|
* @method string getAccessSecret() |
145
|
|
|
* @method string getResourceRecords() |
146
|
|
|
* @method string getLine() |
147
|
|
|
* @method string getZoneName() |
148
|
|
|
* @method string getTransactionId() |
149
|
|
|
* @method string getGroup() |
150
|
|
|
*/ |
151
|
|
|
class BatchDeleteRr extends Rpc |
152
|
|
|
{ |
153
|
|
|
|
154
|
|
|
/** |
155
|
|
|
* @param string $value |
156
|
|
|
* |
157
|
|
|
* @return $this |
158
|
|
|
*/ |
159
|
|
|
public function withAccessID($value) |
160
|
|
|
{ |
161
|
|
|
$this->data['AccessID'] = $value; |
162
|
|
|
$this->options['form_params']['AccessID'] = $value; |
163
|
|
|
|
164
|
|
|
return $this; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* @param string $value |
169
|
|
|
* |
170
|
|
|
* @return $this |
171
|
|
|
*/ |
172
|
|
|
public function withAccessSecret($value) |
173
|
|
|
{ |
174
|
|
|
$this->data['AccessSecret'] = $value; |
175
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
176
|
|
|
|
177
|
|
|
return $this; |
178
|
|
|
} |
179
|
|
|
|
180
|
|
|
/** |
181
|
|
|
* @param string $value |
182
|
|
|
* |
183
|
|
|
* @return $this |
184
|
|
|
*/ |
185
|
|
|
public function withResourceRecords($value) |
186
|
|
|
{ |
187
|
|
|
$this->data['ResourceRecords'] = $value; |
188
|
|
|
$this->options['form_params']['ResourceRecords'] = $value; |
189
|
|
|
|
190
|
|
|
return $this; |
191
|
|
|
} |
192
|
|
|
|
193
|
|
|
/** |
194
|
|
|
* @param string $value |
195
|
|
|
* |
196
|
|
|
* @return $this |
197
|
|
|
*/ |
198
|
|
|
public function withLine($value) |
199
|
|
|
{ |
200
|
|
|
$this->data['Line'] = $value; |
201
|
|
|
$this->options['form_params']['Line'] = $value; |
202
|
|
|
|
203
|
|
|
return $this; |
204
|
|
|
} |
205
|
|
|
|
206
|
|
|
/** |
207
|
|
|
* @param string $value |
208
|
|
|
* |
209
|
|
|
* @return $this |
210
|
|
|
*/ |
211
|
|
|
public function withZoneName($value) |
212
|
|
|
{ |
213
|
|
|
$this->data['ZoneName'] = $value; |
214
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
215
|
|
|
|
216
|
|
|
return $this; |
217
|
|
|
} |
218
|
|
|
|
219
|
|
|
/** |
220
|
|
|
* @param string $value |
221
|
|
|
* |
222
|
|
|
* @return $this |
223
|
|
|
*/ |
224
|
|
|
public function withTransactionId($value) |
225
|
|
|
{ |
226
|
|
|
$this->data['TransactionId'] = $value; |
227
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
228
|
|
|
|
229
|
|
|
return $this; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
/** |
233
|
|
|
* @param string $value |
234
|
|
|
* |
235
|
|
|
* @return $this |
236
|
|
|
*/ |
237
|
|
|
public function withGroup($value) |
238
|
|
|
{ |
239
|
|
|
$this->data['Group'] = $value; |
240
|
|
|
$this->options['form_params']['Group'] = $value; |
241
|
|
|
|
242
|
|
|
return $this; |
243
|
|
|
} |
244
|
|
|
} |
245
|
|
|
|
246
|
|
|
/** |
247
|
|
|
* @method string getAccessID() |
248
|
|
|
* @method string getAccessSecret() |
249
|
|
|
* @method string getNewRRInfo() |
250
|
|
|
* @method string getZoneName() |
251
|
|
|
* @method string getTransactionId() |
252
|
|
|
* @method string getGroup() |
253
|
|
|
* @method string getOldRRInfo() |
254
|
|
|
*/ |
255
|
|
|
class ChangeResourceRecord extends Rpc |
256
|
|
|
{ |
257
|
|
|
|
258
|
|
|
/** |
259
|
|
|
* @param string $value |
260
|
|
|
* |
261
|
|
|
* @return $this |
262
|
|
|
*/ |
263
|
|
|
public function withAccessID($value) |
264
|
|
|
{ |
265
|
|
|
$this->data['AccessID'] = $value; |
266
|
|
|
$this->options['form_params']['AccessID'] = $value; |
267
|
|
|
|
268
|
|
|
return $this; |
269
|
|
|
} |
270
|
|
|
|
271
|
|
|
/** |
272
|
|
|
* @param string $value |
273
|
|
|
* |
274
|
|
|
* @return $this |
275
|
|
|
*/ |
276
|
|
|
public function withAccessSecret($value) |
277
|
|
|
{ |
278
|
|
|
$this->data['AccessSecret'] = $value; |
279
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
280
|
|
|
|
281
|
|
|
return $this; |
282
|
|
|
} |
283
|
|
|
|
284
|
|
|
/** |
285
|
|
|
* @param string $value |
286
|
|
|
* |
287
|
|
|
* @return $this |
288
|
|
|
*/ |
289
|
|
|
public function withNewRRInfo($value) |
290
|
|
|
{ |
291
|
|
|
$this->data['NewRRInfo'] = $value; |
292
|
|
|
$this->options['form_params']['NewRRInfo'] = $value; |
293
|
|
|
|
294
|
|
|
return $this; |
295
|
|
|
} |
296
|
|
|
|
297
|
|
|
/** |
298
|
|
|
* @param string $value |
299
|
|
|
* |
300
|
|
|
* @return $this |
301
|
|
|
*/ |
302
|
|
|
public function withZoneName($value) |
303
|
|
|
{ |
304
|
|
|
$this->data['ZoneName'] = $value; |
305
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
306
|
|
|
|
307
|
|
|
return $this; |
308
|
|
|
} |
309
|
|
|
|
310
|
|
|
/** |
311
|
|
|
* @param string $value |
312
|
|
|
* |
313
|
|
|
* @return $this |
314
|
|
|
*/ |
315
|
|
|
public function withTransactionId($value) |
316
|
|
|
{ |
317
|
|
|
$this->data['TransactionId'] = $value; |
318
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
319
|
|
|
|
320
|
|
|
return $this; |
321
|
|
|
} |
322
|
|
|
|
323
|
|
|
/** |
324
|
|
|
* @param string $value |
325
|
|
|
* |
326
|
|
|
* @return $this |
327
|
|
|
*/ |
328
|
|
|
public function withGroup($value) |
329
|
|
|
{ |
330
|
|
|
$this->data['Group'] = $value; |
331
|
|
|
$this->options['form_params']['Group'] = $value; |
332
|
|
|
|
333
|
|
|
return $this; |
334
|
|
|
} |
335
|
|
|
|
336
|
|
|
/** |
337
|
|
|
* @param string $value |
338
|
|
|
* |
339
|
|
|
* @return $this |
340
|
|
|
*/ |
341
|
|
|
public function withOldRRInfo($value) |
342
|
|
|
{ |
343
|
|
|
$this->data['OldRRInfo'] = $value; |
344
|
|
|
$this->options['form_params']['OldRRInfo'] = $value; |
345
|
|
|
|
346
|
|
|
return $this; |
347
|
|
|
} |
348
|
|
|
} |
349
|
|
|
|
350
|
|
|
/** |
351
|
|
|
* @method string getAccessID() |
352
|
|
|
* @method string getAccessSecret() |
353
|
|
|
* @method string getTypes() |
354
|
|
|
* @method string getResourceRecords() |
355
|
|
|
* @method string getLine() |
356
|
|
|
* @method string getDomainName() |
357
|
|
|
* @method string getZoneName() |
358
|
|
|
* @method string getTransactionId() |
359
|
|
|
* @method string getGroup() |
360
|
|
|
*/ |
361
|
|
|
class ChangeResourceRecords extends Rpc |
362
|
|
|
{ |
363
|
|
|
|
364
|
|
|
/** |
365
|
|
|
* @param string $value |
366
|
|
|
* |
367
|
|
|
* @return $this |
368
|
|
|
*/ |
369
|
|
|
public function withAccessID($value) |
370
|
|
|
{ |
371
|
|
|
$this->data['AccessID'] = $value; |
372
|
|
|
$this->options['form_params']['AccessID'] = $value; |
373
|
|
|
|
374
|
|
|
return $this; |
375
|
|
|
} |
376
|
|
|
|
377
|
|
|
/** |
378
|
|
|
* @param string $value |
379
|
|
|
* |
380
|
|
|
* @return $this |
381
|
|
|
*/ |
382
|
|
|
public function withAccessSecret($value) |
383
|
|
|
{ |
384
|
|
|
$this->data['AccessSecret'] = $value; |
385
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
386
|
|
|
|
387
|
|
|
return $this; |
388
|
|
|
} |
389
|
|
|
|
390
|
|
|
/** |
391
|
|
|
* @param string $value |
392
|
|
|
* |
393
|
|
|
* @return $this |
394
|
|
|
*/ |
395
|
|
|
public function withTypes($value) |
396
|
|
|
{ |
397
|
|
|
$this->data['Types'] = $value; |
398
|
|
|
$this->options['form_params']['Types'] = $value; |
399
|
|
|
|
400
|
|
|
return $this; |
401
|
|
|
} |
402
|
|
|
|
403
|
|
|
/** |
404
|
|
|
* @param string $value |
405
|
|
|
* |
406
|
|
|
* @return $this |
407
|
|
|
*/ |
408
|
|
|
public function withResourceRecords($value) |
409
|
|
|
{ |
410
|
|
|
$this->data['ResourceRecords'] = $value; |
411
|
|
|
$this->options['form_params']['ResourceRecords'] = $value; |
412
|
|
|
|
413
|
|
|
return $this; |
414
|
|
|
} |
415
|
|
|
|
416
|
|
|
/** |
417
|
|
|
* @param string $value |
418
|
|
|
* |
419
|
|
|
* @return $this |
420
|
|
|
*/ |
421
|
|
|
public function withLine($value) |
422
|
|
|
{ |
423
|
|
|
$this->data['Line'] = $value; |
424
|
|
|
$this->options['form_params']['Line'] = $value; |
425
|
|
|
|
426
|
|
|
return $this; |
427
|
|
|
} |
428
|
|
|
|
429
|
|
|
/** |
430
|
|
|
* @param string $value |
431
|
|
|
* |
432
|
|
|
* @return $this |
433
|
|
|
*/ |
434
|
|
|
public function withDomainName($value) |
435
|
|
|
{ |
436
|
|
|
$this->data['DomainName'] = $value; |
437
|
|
|
$this->options['form_params']['DomainName'] = $value; |
438
|
|
|
|
439
|
|
|
return $this; |
440
|
|
|
} |
441
|
|
|
|
442
|
|
|
/** |
443
|
|
|
* @param string $value |
444
|
|
|
* |
445
|
|
|
* @return $this |
446
|
|
|
*/ |
447
|
|
|
public function withZoneName($value) |
448
|
|
|
{ |
449
|
|
|
$this->data['ZoneName'] = $value; |
450
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
451
|
|
|
|
452
|
|
|
return $this; |
453
|
|
|
} |
454
|
|
|
|
455
|
|
|
/** |
456
|
|
|
* @param string $value |
457
|
|
|
* |
458
|
|
|
* @return $this |
459
|
|
|
*/ |
460
|
|
|
public function withTransactionId($value) |
461
|
|
|
{ |
462
|
|
|
$this->data['TransactionId'] = $value; |
463
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
464
|
|
|
|
465
|
|
|
return $this; |
466
|
|
|
} |
467
|
|
|
|
468
|
|
|
/** |
469
|
|
|
* @param string $value |
470
|
|
|
* |
471
|
|
|
* @return $this |
472
|
|
|
*/ |
473
|
|
|
public function withGroup($value) |
474
|
|
|
{ |
475
|
|
|
$this->data['Group'] = $value; |
476
|
|
|
$this->options['form_params']['Group'] = $value; |
477
|
|
|
|
478
|
|
|
return $this; |
479
|
|
|
} |
480
|
|
|
} |
481
|
|
|
|
482
|
|
|
/** |
483
|
|
|
* @method string getAccessID() |
484
|
|
|
* @method string getRrTTL() |
485
|
|
|
* @method string getAccessSecret() |
486
|
|
|
* @method string getRrLine() |
487
|
|
|
* @method string getDomainName() |
488
|
|
|
* @method string getRrValue() |
489
|
|
|
* @method string getZoneName() |
490
|
|
|
* @method string getTransactionId() |
491
|
|
|
* @method string getGroup() |
492
|
|
|
* @method string getRrType() |
493
|
|
|
*/ |
494
|
|
|
class CreateResourceRecord extends Rpc |
495
|
|
|
{ |
496
|
|
|
|
497
|
|
|
/** |
498
|
|
|
* @param string $value |
499
|
|
|
* |
500
|
|
|
* @return $this |
501
|
|
|
*/ |
502
|
|
|
public function withAccessID($value) |
503
|
|
|
{ |
504
|
|
|
$this->data['AccessID'] = $value; |
505
|
|
|
$this->options['form_params']['AccessID'] = $value; |
506
|
|
|
|
507
|
|
|
return $this; |
508
|
|
|
} |
509
|
|
|
|
510
|
|
|
/** |
511
|
|
|
* @param string $value |
512
|
|
|
* |
513
|
|
|
* @return $this |
514
|
|
|
*/ |
515
|
|
|
public function withRrTTL($value) |
516
|
|
|
{ |
517
|
|
|
$this->data['RrTTL'] = $value; |
518
|
|
|
$this->options['form_params']['RrTTL'] = $value; |
519
|
|
|
|
520
|
|
|
return $this; |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* @param string $value |
525
|
|
|
* |
526
|
|
|
* @return $this |
527
|
|
|
*/ |
528
|
|
|
public function withAccessSecret($value) |
529
|
|
|
{ |
530
|
|
|
$this->data['AccessSecret'] = $value; |
531
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
532
|
|
|
|
533
|
|
|
return $this; |
534
|
|
|
} |
535
|
|
|
|
536
|
|
|
/** |
537
|
|
|
* @param string $value |
538
|
|
|
* |
539
|
|
|
* @return $this |
540
|
|
|
*/ |
541
|
|
|
public function withRrLine($value) |
542
|
|
|
{ |
543
|
|
|
$this->data['RrLine'] = $value; |
544
|
|
|
$this->options['form_params']['RrLine'] = $value; |
545
|
|
|
|
546
|
|
|
return $this; |
547
|
|
|
} |
548
|
|
|
|
549
|
|
|
/** |
550
|
|
|
* @param string $value |
551
|
|
|
* |
552
|
|
|
* @return $this |
553
|
|
|
*/ |
554
|
|
|
public function withDomainName($value) |
555
|
|
|
{ |
556
|
|
|
$this->data['DomainName'] = $value; |
557
|
|
|
$this->options['form_params']['DomainName'] = $value; |
558
|
|
|
|
559
|
|
|
return $this; |
560
|
|
|
} |
561
|
|
|
|
562
|
|
|
/** |
563
|
|
|
* @param string $value |
564
|
|
|
* |
565
|
|
|
* @return $this |
566
|
|
|
*/ |
567
|
|
|
public function withRrValue($value) |
568
|
|
|
{ |
569
|
|
|
$this->data['RrValue'] = $value; |
570
|
|
|
$this->options['form_params']['RrValue'] = $value; |
571
|
|
|
|
572
|
|
|
return $this; |
573
|
|
|
} |
574
|
|
|
|
575
|
|
|
/** |
576
|
|
|
* @param string $value |
577
|
|
|
* |
578
|
|
|
* @return $this |
579
|
|
|
*/ |
580
|
|
|
public function withZoneName($value) |
581
|
|
|
{ |
582
|
|
|
$this->data['ZoneName'] = $value; |
583
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
584
|
|
|
|
585
|
|
|
return $this; |
586
|
|
|
} |
587
|
|
|
|
588
|
|
|
/** |
589
|
|
|
* @param string $value |
590
|
|
|
* |
591
|
|
|
* @return $this |
592
|
|
|
*/ |
593
|
|
|
public function withTransactionId($value) |
594
|
|
|
{ |
595
|
|
|
$this->data['TransactionId'] = $value; |
596
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
597
|
|
|
|
598
|
|
|
return $this; |
599
|
|
|
} |
600
|
|
|
|
601
|
|
|
/** |
602
|
|
|
* @param string $value |
603
|
|
|
* |
604
|
|
|
* @return $this |
605
|
|
|
*/ |
606
|
|
|
public function withGroup($value) |
607
|
|
|
{ |
608
|
|
|
$this->data['Group'] = $value; |
609
|
|
|
$this->options['form_params']['Group'] = $value; |
610
|
|
|
|
611
|
|
|
return $this; |
612
|
|
|
} |
613
|
|
|
|
614
|
|
|
/** |
615
|
|
|
* @param string $value |
616
|
|
|
* |
617
|
|
|
* @return $this |
618
|
|
|
*/ |
619
|
|
|
public function withRrType($value) |
620
|
|
|
{ |
621
|
|
|
$this->data['RrType'] = $value; |
622
|
|
|
$this->options['form_params']['RrType'] = $value; |
623
|
|
|
|
624
|
|
|
return $this; |
625
|
|
|
} |
626
|
|
|
} |
627
|
|
|
|
628
|
|
|
/** |
629
|
|
|
* @method string getAccessID() |
630
|
|
|
* @method string getAccessSecret() |
631
|
|
|
* @method string getLine() |
632
|
|
|
* @method string getDomainName() |
633
|
|
|
* @method string getZoneName() |
634
|
|
|
* @method string getTransactionId() |
635
|
|
|
* @method string getGroup() |
636
|
|
|
*/ |
637
|
|
|
class DeleteDomain extends Rpc |
638
|
|
|
{ |
639
|
|
|
|
640
|
|
|
/** |
641
|
|
|
* @param string $value |
642
|
|
|
* |
643
|
|
|
* @return $this |
644
|
|
|
*/ |
645
|
|
|
public function withAccessID($value) |
646
|
|
|
{ |
647
|
|
|
$this->data['AccessID'] = $value; |
648
|
|
|
$this->options['form_params']['AccessID'] = $value; |
649
|
|
|
|
650
|
|
|
return $this; |
651
|
|
|
} |
652
|
|
|
|
653
|
|
|
/** |
654
|
|
|
* @param string $value |
655
|
|
|
* |
656
|
|
|
* @return $this |
657
|
|
|
*/ |
658
|
|
|
public function withAccessSecret($value) |
659
|
|
|
{ |
660
|
|
|
$this->data['AccessSecret'] = $value; |
661
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
662
|
|
|
|
663
|
|
|
return $this; |
664
|
|
|
} |
665
|
|
|
|
666
|
|
|
/** |
667
|
|
|
* @param string $value |
668
|
|
|
* |
669
|
|
|
* @return $this |
670
|
|
|
*/ |
671
|
|
|
public function withLine($value) |
672
|
|
|
{ |
673
|
|
|
$this->data['Line'] = $value; |
674
|
|
|
$this->options['form_params']['Line'] = $value; |
675
|
|
|
|
676
|
|
|
return $this; |
677
|
|
|
} |
678
|
|
|
|
679
|
|
|
/** |
680
|
|
|
* @param string $value |
681
|
|
|
* |
682
|
|
|
* @return $this |
683
|
|
|
*/ |
684
|
|
|
public function withDomainName($value) |
685
|
|
|
{ |
686
|
|
|
$this->data['DomainName'] = $value; |
687
|
|
|
$this->options['form_params']['DomainName'] = $value; |
688
|
|
|
|
689
|
|
|
return $this; |
690
|
|
|
} |
691
|
|
|
|
692
|
|
|
/** |
693
|
|
|
* @param string $value |
694
|
|
|
* |
695
|
|
|
* @return $this |
696
|
|
|
*/ |
697
|
|
|
public function withZoneName($value) |
698
|
|
|
{ |
699
|
|
|
$this->data['ZoneName'] = $value; |
700
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
701
|
|
|
|
702
|
|
|
return $this; |
703
|
|
|
} |
704
|
|
|
|
705
|
|
|
/** |
706
|
|
|
* @param string $value |
707
|
|
|
* |
708
|
|
|
* @return $this |
709
|
|
|
*/ |
710
|
|
|
public function withTransactionId($value) |
711
|
|
|
{ |
712
|
|
|
$this->data['TransactionId'] = $value; |
713
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
714
|
|
|
|
715
|
|
|
return $this; |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* @param string $value |
720
|
|
|
* |
721
|
|
|
* @return $this |
722
|
|
|
*/ |
723
|
|
|
public function withGroup($value) |
724
|
|
|
{ |
725
|
|
|
$this->data['Group'] = $value; |
726
|
|
|
$this->options['form_params']['Group'] = $value; |
727
|
|
|
|
728
|
|
|
return $this; |
729
|
|
|
} |
730
|
|
|
} |
731
|
|
|
|
732
|
|
|
/** |
733
|
|
|
* @method string getAccessID() |
734
|
|
|
* @method string getRRTTL() |
735
|
|
|
* @method string getAccessSecret() |
736
|
|
|
* @method string getRRLine() |
737
|
|
|
* @method string getDomainName() |
738
|
|
|
* @method string getRRValue() |
739
|
|
|
* @method string getZoneName() |
740
|
|
|
* @method string getTransactionId() |
741
|
|
|
* @method string getGroup() |
742
|
|
|
* @method string getRRType() |
743
|
|
|
*/ |
744
|
|
|
class DeleteResourceRecord extends Rpc |
745
|
|
|
{ |
746
|
|
|
|
747
|
|
|
/** |
748
|
|
|
* @param string $value |
749
|
|
|
* |
750
|
|
|
* @return $this |
751
|
|
|
*/ |
752
|
|
|
public function withAccessID($value) |
753
|
|
|
{ |
754
|
|
|
$this->data['AccessID'] = $value; |
755
|
|
|
$this->options['form_params']['AccessID'] = $value; |
756
|
|
|
|
757
|
|
|
return $this; |
758
|
|
|
} |
759
|
|
|
|
760
|
|
|
/** |
761
|
|
|
* @param string $value |
762
|
|
|
* |
763
|
|
|
* @return $this |
764
|
|
|
*/ |
765
|
|
|
public function withRRTTL($value) |
766
|
|
|
{ |
767
|
|
|
$this->data['RRTTL'] = $value; |
768
|
|
|
$this->options['form_params']['RRTTL'] = $value; |
769
|
|
|
|
770
|
|
|
return $this; |
771
|
|
|
} |
772
|
|
|
|
773
|
|
|
/** |
774
|
|
|
* @param string $value |
775
|
|
|
* |
776
|
|
|
* @return $this |
777
|
|
|
*/ |
778
|
|
|
public function withAccessSecret($value) |
779
|
|
|
{ |
780
|
|
|
$this->data['AccessSecret'] = $value; |
781
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
782
|
|
|
|
783
|
|
|
return $this; |
784
|
|
|
} |
785
|
|
|
|
786
|
|
|
/** |
787
|
|
|
* @param string $value |
788
|
|
|
* |
789
|
|
|
* @return $this |
790
|
|
|
*/ |
791
|
|
|
public function withRRLine($value) |
792
|
|
|
{ |
793
|
|
|
$this->data['RRLine'] = $value; |
794
|
|
|
$this->options['form_params']['RRLine'] = $value; |
795
|
|
|
|
796
|
|
|
return $this; |
797
|
|
|
} |
798
|
|
|
|
799
|
|
|
/** |
800
|
|
|
* @param string $value |
801
|
|
|
* |
802
|
|
|
* @return $this |
803
|
|
|
*/ |
804
|
|
|
public function withDomainName($value) |
805
|
|
|
{ |
806
|
|
|
$this->data['DomainName'] = $value; |
807
|
|
|
$this->options['form_params']['DomainName'] = $value; |
808
|
|
|
|
809
|
|
|
return $this; |
810
|
|
|
} |
811
|
|
|
|
812
|
|
|
/** |
813
|
|
|
* @param string $value |
814
|
|
|
* |
815
|
|
|
* @return $this |
816
|
|
|
*/ |
817
|
|
|
public function withRRValue($value) |
818
|
|
|
{ |
819
|
|
|
$this->data['RRValue'] = $value; |
820
|
|
|
$this->options['form_params']['RRValue'] = $value; |
821
|
|
|
|
822
|
|
|
return $this; |
823
|
|
|
} |
824
|
|
|
|
825
|
|
|
/** |
826
|
|
|
* @param string $value |
827
|
|
|
* |
828
|
|
|
* @return $this |
829
|
|
|
*/ |
830
|
|
|
public function withZoneName($value) |
831
|
|
|
{ |
832
|
|
|
$this->data['ZoneName'] = $value; |
833
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
834
|
|
|
|
835
|
|
|
return $this; |
836
|
|
|
} |
837
|
|
|
|
838
|
|
|
/** |
839
|
|
|
* @param string $value |
840
|
|
|
* |
841
|
|
|
* @return $this |
842
|
|
|
*/ |
843
|
|
|
public function withTransactionId($value) |
844
|
|
|
{ |
845
|
|
|
$this->data['TransactionId'] = $value; |
846
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
847
|
|
|
|
848
|
|
|
return $this; |
849
|
|
|
} |
850
|
|
|
|
851
|
|
|
/** |
852
|
|
|
* @param string $value |
853
|
|
|
* |
854
|
|
|
* @return $this |
855
|
|
|
*/ |
856
|
|
|
public function withGroup($value) |
857
|
|
|
{ |
858
|
|
|
$this->data['Group'] = $value; |
859
|
|
|
$this->options['form_params']['Group'] = $value; |
860
|
|
|
|
861
|
|
|
return $this; |
862
|
|
|
} |
863
|
|
|
|
864
|
|
|
/** |
865
|
|
|
* @param string $value |
866
|
|
|
* |
867
|
|
|
* @return $this |
868
|
|
|
*/ |
869
|
|
|
public function withRRType($value) |
870
|
|
|
{ |
871
|
|
|
$this->data['RRType'] = $value; |
872
|
|
|
$this->options['form_params']['RRType'] = $value; |
873
|
|
|
|
874
|
|
|
return $this; |
875
|
|
|
} |
876
|
|
|
} |
877
|
|
|
|
878
|
|
|
/** |
879
|
|
|
* @method string getAccessID() |
880
|
|
|
* @method string getAccessSecret() |
881
|
|
|
* @method string getTypeList() |
882
|
|
|
* @method string getLine() |
883
|
|
|
* @method string getDomainName() |
884
|
|
|
* @method string getZoneName() |
885
|
|
|
* @method string getTransactionId() |
886
|
|
|
* @method string getGroup() |
887
|
|
|
*/ |
888
|
|
|
class DeleteResourceRecords extends Rpc |
889
|
|
|
{ |
890
|
|
|
|
891
|
|
|
/** |
892
|
|
|
* @param string $value |
893
|
|
|
* |
894
|
|
|
* @return $this |
895
|
|
|
*/ |
896
|
|
|
public function withAccessID($value) |
897
|
|
|
{ |
898
|
|
|
$this->data['AccessID'] = $value; |
899
|
|
|
$this->options['form_params']['AccessID'] = $value; |
900
|
|
|
|
901
|
|
|
return $this; |
902
|
|
|
} |
903
|
|
|
|
904
|
|
|
/** |
905
|
|
|
* @param string $value |
906
|
|
|
* |
907
|
|
|
* @return $this |
908
|
|
|
*/ |
909
|
|
|
public function withAccessSecret($value) |
910
|
|
|
{ |
911
|
|
|
$this->data['AccessSecret'] = $value; |
912
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
913
|
|
|
|
914
|
|
|
return $this; |
915
|
|
|
} |
916
|
|
|
|
917
|
|
|
/** |
918
|
|
|
* @param string $value |
919
|
|
|
* |
920
|
|
|
* @return $this |
921
|
|
|
*/ |
922
|
|
|
public function withTypeList($value) |
923
|
|
|
{ |
924
|
|
|
$this->data['TypeList'] = $value; |
925
|
|
|
$this->options['form_params']['TypeList'] = $value; |
926
|
|
|
|
927
|
|
|
return $this; |
928
|
|
|
} |
929
|
|
|
|
930
|
|
|
/** |
931
|
|
|
* @param string $value |
932
|
|
|
* |
933
|
|
|
* @return $this |
934
|
|
|
*/ |
935
|
|
|
public function withLine($value) |
936
|
|
|
{ |
937
|
|
|
$this->data['Line'] = $value; |
938
|
|
|
$this->options['form_params']['Line'] = $value; |
939
|
|
|
|
940
|
|
|
return $this; |
941
|
|
|
} |
942
|
|
|
|
943
|
|
|
/** |
944
|
|
|
* @param string $value |
945
|
|
|
* |
946
|
|
|
* @return $this |
947
|
|
|
*/ |
948
|
|
|
public function withDomainName($value) |
949
|
|
|
{ |
950
|
|
|
$this->data['DomainName'] = $value; |
951
|
|
|
$this->options['form_params']['DomainName'] = $value; |
952
|
|
|
|
953
|
|
|
return $this; |
954
|
|
|
} |
955
|
|
|
|
956
|
|
|
/** |
957
|
|
|
* @param string $value |
958
|
|
|
* |
959
|
|
|
* @return $this |
960
|
|
|
*/ |
961
|
|
|
public function withZoneName($value) |
962
|
|
|
{ |
963
|
|
|
$this->data['ZoneName'] = $value; |
964
|
|
|
$this->options['form_params']['ZoneName'] = $value; |
965
|
|
|
|
966
|
|
|
return $this; |
967
|
|
|
} |
968
|
|
|
|
969
|
|
|
/** |
970
|
|
|
* @param string $value |
971
|
|
|
* |
972
|
|
|
* @return $this |
973
|
|
|
*/ |
974
|
|
|
public function withTransactionId($value) |
975
|
|
|
{ |
976
|
|
|
$this->data['TransactionId'] = $value; |
977
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
978
|
|
|
|
979
|
|
|
return $this; |
980
|
|
|
} |
981
|
|
|
|
982
|
|
|
/** |
983
|
|
|
* @param string $value |
984
|
|
|
* |
985
|
|
|
* @return $this |
986
|
|
|
*/ |
987
|
|
|
public function withGroup($value) |
988
|
|
|
{ |
989
|
|
|
$this->data['Group'] = $value; |
990
|
|
|
$this->options['form_params']['Group'] = $value; |
991
|
|
|
|
992
|
|
|
return $this; |
993
|
|
|
} |
994
|
|
|
} |
995
|
|
|
|
996
|
|
|
/** |
997
|
|
|
* @method string getAccessID() |
998
|
|
|
* @method string getAccessSecret() |
999
|
|
|
* @method string getDomainName() |
1000
|
|
|
* @method string getDomainLine() |
1001
|
|
|
* @method string getGroup() |
1002
|
|
|
*/ |
1003
|
|
|
class GetDomain extends Rpc |
1004
|
|
|
{ |
1005
|
|
|
|
1006
|
|
|
/** |
1007
|
|
|
* @param string $value |
1008
|
|
|
* |
1009
|
|
|
* @return $this |
1010
|
|
|
*/ |
1011
|
|
|
public function withAccessID($value) |
1012
|
|
|
{ |
1013
|
|
|
$this->data['AccessID'] = $value; |
1014
|
|
|
$this->options['form_params']['AccessID'] = $value; |
1015
|
|
|
|
1016
|
|
|
return $this; |
1017
|
|
|
} |
1018
|
|
|
|
1019
|
|
|
/** |
1020
|
|
|
* @param string $value |
1021
|
|
|
* |
1022
|
|
|
* @return $this |
1023
|
|
|
*/ |
1024
|
|
|
public function withAccessSecret($value) |
1025
|
|
|
{ |
1026
|
|
|
$this->data['AccessSecret'] = $value; |
1027
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
1028
|
|
|
|
1029
|
|
|
return $this; |
1030
|
|
|
} |
1031
|
|
|
|
1032
|
|
|
/** |
1033
|
|
|
* @param string $value |
1034
|
|
|
* |
1035
|
|
|
* @return $this |
1036
|
|
|
*/ |
1037
|
|
|
public function withDomainName($value) |
1038
|
|
|
{ |
1039
|
|
|
$this->data['DomainName'] = $value; |
1040
|
|
|
$this->options['form_params']['DomainName'] = $value; |
1041
|
|
|
|
1042
|
|
|
return $this; |
1043
|
|
|
} |
1044
|
|
|
|
1045
|
|
|
/** |
1046
|
|
|
* @param string $value |
1047
|
|
|
* |
1048
|
|
|
* @return $this |
1049
|
|
|
*/ |
1050
|
|
|
public function withDomainLine($value) |
1051
|
|
|
{ |
1052
|
|
|
$this->data['DomainLine'] = $value; |
1053
|
|
|
$this->options['form_params']['DomainLine'] = $value; |
1054
|
|
|
|
1055
|
|
|
return $this; |
1056
|
|
|
} |
1057
|
|
|
|
1058
|
|
|
/** |
1059
|
|
|
* @param string $value |
1060
|
|
|
* |
1061
|
|
|
* @return $this |
1062
|
|
|
*/ |
1063
|
|
|
public function withGroup($value) |
1064
|
|
|
{ |
1065
|
|
|
$this->data['Group'] = $value; |
1066
|
|
|
$this->options['form_params']['Group'] = $value; |
1067
|
|
|
|
1068
|
|
|
return $this; |
1069
|
|
|
} |
1070
|
|
|
} |
1071
|
|
|
|
1072
|
|
|
/** |
1073
|
|
|
* @method string getAccessID() |
1074
|
|
|
* @method string getAccessSecret() |
1075
|
|
|
* @method string getZone() |
1076
|
|
|
* @method string getDomainName() |
1077
|
|
|
* @method string getTransactionId() |
1078
|
|
|
* @method string getDomainLine() |
1079
|
|
|
* @method string getGroup() |
1080
|
|
|
*/ |
1081
|
|
|
class GetResourceRecords extends Rpc |
1082
|
|
|
{ |
1083
|
|
|
|
1084
|
|
|
/** |
1085
|
|
|
* @param string $value |
1086
|
|
|
* |
1087
|
|
|
* @return $this |
1088
|
|
|
*/ |
1089
|
|
|
public function withAccessID($value) |
1090
|
|
|
{ |
1091
|
|
|
$this->data['AccessID'] = $value; |
1092
|
|
|
$this->options['form_params']['AccessID'] = $value; |
1093
|
|
|
|
1094
|
|
|
return $this; |
1095
|
|
|
} |
1096
|
|
|
|
1097
|
|
|
/** |
1098
|
|
|
* @param string $value |
1099
|
|
|
* |
1100
|
|
|
* @return $this |
1101
|
|
|
*/ |
1102
|
|
|
public function withAccessSecret($value) |
1103
|
|
|
{ |
1104
|
|
|
$this->data['AccessSecret'] = $value; |
1105
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
1106
|
|
|
|
1107
|
|
|
return $this; |
1108
|
|
|
} |
1109
|
|
|
|
1110
|
|
|
/** |
1111
|
|
|
* @param string $value |
1112
|
|
|
* |
1113
|
|
|
* @return $this |
1114
|
|
|
*/ |
1115
|
|
|
public function withZone($value) |
1116
|
|
|
{ |
1117
|
|
|
$this->data['Zone'] = $value; |
1118
|
|
|
$this->options['form_params']['Zone'] = $value; |
1119
|
|
|
|
1120
|
|
|
return $this; |
1121
|
|
|
} |
1122
|
|
|
|
1123
|
|
|
/** |
1124
|
|
|
* @param string $value |
1125
|
|
|
* |
1126
|
|
|
* @return $this |
1127
|
|
|
*/ |
1128
|
|
|
public function withDomainName($value) |
1129
|
|
|
{ |
1130
|
|
|
$this->data['DomainName'] = $value; |
1131
|
|
|
$this->options['form_params']['DomainName'] = $value; |
1132
|
|
|
|
1133
|
|
|
return $this; |
1134
|
|
|
} |
1135
|
|
|
|
1136
|
|
|
/** |
1137
|
|
|
* @param string $value |
1138
|
|
|
* |
1139
|
|
|
* @return $this |
1140
|
|
|
*/ |
1141
|
|
|
public function withTransactionId($value) |
1142
|
|
|
{ |
1143
|
|
|
$this->data['TransactionId'] = $value; |
1144
|
|
|
$this->options['form_params']['TransactionId'] = $value; |
1145
|
|
|
|
1146
|
|
|
return $this; |
1147
|
|
|
} |
1148
|
|
|
|
1149
|
|
|
/** |
1150
|
|
|
* @param string $value |
1151
|
|
|
* |
1152
|
|
|
* @return $this |
1153
|
|
|
*/ |
1154
|
|
|
public function withDomainLine($value) |
1155
|
|
|
{ |
1156
|
|
|
$this->data['DomainLine'] = $value; |
1157
|
|
|
$this->options['form_params']['DomainLine'] = $value; |
1158
|
|
|
|
1159
|
|
|
return $this; |
1160
|
|
|
} |
1161
|
|
|
|
1162
|
|
|
/** |
1163
|
|
|
* @param string $value |
1164
|
|
|
* |
1165
|
|
|
* @return $this |
1166
|
|
|
*/ |
1167
|
|
|
public function withGroup($value) |
1168
|
|
|
{ |
1169
|
|
|
$this->data['Group'] = $value; |
1170
|
|
|
$this->options['form_params']['Group'] = $value; |
1171
|
|
|
|
1172
|
|
|
return $this; |
1173
|
|
|
} |
1174
|
|
|
} |
1175
|
|
|
|