Files
stack/releases/sdks/go/pkg/models/shared/gettransactionsresponse.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.2 KiB
Go

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