| Name | Type | Description | Notes |
|---|---|---|---|
| Code | Pointer to NullableString | [optional] | |
| CouponId | Pointer to NullableString | [optional] | |
| CreatedAt | Pointer to NullableDateTimeFilter | [optional] | |
| Expand | Pointer to []string | Specifies which fields in the response should be expanded. | [optional] |
| ExpiresAt | Pointer to NullableDateTimeFilter | [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] |
| Search | Pointer to NullableSearchFilter | [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] |
func NewPromoCodeQueryParams() *PromoCodeQueryParams
NewPromoCodeQueryParams instantiates a new PromoCodeQueryParams 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
func NewPromoCodeQueryParamsWithDefaults() *PromoCodeQueryParams
NewPromoCodeQueryParamsWithDefaults instantiates a new PromoCodeQueryParams 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
func (o *PromoCodeQueryParams) GetCode() string
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) GetCodeOk() (*string, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromoCodeQueryParams) SetCode(v string)
SetCode sets Code field to given value.
func (o *PromoCodeQueryParams) HasCode() bool
HasCode returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetCodeNil(b bool)
SetCodeNil sets the value for Code to be an explicit nil
func (o *PromoCodeQueryParams) UnsetCode()
UnsetCode ensures that no value is present for Code, not even an explicit nil
func (o *PromoCodeQueryParams) GetCouponId() string
GetCouponId returns the CouponId field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) GetCouponIdOk() (*string, bool)
GetCouponIdOk returns a tuple with the CouponId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromoCodeQueryParams) SetCouponId(v string)
SetCouponId sets CouponId field to given value.
func (o *PromoCodeQueryParams) HasCouponId() bool
HasCouponId returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetCouponIdNil(b bool)
SetCouponIdNil sets the value for CouponId to be an explicit nil
func (o *PromoCodeQueryParams) UnsetCouponId()
UnsetCouponId ensures that no value is present for CouponId, not even an explicit nil
func (o *PromoCodeQueryParams) GetCreatedAt() DateTimeFilter
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetCreatedAt(v DateTimeFilter)
SetCreatedAt sets CreatedAt field to given value.
func (o *PromoCodeQueryParams) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetCreatedAtNil(b bool)
SetCreatedAtNil sets the value for CreatedAt to be an explicit nil
func (o *PromoCodeQueryParams) UnsetCreatedAt()
UnsetCreatedAt ensures that no value is present for CreatedAt, not even an explicit nil
func (o *PromoCodeQueryParams) GetExpand() []string
GetExpand returns the Expand field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetExpand(v []string)
SetExpand sets Expand field to given value.
func (o *PromoCodeQueryParams) HasExpand() bool
HasExpand returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) GetExpiresAt() DateTimeFilter
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) GetExpiresAtOk() (*DateTimeFilter, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromoCodeQueryParams) SetExpiresAt(v DateTimeFilter)
SetExpiresAt sets ExpiresAt field to given value.
func (o *PromoCodeQueryParams) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetExpiresAtNil(b bool)
SetExpiresAtNil sets the value for ExpiresAt to be an explicit nil
func (o *PromoCodeQueryParams) UnsetExpiresAt()
UnsetExpiresAt ensures that no value is present for ExpiresAt, not even an explicit nil
func (o *PromoCodeQueryParams) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *PromoCodeQueryParams) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetIsActiveNil(b bool)
SetIsActiveNil sets the value for IsActive to be an explicit nil
func (o *PromoCodeQueryParams) UnsetIsActive()
UnsetIsActive ensures that no value is present for IsActive, not even an explicit nil
func (o *PromoCodeQueryParams) GetPageNumber() int32
GetPageNumber returns the PageNumber field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetPageNumber(v int32)
SetPageNumber sets PageNumber field to given value.
func (o *PromoCodeQueryParams) HasPageNumber() bool
HasPageNumber returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) GetPageSize() int32
GetPageSize returns the PageSize field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetPageSize(v int32)
SetPageSize sets PageSize field to given value.
func (o *PromoCodeQueryParams) HasPageSize() bool
HasPageSize returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) GetSearch() SearchFilter
GetSearch returns the Search field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) GetSearchOk() (*SearchFilter, bool)
GetSearchOk returns a tuple with the Search field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PromoCodeQueryParams) SetSearch(v SearchFilter)
SetSearch sets Search field to given value.
func (o *PromoCodeQueryParams) HasSearch() bool
HasSearch returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetSearchNil(b bool)
SetSearchNil sets the value for Search to be an explicit nil
func (o *PromoCodeQueryParams) UnsetSearch()
UnsetSearch ensures that no value is present for Search, not even an explicit nil
func (o *PromoCodeQueryParams) GetSortDescending() bool
GetSortDescending returns the SortDescending field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetSortDescending(v bool)
SetSortDescending sets SortDescending field to given value.
func (o *PromoCodeQueryParams) HasSortDescending() bool
HasSortDescending returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) GetSortKey() string
GetSortKey returns the SortKey field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetSortKey(v string)
SetSortKey sets SortKey field to given value.
func (o *PromoCodeQueryParams) HasSortKey() bool
HasSortKey returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) GetUpdatedAt() DateTimeFilter
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *PromoCodeQueryParams) 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.
func (o *PromoCodeQueryParams) SetUpdatedAt(v DateTimeFilter)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *PromoCodeQueryParams) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (o *PromoCodeQueryParams) SetUpdatedAtNil(b bool)
SetUpdatedAtNil sets the value for UpdatedAt to be an explicit nil
func (o *PromoCodeQueryParams) UnsetUpdatedAt()
UnsetUpdatedAt ensures that no value is present for UpdatedAt, not even an explicit nil