Skip to content

Commit

Permalink
Regenerate code from specification file (#657)
Browse files Browse the repository at this point in the history
Co-authored-by: Algorand Generation Bot <codegen@algorand.com>
  • Loading branch information
github-actions[bot] and algo-dev-service authored Sep 18, 2024
1 parent a6290d2 commit 6c2ca93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
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

0 comments on commit 6c2ca93

Please sign in to comment.