mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: David Ragot <[email protected]>
58 lines
1.2 KiB
Go
58 lines
1.2 KiB
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
type V2AccountsCursorResponseCursor struct {
|
|
Data []V2Account `json:"data"`
|
|
HasMore bool `json:"hasMore"`
|
|
Next *string `json:"next,omitempty"`
|
|
PageSize int64 `json:"pageSize"`
|
|
Previous *string `json:"previous,omitempty"`
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponseCursor) GetData() []V2Account {
|
|
if o == nil {
|
|
return []V2Account{}
|
|
}
|
|
return o.Data
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponseCursor) GetHasMore() bool {
|
|
if o == nil {
|
|
return false
|
|
}
|
|
return o.HasMore
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponseCursor) GetNext() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Next
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponseCursor) GetPageSize() int64 {
|
|
if o == nil {
|
|
return 0
|
|
}
|
|
return o.PageSize
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponseCursor) GetPrevious() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Previous
|
|
}
|
|
|
|
type V2AccountsCursorResponse struct {
|
|
Cursor V2AccountsCursorResponseCursor `json:"cursor"`
|
|
}
|
|
|
|
func (o *V2AccountsCursorResponse) GetCursor() V2AccountsCursorResponseCursor {
|
|
if o == nil {
|
|
return V2AccountsCursorResponseCursor{}
|
|
}
|
|
return o.Cursor
|
|
}
|