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

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