2.5 KiB
TransportInboxPage
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Cursor | Pointer to int64 | Cursor is the row id to pass back as `since` for the next page. It is the last message's id, or the requested cursor when the page is empty. | [optional] |
| Messages | Pointer to []TransportInboxView | Messages are the inbound messages, oldest first. | [optional] |
Methods
NewTransportInboxPage
func NewTransportInboxPage() *TransportInboxPage
NewTransportInboxPage instantiates a new TransportInboxPage 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
NewTransportInboxPageWithDefaults
func NewTransportInboxPageWithDefaults() *TransportInboxPage
NewTransportInboxPageWithDefaults instantiates a new TransportInboxPage 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
GetCursor
func (o *TransportInboxPage) GetCursor() int64
GetCursor returns the Cursor field if non-nil, zero value otherwise.
GetCursorOk
func (o *TransportInboxPage) GetCursorOk() (*int64, bool)
GetCursorOk returns a tuple with the Cursor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCursor
func (o *TransportInboxPage) SetCursor(v int64)
SetCursor sets Cursor field to given value.
HasCursor
func (o *TransportInboxPage) HasCursor() bool
HasCursor returns a boolean if a field has been set.
GetMessages
func (o *TransportInboxPage) GetMessages() []TransportInboxView
GetMessages returns the Messages field if non-nil, zero value otherwise.
GetMessagesOk
func (o *TransportInboxPage) GetMessagesOk() (*[]TransportInboxView, bool)
GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessages
func (o *TransportInboxPage) SetMessages(v []TransportInboxView)
SetMessages sets Messages field to given value.
HasMessages
func (o *TransportInboxPage) HasMessages() bool
HasMessages returns a boolean if a field has been set.