Skip to content

Latest commit

 

History

History
376 lines (207 loc) · 10.3 KB

File metadata and controls

376 lines (207 loc) · 10.3 KB

PriceQueryParams

Properties

Name Type Description Notes
CreatedAt Pointer to NullableDateTimeFilter [optional]
Currency Pointer to NullableCurrencyEnum [optional]
Expand Pointer to []string Specifies which fields in the response should be expanded. [optional]
IsActive Pointer to NullableBool [optional]
PageNumber Pointer to int32 Page number [optional] [default to 1]
PageSize Pointer to int32 Page size [optional] [default to 100]
PriceType Pointer to NullablePriceTypeEnum [optional]
ProductId Pointer to NullableString [optional]
SortDescending Pointer to bool Sort direction. [optional] [default to false]
SortKey Pointer to string Key name based on which data is sorted. [optional] [default to "created_at"]
UpdatedAt Pointer to NullableDateTimeFilter [optional]

Methods

NewPriceQueryParams

func NewPriceQueryParams() *PriceQueryParams

NewPriceQueryParams instantiates a new PriceQueryParams 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

NewPriceQueryParamsWithDefaults

func NewPriceQueryParamsWithDefaults() *PriceQueryParams

NewPriceQueryParamsWithDefaults instantiates a new PriceQueryParams 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

GetCreatedAt

func (o *PriceQueryParams) GetCreatedAt() DateTimeFilter

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *PriceQueryParams) GetCreatedAtOk() (*DateTimeFilter, bool)

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

SetCreatedAt

func (o *PriceQueryParams) SetCreatedAt(v DateTimeFilter)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *PriceQueryParams) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

SetCreatedAtNil

func (o *PriceQueryParams) SetCreatedAtNil(b bool)

SetCreatedAtNil sets the value for CreatedAt to be an explicit nil

UnsetCreatedAt

func (o *PriceQueryParams) UnsetCreatedAt()

UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil

GetCurrency

func (o *PriceQueryParams) GetCurrency() CurrencyEnum

GetCurrency returns the Currency field if non-nil, zero value otherwise.

GetCurrencyOk

func (o *PriceQueryParams) GetCurrencyOk() (*CurrencyEnum, bool)

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

SetCurrency

func (o *PriceQueryParams) SetCurrency(v CurrencyEnum)

SetCurrency sets Currency field to given value.

HasCurrency

func (o *PriceQueryParams) HasCurrency() bool

HasCurrency returns a boolean if a field has been set.

SetCurrencyNil

func (o *PriceQueryParams) SetCurrencyNil(b bool)

SetCurrencyNil sets the value for Currency to be an explicit nil

UnsetCurrency

func (o *PriceQueryParams) UnsetCurrency()

UnsetCurrency ensures that no value is present for Currency, not even an explicit nil

GetExpand

func (o *PriceQueryParams) GetExpand() []string

GetExpand returns the Expand field if non-nil, zero value otherwise.

GetExpandOk

func (o *PriceQueryParams) GetExpandOk() (*[]string, bool)

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

SetExpand

func (o *PriceQueryParams) SetExpand(v []string)

SetExpand sets Expand field to given value.

HasExpand

func (o *PriceQueryParams) HasExpand() bool

HasExpand returns a boolean if a field has been set.

GetIsActive

func (o *PriceQueryParams) GetIsActive() bool

GetIsActive returns the IsActive field if non-nil, zero value otherwise.

GetIsActiveOk

func (o *PriceQueryParams) GetIsActiveOk() (*bool, bool)

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

SetIsActive

func (o *PriceQueryParams) SetIsActive(v bool)

SetIsActive sets IsActive field to given value.

HasIsActive

func (o *PriceQueryParams) HasIsActive() bool

HasIsActive returns a boolean if a field has been set.

SetIsActiveNil

func (o *PriceQueryParams) SetIsActiveNil(b bool)

SetIsActiveNil sets the value for IsActive to be an explicit nil

UnsetIsActive

func (o *PriceQueryParams) UnsetIsActive()

UnsetIsActive ensures that no value is present for IsActive, not even an explicit nil

GetPageNumber

func (o *PriceQueryParams) GetPageNumber() int32

