Skip to content

Latest commit

 

History

History
165 lines (90 loc) · 4.74 KB

GetOrdersResponse.md

File metadata and controls

165 lines (90 loc) · 4.74 KB

GetOrdersResponse

Properties

Name Type Description Notes
Data []OrderResponse
HasMore bool Indicates if there are more pages to be requested
Object string Object type, in this case is list
NextPageUrl Pointer to NullableString URL of the next page. [optional]
PreviousPageUrl Pointer to NullableString Url of the previous page. [optional]

Methods

NewGetOrdersResponse

func NewGetOrdersResponse(data []OrderResponse, hasMore bool, object string, ) *GetOrdersResponse

NewGetOrdersResponse instantiates a new GetOrdersResponse 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

NewGetOrdersResponseWithDefaults

func NewGetOrdersResponseWithDefaults() *GetOrdersResponse

NewGetOrdersResponseWithDefaults instantiates a new GetOrdersResponse 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

GetData

func (o *GetOrdersResponse) GetData() []OrderResponse

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *GetOrdersResponse) GetDataOk() (*[]OrderResponse, bool)

GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetData

func (o *GetOrdersResponse) SetData(v []OrderResponse)

SetData sets Data field to given value.

GetHasMore

func (o *GetOrdersResponse) GetHasMore() bool

GetHasMore returns the HasMore field if non-nil, zero value otherwise.

GetHasMoreOk

func (o *GetOrdersResponse) 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 *GetOrdersResponse) SetHasMore(v bool)

SetHasMore sets HasMore field to given value.

GetObject

func (o *GetOrdersResponse) GetObject() string

GetObject returns the Object field if non-nil, zero value otherwise.

GetObjectOk

func (o *GetOrdersResponse) GetObjectOk() (*string, bool)

GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetObject

func (o *GetOrdersResponse) SetObject(v string)

SetObject sets Object field to given value.

GetNextPageUrl

func (o *GetOrdersResponse) GetNextPageUrl() string

GetNextPageUrl returns the NextPageUrl field if non-nil, zero value otherwise.

GetNextPageUrlOk

func (o *GetOrdersResponse) GetNextPageUrlOk() (*string, bool)

GetNextPageUrlOk returns a tuple with the NextPageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNextPageUrl

func (o *GetOrdersResponse) SetNextPageUrl(v string)

SetNextPageUrl sets NextPageUrl field to given value.

HasNextPageUrl

func (o *GetOrdersResponse) HasNextPageUrl() bool

HasNextPageUrl returns a boolean if a field has been set.

SetNextPageUrlNil

func (o *GetOrdersResponse) SetNextPageUrlNil(b bool)

SetNextPageUrlNil sets the value for NextPageUrl to be an explicit nil

UnsetNextPageUrl

func (o *GetOrdersResponse) UnsetNextPageUrl()

UnsetNextPageUrl ensures that no value is present for NextPageUrl, not even an explicit nil

GetPreviousPageUrl

func (o *GetOrdersResponse) GetPreviousPageUrl() string

GetPreviousPageUrl returns the PreviousPageUrl field if non-nil, zero value otherwise.

GetPreviousPageUrlOk

func (o *GetOrdersResponse) GetPreviousPageUrlOk() (*string, bool)

GetPreviousPageUrlOk returns a tuple with the PreviousPageUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPreviousPageUrl

func (o *GetOrdersResponse) SetPreviousPageUrl(v string)

SetPreviousPageUrl sets PreviousPageUrl field to given value.

HasPreviousPageUrl

func (o *GetOrdersResponse) HasPreviousPageUrl() bool

HasPreviousPageUrl returns a boolean if a field has been set.

SetPreviousPageUrlNil

func (o *GetOrdersResponse) SetPreviousPageUrlNil(b bool)

SetPreviousPageUrlNil sets the value for PreviousPageUrl to be an explicit nil

UnsetPreviousPageUrl

func (o *GetOrdersResponse) UnsetPreviousPageUrl()

UnsetPreviousPageUrl ensures that no value is present for PreviousPageUrl, not even an explicit nil

[Back to Model list] [Back to API list] [Back to README]