-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathzz_gen_client.go
More file actions
811 lines (608 loc) · 21.8 KB
/
zz_gen_client.go
File metadata and controls
811 lines (608 loc) · 21.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
// Code generated by gen/gen_test.go DO NOT EDIT.
package namesilo
import (
"context"
)
// AddAccountFunds Execute operation addAccountFunds.
func (c *Client) AddAccountFunds(ctx context.Context, params *AddAccountFundsParams) (*AddAccountFunds, error) {
op := &AddAccountFunds{}
err := c.do(ctx, "addAccountFunds", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// AddAutoRenewal Execute operation addAutoRenewal.
func (c *Client) AddAutoRenewal(ctx context.Context, params *AddAutoRenewalParams) (*AddAutoRenewal, error) {
op := &AddAutoRenewal{}
err := c.do(ctx, "addAutoRenewal", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// AddPrivacy Execute operation addPrivacy.
func (c *Client) AddPrivacy(ctx context.Context, params *AddPrivacyParams) (*AddPrivacy, error) {
op := &AddPrivacy{}
err := c.do(ctx, "addPrivacy", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// AddRegisteredNameServer Execute operation addRegisteredNameServer.
func (c *Client) AddRegisteredNameServer(ctx context.Context, params *AddRegisteredNameServerParams) (*AddRegisteredNameServer, error) {
op := &AddRegisteredNameServer{}
err := c.do(ctx, "addRegisteredNameServer", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// BidAuction Execute operation bidAuction.
func (c *Client) BidAuction(ctx context.Context, params *BidAuctionParams) (*BidAuction, error) {
op := &BidAuction{}
err := c.do(ctx, "bidAuction", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// BuyNowAuction Execute operation buyNowAuction.
func (c *Client) BuyNowAuction(ctx context.Context, params *BuyNowAuctionParams) (*BuyNowAuction, error) {
op := &BuyNowAuction{}
err := c.do(ctx, "buyNowAuction", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ChangeNameServers Execute operation changeNameServers.
func (c *Client) ChangeNameServers(ctx context.Context, params *ChangeNameServersParams) (*ChangeNameServers, error) {
op := &ChangeNameServers{}
err := c.do(ctx, "changeNameServers", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// CheckRegisterAvailability Execute operation checkRegisterAvailability.
func (c *Client) CheckRegisterAvailability(ctx context.Context, params *CheckRegisterAvailabilityParams) (*CheckRegisterAvailability, error) {
op := &CheckRegisterAvailability{}
err := c.do(ctx, "checkRegisterAvailability", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// CheckTransferAvailability Execute operation checkTransferAvailability.
func (c *Client) CheckTransferAvailability(ctx context.Context, params *CheckTransferAvailabilityParams) (*CheckTransferAvailability, error) {
op := &CheckTransferAvailability{}
err := c.do(ctx, "checkTransferAvailability", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// CheckTransferStatus Execute operation checkTransferStatus.
func (c *Client) CheckTransferStatus(ctx context.Context, params *CheckTransferStatusParams) (*CheckTransferStatus, error) {
op := &CheckTransferStatus{}
err := c.do(ctx, "checkTransferStatus", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ConfigureEmailForward Execute operation configureEmailForward.
func (c *Client) ConfigureEmailForward(ctx context.Context, params *ConfigureEmailForwardParams) (*ConfigureEmailForward, error) {
op := &ConfigureEmailForward{}
err := c.do(ctx, "configureEmailForward", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ContactAdd Execute operation contactAdd.
func (c *Client) ContactAdd(ctx context.Context, params *ContactAddParams) (*ContactAdd, error) {
op := &ContactAdd{}
err := c.do(ctx, "contactAdd", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ContactDelete Execute operation contactDelete.
func (c *Client) ContactDelete(ctx context.Context, params *ContactDeleteParams) (*ContactDelete, error) {
op := &ContactDelete{}
err := c.do(ctx, "contactDelete", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ContactDomainAssociate Execute operation contactDomainAssociate.
func (c *Client) ContactDomainAssociate(ctx context.Context, params *ContactDomainAssociateParams) (*ContactDomainAssociate, error) {
op := &ContactDomainAssociate{}
err := c.do(ctx, "contactDomainAssociate", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ContactList Execute operation contactList.
func (c *Client) ContactList(ctx context.Context, params *ContactListParams) (*ContactList, error) {
op := &ContactList{}
err := c.do(ctx, "contactList", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ContactUpdate Execute operation contactUpdate.
func (c *Client) ContactUpdate(ctx context.Context, params *ContactUpdateParams) (*ContactUpdate, error) {
op := &ContactUpdate{}
err := c.do(ctx, "contactUpdate", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// CountExpiringDomains Execute operation countExpiringDomains.
func (c *Client) CountExpiringDomains(ctx context.Context, params *CountExpiringDomainsParams) (*CountExpiringDomains, error) {
op := &CountExpiringDomains{}
err := c.do(ctx, "countExpiringDomains", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DeleteEmailForward Execute operation deleteEmailForward.
func (c *Client) DeleteEmailForward(ctx context.Context, params *DeleteEmailForwardParams) (*DeleteEmailForward, error) {
op := &DeleteEmailForward{}
err := c.do(ctx, "deleteEmailForward", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DeleteRegisteredNameServer Execute operation deleteRegisteredNameServer.
func (c *Client) DeleteRegisteredNameServer(ctx context.Context, params *DeleteRegisteredNameServerParams) (*DeleteRegisteredNameServer, error) {
op := &DeleteRegisteredNameServer{}
err := c.do(ctx, "deleteRegisteredNameServer", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsAddRecord Execute operation dnsAddRecord.
func (c *Client) DnsAddRecord(ctx context.Context, params *DnsAddRecordParams) (*DnsAddRecord, error) {
op := &DnsAddRecord{}
err := c.do(ctx, "dnsAddRecord", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsDeleteRecord Execute operation dnsDeleteRecord.
func (c *Client) DnsDeleteRecord(ctx context.Context, params *DnsDeleteRecordParams) (*DnsDeleteRecord, error) {
op := &DnsDeleteRecord{}
err := c.do(ctx, "dnsDeleteRecord", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsListRecords Execute operation dnsListRecords.
func (c *Client) DnsListRecords(ctx context.Context, params *DnsListRecordsParams) (*DnsListRecords, error) {
op := &DnsListRecords{}
err := c.do(ctx, "dnsListRecords", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsSecAddRecord Execute operation dnsSecAddRecord.
func (c *Client) DnsSecAddRecord(ctx context.Context, params *DnsSecAddRecordParams) (*DnsSecAddRecord, error) {
op := &DnsSecAddRecord{}
err := c.do(ctx, "dnsSecAddRecord", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsSecDeleteRecord Execute operation dnsSecDeleteRecord.
func (c *Client) DnsSecDeleteRecord(ctx context.Context, params *DnsSecDeleteRecordParams) (*DnsSecDeleteRecord, error) {
op := &DnsSecDeleteRecord{}
err := c.do(ctx, "dnsSecDeleteRecord", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsSecListRecords Execute operation dnsSecListRecords.
func (c *Client) DnsSecListRecords(ctx context.Context, params *DnsSecListRecordsParams) (*DnsSecListRecords, error) {
op := &DnsSecListRecords{}
err := c.do(ctx, "dnsSecListRecords", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DnsUpdateRecord Execute operation dnsUpdateRecord.
func (c *Client) DnsUpdateRecord(ctx context.Context, params *DnsUpdateRecordParams) (*DnsUpdateRecord, error) {
op := &DnsUpdateRecord{}
err := c.do(ctx, "dnsUpdateRecord", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainForward Execute operation domainForward.
func (c *Client) DomainForward(ctx context.Context, params *DomainForwardParams) (*DomainForward, error) {
op := &DomainForward{}
err := c.do(ctx, "domainForward", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainForwardSubDomain Execute operation domainForwardSubDomain.
func (c *Client) DomainForwardSubDomain(ctx context.Context, params *DomainForwardSubDomainParams) (*DomainForwardSubDomain, error) {
op := &DomainForwardSubDomain{}
err := c.do(ctx, "domainForwardSubDomain", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainForwardSubDomainDelete Execute operation domainForwardSubDomainDelete.
func (c *Client) DomainForwardSubDomainDelete(ctx context.Context, params *DomainForwardSubDomainDeleteParams) (*DomainForwardSubDomainDelete, error) {
op := &DomainForwardSubDomainDelete{}
err := c.do(ctx, "domainForwardSubDomainDelete", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainLock Execute operation domainLock.
func (c *Client) DomainLock(ctx context.Context, params *DomainLockParams) (*DomainLock, error) {
op := &DomainLock{}
err := c.do(ctx, "domainLock", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainPush Execute operation domainPush.
func (c *Client) DomainPush(ctx context.Context, params *DomainPushParams) (*DomainPush, error) {
op := &DomainPush{}
err := c.do(ctx, "domainPush", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// DomainUnlock Execute operation domainUnlock.
func (c *Client) DomainUnlock(ctx context.Context, params *DomainUnlockParams) (*DomainUnlock, error) {
op := &DomainUnlock{}
err := c.do(ctx, "domainUnlock", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// EmailVerification Execute operation emailVerification.
func (c *Client) EmailVerification(ctx context.Context, params *EmailVerificationParams) (*EmailVerification, error) {
op := &EmailVerification{}
err := c.do(ctx, "emailVerification", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// GetAccountBalance Execute operation getAccountBalance.
func (c *Client) GetAccountBalance(ctx context.Context, params *GetAccountBalanceParams) (*GetAccountBalance, error) {
op := &GetAccountBalance{}
err := c.do(ctx, "getAccountBalance", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// GetDomainInfo Execute operation getDomainInfo.
func (c *Client) GetDomainInfo(ctx context.Context, params *GetDomainInfoParams) (*GetDomainInfo, error) {
op := &GetDomainInfo{}
err := c.do(ctx, "getDomainInfo", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// GetPrices Execute operation getPrices.
func (c *Client) GetPrices(ctx context.Context, params *GetPricesParams) (*GetPrices, error) {
op := &GetPrices{}
err := c.do(ctx, "getPrices", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListAuctions Execute operation listAuctions.
func (c *Client) ListAuctions(ctx context.Context, params *ListAuctionsParams) (*ListAuctions, error) {
op := &ListAuctions{}
err := c.do(ctx, "listAuctions", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListDomains Execute operation listDomains.
func (c *Client) ListDomains(ctx context.Context, params *ListDomainsParams) (*ListDomains, error) {
op := &ListDomains{}
err := c.do(ctx, "listDomains", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListEmailForwards Execute operation listEmailForwards.
func (c *Client) ListEmailForwards(ctx context.Context, params *ListEmailForwardsParams) (*ListEmailForwards, error) {
op := &ListEmailForwards{}
err := c.do(ctx, "listEmailForwards", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListExpiringDomains Execute operation listExpiringDomains.
func (c *Client) ListExpiringDomains(ctx context.Context, params *ListExpiringDomainsParams) (*ListExpiringDomains, error) {
op := &ListExpiringDomains{}
err := c.do(ctx, "listExpiringDomains", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListOrders Execute operation listOrders.
func (c *Client) ListOrders(ctx context.Context, params *ListOrdersParams) (*ListOrders, error) {
op := &ListOrders{}
err := c.do(ctx, "listOrders", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ListRegisteredNameServers Execute operation listRegisteredNameServers.
func (c *Client) ListRegisteredNameServers(ctx context.Context, params *ListRegisteredNameServersParams) (*ListRegisteredNameServers, error) {
op := &ListRegisteredNameServers{}
err := c.do(ctx, "listRegisteredNameServers", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// MarketplaceActiveSalesOverview Execute operation marketplaceActiveSalesOverview.
func (c *Client) MarketplaceActiveSalesOverview(ctx context.Context, params *MarketplaceActiveSalesOverviewParams) (*MarketplaceActiveSalesOverview, error) {
op := &MarketplaceActiveSalesOverview{}
err := c.do(ctx, "marketplaceActiveSalesOverview", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// MarketplaceAddOrModifySale Execute operation marketplaceAddOrModifySale.
func (c *Client) MarketplaceAddOrModifySale(ctx context.Context, params *MarketplaceAddOrModifySaleParams) (*MarketplaceAddOrModifySale, error) {
op := &MarketplaceAddOrModifySale{}
err := c.do(ctx, "marketplaceAddOrModifySale", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// MarketplaceLandingPageUpdate Execute operation marketplaceLandingPageUpdate.
func (c *Client) MarketplaceLandingPageUpdate(ctx context.Context, params *MarketplaceLandingPageUpdateParams) (*MarketplaceLandingPageUpdate, error) {
op := &MarketplaceLandingPageUpdate{}
err := c.do(ctx, "marketplaceLandingPageUpdate", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ModifyRegisteredNameServer Execute operation modifyRegisteredNameServer.
func (c *Client) ModifyRegisteredNameServer(ctx context.Context, params *ModifyRegisteredNameServerParams) (*ModifyRegisteredNameServer, error) {
op := &ModifyRegisteredNameServer{}
err := c.do(ctx, "modifyRegisteredNameServer", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// OrderDetails Execute operation orderDetails.
func (c *Client) OrderDetails(ctx context.Context, params *OrderDetailsParams) (*OrderDetails, error) {
op := &OrderDetails{}
err := c.do(ctx, "orderDetails", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// PortfolioAdd Execute operation portfolioAdd.
func (c *Client) PortfolioAdd(ctx context.Context, params *PortfolioAddParams) (*PortfolioAdd, error) {
op := &PortfolioAdd{}
err := c.do(ctx, "portfolioAdd", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// PortfolioDelete Execute operation portfolioDelete.
func (c *Client) PortfolioDelete(ctx context.Context, params *PortfolioDeleteParams) (*PortfolioDelete, error) {
op := &PortfolioDelete{}
err := c.do(ctx, "portfolioDelete", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// PortfolioDomainAssociate Execute operation portfolioDomainAssociate.
func (c *Client) PortfolioDomainAssociate(ctx context.Context, params *PortfolioDomainAssociateParams) (*PortfolioDomainAssociate, error) {
op := &PortfolioDomainAssociate{}
err := c.do(ctx, "portfolioDomainAssociate", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// PortfolioList Execute operation portfolioList.
func (c *Client) PortfolioList(ctx context.Context, params *PortfolioListParams) (*PortfolioList, error) {
op := &PortfolioList{}
err := c.do(ctx, "portfolioList", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RegisterDomain Execute operation registerDomain.
func (c *Client) RegisterDomain(ctx context.Context, params *RegisterDomainParams) (*RegisterDomain, error) {
op := &RegisterDomain{}
err := c.do(ctx, "registerDomain", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RegisterDomainDrop Execute operation registerDomainDrop.
func (c *Client) RegisterDomainDrop(ctx context.Context, params *RegisterDomainDropParams) (*RegisterDomainDrop, error) {
op := &RegisterDomainDrop{}
err := c.do(ctx, "registerDomainDrop", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RegistrantVerificationStatus Execute operation registrantVerificationStatus.
func (c *Client) RegistrantVerificationStatus(ctx context.Context, params *RegistrantVerificationStatusParams) (*RegistrantVerificationStatus, error) {
op := &RegistrantVerificationStatus{}
err := c.do(ctx, "registrantVerificationStatus", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RemoveAutoRenewal Execute operation removeAutoRenewal.
func (c *Client) RemoveAutoRenewal(ctx context.Context, params *RemoveAutoRenewalParams) (*RemoveAutoRenewal, error) {
op := &RemoveAutoRenewal{}
err := c.do(ctx, "removeAutoRenewal", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RemovePrivacy Execute operation removePrivacy.
func (c *Client) RemovePrivacy(ctx context.Context, params *RemovePrivacyParams) (*RemovePrivacy, error) {
op := &RemovePrivacy{}
err := c.do(ctx, "removePrivacy", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RenewDomain Execute operation renewDomain.
func (c *Client) RenewDomain(ctx context.Context, params *RenewDomainParams) (*RenewDomain, error) {
op := &RenewDomain{}
err := c.do(ctx, "renewDomain", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// RetrieveAuthCode Execute operation retrieveAuthCode.
func (c *Client) RetrieveAuthCode(ctx context.Context, params *RetrieveAuthCodeParams) (*RetrieveAuthCode, error) {
op := &RetrieveAuthCode{}
err := c.do(ctx, "retrieveAuthCode", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// TransferDomain Execute operation transferDomain.
func (c *Client) TransferDomain(ctx context.Context, params *TransferDomainParams) (*TransferDomain, error) {
op := &TransferDomain{}
err := c.do(ctx, "transferDomain", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// TransferUpdateChangeEPPCode Execute operation transferUpdateChangeEPPCode.
func (c *Client) TransferUpdateChangeEPPCode(ctx context.Context, params *TransferUpdateChangeEPPCodeParams) (*TransferUpdateChangeEPPCode, error) {
op := &TransferUpdateChangeEPPCode{}
err := c.do(ctx, "transferUpdateChangeEPPCode", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// TransferUpdateResendAdminEmail Execute operation transferUpdateResendAdminEmail.
func (c *Client) TransferUpdateResendAdminEmail(ctx context.Context, params *TransferUpdateResendAdminEmailParams) (*TransferUpdateResendAdminEmail, error) {
op := &TransferUpdateResendAdminEmail{}
err := c.do(ctx, "transferUpdateResendAdminEmail", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// TransferUpdateResubmitToRegistry Execute operation transferUpdateResubmitToRegistry.
func (c *Client) TransferUpdateResubmitToRegistry(ctx context.Context, params *TransferUpdateResubmitToRegistryParams) (*TransferUpdateResubmitToRegistry, error) {
op := &TransferUpdateResubmitToRegistry{}
err := c.do(ctx, "transferUpdateResubmitToRegistry", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ViewAuction Execute operation viewAuction.
func (c *Client) ViewAuction(ctx context.Context, params *ViewAuctionParams) (*ViewAuction, error) {
op := &ViewAuction{}
err := c.do(ctx, "viewAuction", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ViewAuctionHistory Execute operation viewAuctionHistory.
func (c *Client) ViewAuctionHistory(ctx context.Context, params *ViewAuctionHistoryParams) (*ViewAuctionHistory, error) {
op := &ViewAuctionHistory{}
err := c.do(ctx, "viewAuctionHistory", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// ViewAuctions Execute operation viewAuctions.
func (c *Client) ViewAuctions(ctx context.Context, params *ViewAuctionsParams) (*ViewAuctions, error) {
op := &ViewAuctions{}
err := c.do(ctx, "viewAuctions", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// WatchAuction Execute operation watchAuction.
func (c *Client) WatchAuction(ctx context.Context, params *WatchAuctionParams) (*WatchAuction, error) {
op := &WatchAuction{}
err := c.do(ctx, "watchAuction", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}
// WhoisInfo Execute operation whoisInfo.
func (c *Client) WhoisInfo(ctx context.Context, params *WhoisInfoParams) (*WhoisInfo, error) {
op := &WhoisInfo{}
err := c.do(ctx, "whoisInfo", params, op)
if err != nil {
return nil, err
}
return op, checkReply(op.Reply)
}