Skip to content

Commit 58fd16b

Browse files
committed
feat: add viewAuctions
1 parent 6d37bb1 commit 58fd16b

File tree

6 files changed

+78
-0
lines changed

6 files changed

+78
-0
lines changed

params.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,11 @@ type ViewAuctionParams struct {
563563
AuctionID string `url:"auctionId"` // Required
564564
}
565565

566+
// ViewAuctionsParams Parameters for operation viewAuctions.
567+
type ViewAuctionsParams struct {
568+
AuctionIDs []string `url:"auctionIds,brackets"`
569+
}
570+
566571
// ViewAuctionHistoryParams Parameters for operation viewAuctionHistory.
567572
type ViewAuctionHistoryParams struct {
568573
AuctionID string `url:"auctionId"` // Required

types.go

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1026,6 +1026,50 @@ type ViewAuctionReply struct {
10261026
} `xml:"body"`
10271027
}
10281028

1029+
// ViewAuctions was generated 2025-09-01 17:34:00.
1030+
type ViewAuctions struct {
1031+
XMLName xml.Name `xml:"namesilo"`
1032+
Request Request `xml:"request"`
1033+
Reply ViewAuctionsReply `xml:"reply"`
1034+
}
1035+
1036+
// ViewAuctionsReply A reply representation.
1037+
type ViewAuctionsReply struct {
1038+
Reply
1039+
1040+
Body struct {
1041+
Entry []struct {
1042+
ID string `xml:"id"`
1043+
LeaderUserID string `xml:"leaderUserId"`
1044+
OwnerUserID string `xml:"ownerUserId"`
1045+
DomainID string `xml:"domainId"`
1046+
Domain string `xml:"domain"`
1047+
StatusID string `xml:"statusId"`
1048+
TypeID string `xml:"typeId"`
1049+
OpeningBid string `xml:"openingBid"`
1050+
CurrentBid string `xml:"currentBid"`
1051+
MaxBid string `xml:"maxBid"`
1052+
DomainCreatedOn string `xml:"domainCreatedOn"`
1053+
AuctionEndsOn string `xml:"auctionEndsOn"`
1054+
MinBid string `xml:"minBid"`
1055+
HasBids string `xml:"hasBids"`
1056+
BidsQuantity string `xml:"bidsQuantity"`
1057+
Bidder struct {
1058+
UserID string `xml:"userId"`
1059+
UserMaxBid string `xml:"userMaxBid"`
1060+
ProxyMaxBid string `xml:"proxyMaxBid"`
1061+
Balance string `xml:"balance"`
1062+
CreditLimit string `xml:"creditLimit"`
1063+
OutstandingCommitments string `xml:"outstandingCommitments"`
1064+
RenewPriceThisDomain string `xml:"renewPriceThisDomain"`
1065+
UserInWatchlist string `xml:"userInWatchlist"`
1066+
} `xml:"bidder"`
1067+
Errors string `xml:"errors"`
1068+
IsValid string `xml:"isValid"`
1069+
} `xml:"entry"`
1070+
} `xml:"body"`
1071+
}
1072+
10291073
// ViewAuctionHistory was generated 2025-08-31 11:37:00.
10301074
type ViewAuctionHistory struct {
10311075
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)