Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Regenerate code with the latest specification file (619d56d8) #657

Merged
merged 1 commit into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions client/v2/indexer/lookupAccountByID.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ type LookupAccountByIDParams struct {
// localstates.
IncludeAll bool `url:"include-all,omitempty"`

// Round include results for the specified round.
// Round deprecated and disallowed. This parameter used to include results for a
// specified round. Requests with this parameter set are now rejected.
Round uint64 `url:"round,omitempty"`
}

Expand Down Expand Up @@ -52,7 +53,8 @@ func (s *LookupAccountByID) IncludeAll(IncludeAll bool) *LookupAccountByID {
return s
}

// Round include results for the specified round.
// Round deprecated and disallowed. This parameter used to include results for a
// specified round. Requests with this parameter set are now rejected.
func (s *LookupAccountByID) Round(Round uint64) *LookupAccountByID {
s.p.Round = Round

Expand Down
16 changes: 4 additions & 12 deletions client/v2/indexer/searchForAccounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ type SearchAccountsParams struct {
// results.
NextToken string `url:"next,omitempty"`

// Round include results for the specified round. For performance reasons, this
// parameter may be disabled on some configurations. Using application-id or
// asset-id filters will return both creator and opt-in accounts. Filtering by
// include-all will return creator and opt-in accounts for deleted assets and
// accounts. Non-opt-in managers are not included in the results when asset-id is
// used.
// Round deprecated and disallowed. This parameter used to include results for a
// specified round. Requests with this parameter set are now rejected.
Round uint64 `url:"round,omitempty"`
}

Expand Down Expand Up @@ -136,12 +132,8 @@ func (s *SearchAccounts) NextToken(NextToken string) *SearchAccounts {
return s
}

// Round include results for the specified round. For performance reasons, this
// parameter may be disabled on some configurations. Using application-id or
// asset-id filters will return both creator and opt-in accounts. Filtering by
// include-all will return creator and opt-in accounts for deleted assets and
// accounts. Non-opt-in managers are not included in the results when asset-id is
// used.
// Round deprecated and disallowed. This parameter used to include results for a
// specified round. Requests with this parameter set are now rejected.
func (s *SearchAccounts) Round(Round uint64) *SearchAccounts {
s.p.Round = Round

Expand Down
Loading