Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 4.18 KB

File metadata and controls

124 lines (67 loc) · 4.18 KB

ExpiringCouponsNotificationPolicy

Properties

Name Type Description Notes
Name Pointer to string Notification name.
Triggers Pointer to []ExpiringCouponsNotificationTrigger
BatchingEnabled Pointer to bool Indicates whether batching is activated. [optional] [default to true]
BatchSize Pointer to int64 The required size of each batch of data. This value applies only when `batchingEnabled` is `true`. [optional] [default to 1000]

Methods

NewExpiringCouponsNotificationPolicy

func NewExpiringCouponsNotificationPolicy(name string, triggers []ExpiringCouponsNotificationTrigger, ) *ExpiringCouponsNotificationPolicy

NewExpiringCouponsNotificationPolicy instantiates a new ExpiringCouponsNotificationPolicy 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

NewExpiringCouponsNotificationPolicyWithDefaults

func NewExpiringCouponsNotificationPolicyWithDefaults() *ExpiringCouponsNotificationPolicy

NewExpiringCouponsNotificationPolicyWithDefaults instantiates a new ExpiringCouponsNotificationPolicy 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

GetName

func (o *ExpiringCouponsNotificationPolicy) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *ExpiringCouponsNotificationPolicy) 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.

SetName

func (o *ExpiringCouponsNotificationPolicy) SetName(v string)

SetName sets Name field to given value.

GetTriggers

func (o *ExpiringCouponsNotificationPolicy) GetTriggers() []ExpiringCouponsNotificationTrigger

GetTriggers returns the Triggers field if non-nil, zero value otherwise.

GetTriggersOk

func (o *ExpiringCouponsNotificationPolicy) GetTriggersOk() (*[]ExpiringCouponsNotificationTrigger, bool)

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

SetTriggers

func (o *ExpiringCouponsNotificationPolicy) SetTriggers(v []ExpiringCouponsNotificationTrigger)

SetTriggers sets Triggers field to given value.

GetBatchingEnabled

func (o *ExpiringCouponsNotificationPolicy) GetBatchingEnabled() bool

GetBatchingEnabled returns the BatchingEnabled field if non-nil, zero value otherwise.

GetBatchingEnabledOk

func (o *ExpiringCouponsNotificationPolicy) 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.

SetBatchingEnabled

func (o *ExpiringCouponsNotificationPolicy) SetBatchingEnabled(v bool)

SetBatchingEnabled sets BatchingEnabled field to given value.

HasBatchingEnabled

func (o *ExpiringCouponsNotificationPolicy) HasBatchingEnabled() bool

HasBatchingEnabled returns a boolean if a field has been set.

GetBatchSize

func (o *ExpiringCouponsNotificationPolicy) GetBatchSize() int64

GetBatchSize returns the BatchSize field if non-nil, zero value otherwise.

GetBatchSizeOk

func (o *ExpiringCouponsNotificationPolicy) GetBatchSizeOk() (*int64, bool)

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

SetBatchSize

func (o *ExpiringCouponsNotificationPolicy) SetBatchSize(v int64)

SetBatchSize sets BatchSize field to given value.

HasBatchSize

func (o *ExpiringCouponsNotificationPolicy) HasBatchSize() bool

HasBatchSize returns a boolean if a field has been set.

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