Skip to content

Commit 001dccf

Browse files
committed
feat: add domainPush
1 parent 58fd16b commit 001dccf

File tree

6 files changed

+59
-1
lines changed

6 files changed

+59
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<entry>
1313
<domain>namesilo.com</domain>
1414
<success>true</success>
15-
<error></error>
15+
<error/>
1616
</entry>
1717
<entry>
1818
<domain>goole.com</domain>

params.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,12 @@ type DomainLockParams struct {
279279
Domain string `url:"domain"` // Required
280280
}
281281

282+
// DomainPushParams Parameters for operation domainPush.
283+
type DomainPushParams struct {
284+
RecipientLogin string `url:"recipientLogin"`
285+
Domains []string `url:"domains,brackets"`
286+
}
287+
282288
// DomainUnlockParams Parameters for operation domainUnlock.
283289
type DomainUnlockParams struct {
284290
Domain string `url:"domain"` // Required

types.go

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,29 @@ type DomainLock struct {
442442
Reply Reply `xml:"reply"`
443443
}
444444

445+
// DomainPush was generated 2025-09-01 17:41:00.
446+
type DomainPush struct {
447+
XMLName xml.Name `xml:"namesilo"`
448+
Request Request `xml:"request"`
449+
Reply DomainPushReply `xml:"reply"`
450+
}
451+
452+
// DomainPushReply A reply representation.
453+
type DomainPushReply struct {
454+
Reply
455+
456+
Body struct {
457+
RecipientLogin string `xml:"recipientLogin"`
458+
DomainsPushStatuses struct {
459+
Entry []struct {
460+
Domain string `xml:"domain"`
461+
Success string `xml:"success"`
462+
Error string `xml:"error"`
463+
} `xml:"entry"`
464+
} `xml:"domainsPushStatuses"`
465+
} `xml:"body"`
466+
}
467+
445468
// DomainUnlock was generated 2019-03-20 19:35:05.
446469
type DomainUnlock struct {
447470
XMLName xml.Name `xml:"namesilo"`

zz_gen_client.go

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zz_gen_client_test.go

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zz_gen_types_test.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)