GetPageNumber returns the PageNumber field if non-nil, zero value otherwise.

GetPageNumberOk

func (o *PriceQueryParams) GetPageNumberOk() (*int32, bool)

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

SetPageNumber

func (o *PriceQueryParams) SetPageNumber(v int32)

SetPageNumber sets PageNumber field to given value.

HasPageNumber

func (o *PriceQueryParams) HasPageNumber() bool

HasPageNumber returns a boolean if a field has been set.

GetPageSize

func (o *PriceQueryParams) GetPageSize() int32

GetPageSize returns the PageSize field if non-nil, zero value otherwise.

GetPageSizeOk

func (o *PriceQueryParams) GetPageSizeOk() (*int32, 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 *PriceQueryParams) SetPageSize(v int32)

SetPageSize sets PageSize field to given value.

HasPageSize

func (o *PriceQueryParams) HasPageSize() bool

HasPageSize returns a boolean if a field has been set.

GetPriceType

func (o *PriceQueryParams) GetPriceType() PriceTypeEnum

GetPriceType returns the PriceType field if non-nil, zero value otherwise.

GetPriceTypeOk

func (o *PriceQueryParams) GetPriceTypeOk() (*PriceTypeEnum, bool)

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

SetPriceType

func (o *PriceQueryParams) SetPriceType(v PriceTypeEnum)

SetPriceType sets PriceType field to given value.

HasPriceType

func (o *PriceQueryParams) HasPriceType() bool

HasPriceType returns a boolean if a field has been set.

SetPriceTypeNil

func (o *PriceQueryParams) SetPriceTypeNil(b bool)

SetPriceTypeNil sets the value for PriceType to be an explicit nil

UnsetPriceType

func (o *PriceQueryParams) UnsetPriceType()

UnsetPriceType ensures that no value is present for PriceType, not even an explicit nil

GetProductId

func (o *PriceQueryParams) GetProductId() string

GetProductId returns the ProductId field if non-nil, zero value otherwise.

GetProductIdOk

func (o *PriceQueryParams) GetProductIdOk() (*string, bool)

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

SetProductId

func (o *PriceQueryParams) SetProductId(v string)

SetProductId sets ProductId field to given value.

HasProductId

func (o *PriceQueryParams) HasProductId() bool

HasProductId returns a boolean if a field has been set.

SetProductIdNil

func (o *PriceQueryParams) SetProductIdNil(b bool)

SetProductIdNil sets the value for ProductId to be an explicit nil

UnsetProductId

func (o *PriceQueryParams) UnsetProductId()

UnsetProductId ensures that no value is present for ProductId, not even an explicit nil

GetSortDescending

func (o *PriceQueryParams) GetSortDescending() bool

GetSortDescending returns the SortDescending field if non-nil, zero value otherwise.

GetSortDescendingOk

func (o *PriceQueryParams) GetSortDescendingOk() (*bool, bool)

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

SetSortDescending

func (o *PriceQueryParams) SetSortDescending(v bool)

SetSortDescending sets SortDescending field to given value.

HasSortDescending

func (o *PriceQueryParams) HasSortDescending() bool

HasSortDescending returns a boolean if a field has been set.

GetSortKey

func (o *PriceQueryParams) GetSortKey() string

GetSortKey returns the SortKey field if non-nil, zero value otherwise.

GetSortKeyOk

func (o *PriceQueryParams) GetSortKeyOk() (*string, bool)

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

SetSortKey

func (o *PriceQueryParams) SetSortKey(v string)

SetSortKey sets SortKey field to given value.

HasSortKey

func (o *PriceQueryParams) HasSortKey() bool

HasSortKey returns a boolean if a field has been set.

GetUpdatedAt

func (o *PriceQueryParams) GetUpdatedAt() DateTimeFilter

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *PriceQueryParams) GetUpdatedAtOk() (*DateTimeFilter, bool)

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

SetUpdatedAt

func (o *PriceQueryParams) SetUpdatedAt(v DateTimeFilter)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *PriceQueryParams) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

SetUpdatedAtNil

func (o *PriceQueryParams) SetUpdatedAtNil(b bool)

SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil

UnsetUpdatedAt

func (o *PriceQueryParams) UnsetUpdatedAt()

UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil

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