| Name | Type | Description | Notes |
|---|---|---|---|
| IsActive | Pointer to NullableBool | [optional] | |
| MaxRedemptions | Pointer to NullableInt32 | [optional] | |
| Name | Pointer to NullableString | [optional] | |
| RedeemBy | Pointer to NullableTime | [optional] |
func NewUpdateCouponRequest() *UpdateCouponRequest
NewUpdateCouponRequest instantiates a new UpdateCouponRequest 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 NewUpdateCouponRequestWithDefaults() *UpdateCouponRequest
NewUpdateCouponRequestWithDefaults instantiates a new UpdateCouponRequest 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 *UpdateCouponRequest) GetIsActive() bool
GetIsActive returns the IsActive field if non-nil, zero value otherwise.
func (o *UpdateCouponRequest) 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 *UpdateCouponRequest) SetIsActive(v bool)
SetIsActive sets IsActive field to given value.
func (o *UpdateCouponRequest) HasIsActive() bool
HasIsActive returns a boolean if a field has been set.
func (o *UpdateCouponRequest) SetIsActiveNil(b bool)
SetIsActiveNil sets the value for IsActive to be an explicit nil
func (o *UpdateCouponRequest) UnsetIsActive()
UnsetIsActive ensures that no value is present for IsActive, not even an explicit nil
func (o *UpdateCouponRequest) GetMaxRedemptions() int32
GetMaxRedemptions returns the MaxRedemptions field if non-nil, zero value otherwise.
func (o *UpdateCouponRequest) GetMaxRedemptionsOk() (*int32, bool)
GetMaxRedemptionsOk returns a tuple with the MaxRedemptions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCouponRequest) SetMaxRedemptions(v int32)
SetMaxRedemptions sets MaxRedemptions field to given value.
func (o *UpdateCouponRequest) HasMaxRedemptions() bool
HasMaxRedemptions returns a boolean if a field has been set.
func (o *UpdateCouponRequest) SetMaxRedemptionsNil(b bool)
SetMaxRedemptionsNil sets the value for MaxRedemptions to be an explicit nil
func (o *UpdateCouponRequest) UnsetMaxRedemptions()
UnsetMaxRedemptions ensures that no value is present for MaxRedemptions, not even an explicit nil
func (o *UpdateCouponRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateCouponRequest) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCouponRequest) SetName(v string)
SetName sets Name field to given value.
func (o *UpdateCouponRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *UpdateCouponRequest) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *UpdateCouponRequest) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *UpdateCouponRequest) GetRedeemBy() time.Time
GetRedeemBy returns the RedeemBy field if non-nil, zero value otherwise.
func (o *UpdateCouponRequest) GetRedeemByOk() (*time.Time, bool)
GetRedeemByOk returns a tuple with the RedeemBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCouponRequest) SetRedeemBy(v time.Time)
SetRedeemBy sets RedeemBy field to given value.
func (o *UpdateCouponRequest) HasRedeemBy() bool
HasRedeemBy returns a boolean if a field has been set.
func (o *UpdateCouponRequest) SetRedeemByNil(b bool)
SetRedeemByNil sets the value for RedeemBy to be an explicit nil
func (o *UpdateCouponRequest) UnsetRedeemBy()
UnsetRedeemBy ensures that no value is present for RedeemBy, not even an explicit nil