Files
stack/releases/sdks/go/pkg/models/shared/balancescursorresponse.go
2e03d96084 feat: update speakeasy (#1100)
Co-authored-by: Maxence Maireaux <[email protected]>
Co-authored-by: David Ragot <[email protected]>
2024-01-08 18:23:33 +00:00

58 lines
1.3 KiB
Go

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
package shared
type BalancesCursorResponseCursor struct {
Data []map[string]map[string]int64 `json:"data"`
HasMore bool `json:"hasMore"`
Next *string `json:"next,omitempty"`
PageSize int64 `json:"pageSize"`
Previous *string `json:"previous,omitempty"`
}
func (o *BalancesCursorResponseCursor) GetData() []map[string]map[string]int64 {
if o == nil {
return []map[string]map[string]int64{}
}
return o.Data
}
func (o *BalancesCursorResponseCursor) GetHasMore() bool {
if o == nil {
return false
}
return o.HasMore
}
func (o *BalancesCursorResponseCursor) GetNext() *string {
if o == nil {
return nil
}
return o.Next
}
func (o *BalancesCursorResponseCursor) GetPageSize() int64 {
if o == nil {
return 0
}
return o.PageSize
}
func (o *BalancesCursorResponseCursor) GetPrevious() *string {
if o == nil {
return nil
}
return o.Previous
}
type BalancesCursorResponse struct {
Cursor BalancesCursorResponseCursor `json:"cursor"`
}
func (o *BalancesCursorResponse) GetCursor() BalancesCursorResponseCursor {
if o == nil {
return BalancesCursorResponseCursor{}
}
return o.Cursor
}