3.0 KiB
Cursor
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| PageSize | int64 | ||
| HasMore | bool | ||
| Previous | Pointer to string | [optional] | |
| Next | Pointer to string | [optional] |
Methods
NewCursor
func NewCursor(pageSize int64, hasMore bool, ) *Cursor
NewCursor instantiates a new Cursor object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewCursorWithDefaults
func NewCursorWithDefaults() *Cursor
NewCursorWithDefaults instantiates a new Cursor object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetPageSize
func (o *Cursor) GetPageSize() int64
GetPageSize returns the PageSize field if non-nil, zero value otherwise.
GetPageSizeOk
func (o *Cursor) GetPageSizeOk() (*int64, bool)
GetPageSizeOk returns a tuple with the PageSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPageSize
func (o *Cursor) SetPageSize(v int64)
SetPageSize sets PageSize field to given value.
GetHasMore
func (o *Cursor) GetHasMore() bool
GetHasMore returns the HasMore field if non-nil, zero value otherwise.
GetHasMoreOk
func (o *Cursor) GetHasMoreOk() (*bool, bool)
GetHasMoreOk returns a tuple with the HasMore field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetHasMore
func (o *Cursor) SetHasMore(v bool)
SetHasMore sets HasMore field to given value.
GetPrevious
func (o *Cursor) GetPrevious() string
GetPrevious returns the Previous field if non-nil, zero value otherwise.
GetPreviousOk
func (o *Cursor) GetPreviousOk() (*string, bool)
GetPreviousOk returns a tuple with the Previous field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPrevious
func (o *Cursor) SetPrevious(v string)
SetPrevious sets Previous field to given value.
HasPrevious
func (o *Cursor) HasPrevious() bool
HasPrevious returns a boolean if a field has been set.
GetNext
func (o *Cursor) GetNext() string
GetNext returns the Next field if non-nil, zero value otherwise.
GetNextOk
func (o *Cursor) GetNextOk() (*string, bool)
GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNext
func (o *Cursor) SetNext(v string)
SetNext sets Next field to given value.
HasNext
func (o *Cursor) HasNext() bool
HasNext returns a boolean if a field has been set.