Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | Notification name. | |
Scopes | Pointer to []string | ||
BatchingEnabled | Pointer to bool | Indicates whether batching is activated. | [optional] [default to true] |
func (o *CouponsNotificationPolicy) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CouponsNotificationPolicy) 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 *CouponsNotificationPolicy) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CouponsNotificationPolicy) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *CouponsNotificationPolicy) GetScopes() []string
GetScopes returns the Scopes field if non-nil, zero value otherwise.
func (o *CouponsNotificationPolicy) GetScopesOk() ([]string, bool)
GetScopesOk returns a tuple with the Scopes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponsNotificationPolicy) HasScopes() bool
HasScopes returns a boolean if a field has been set.
func (o *CouponsNotificationPolicy) SetScopes(v []string)
SetScopes gets a reference to the given []string and assigns it to the Scopes field.
func (o *CouponsNotificationPolicy) GetBatchingEnabled() bool
GetBatchingEnabled returns the BatchingEnabled field if non-nil, zero value otherwise.
func (o *CouponsNotificationPolicy) GetBatchingEnabledOk() (bool, bool)
GetBatchingEnabledOk returns a tuple with the BatchingEnabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponsNotificationPolicy) HasBatchingEnabled() bool
HasBatchingEnabled returns a boolean if a field has been set.
func (o *CouponsNotificationPolicy) SetBatchingEnabled(v bool)
SetBatchingEnabled gets a reference to the given bool and assigns it to the BatchingEnabled field.