From b3ae2240d0bb5b10d0271a33ffdb52a48f58b532 Mon Sep 17 00:00:00 2001 From: Algorand Generation Bot Date: Tue, 17 Sep 2024 23:27:37 +0000 Subject: [PATCH] Regenerate code from specification file --- client/v2/indexer/lookupAccountByID.go | 6 ++++-- client/v2/indexer/searchForAccounts.go | 16 ++++------------ 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/client/v2/indexer/lookupAccountByID.go b/client/v2/indexer/lookupAccountByID.go index b29ca23f..d4272bdc 100644 --- a/client/v2/indexer/lookupAccountByID.go +++ b/client/v2/indexer/lookupAccountByID.go @@ -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"` } @@ -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 diff --git a/client/v2/indexer/searchForAccounts.go b/client/v2/indexer/searchForAccounts.go index 5d1edf5b..3652b49a 100644 --- a/client/v2/indexer/searchForAccounts.go +++ b/client/v2/indexer/searchForAccounts.go @@ -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"` } @@ -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