Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
ApplicationId | Pointer to int32 | The ID of the application that owns this entity. | |
AccountId | Pointer to int32 | The ID of the account that owns this entity. | |
Filters | Pointer to CouponDeletionFilters | ||
Status | Pointer to string | The current status of this request. Possible values: - `not_ready` - `pending` - `completed` - `failed` | |
DeletedAmount | Pointer to int32 | The number of coupon codes that were already deleted for this request. | [optional] |
FailCount | Pointer to int32 | The number of times this job failed. | |
Errors | Pointer to []string | An array of individual problems encountered during the request. | |
CreatedBy | Pointer to int32 | ID of the user who created this effect. | |
Communicated | Pointer to bool | Indicates whether the user that created this job was notified of its final state. | |
CampaignIDs | Pointer to []int32 | [optional] |
func (o *CouponDeletionJob) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasId() bool
HasId returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *CouponDeletionJob) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *CouponDeletionJob) GetApplicationId() int32
GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetApplicationIdOk() (int32, bool)
GetApplicationIdOk returns a tuple with the ApplicationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasApplicationId() bool
HasApplicationId returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetApplicationId(v int32)
SetApplicationId gets a reference to the given int32 and assigns it to the ApplicationId field.
func (o *CouponDeletionJob) GetAccountId() int32
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetAccountIdOk() (int32, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetAccountId(v int32)
SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.
func (o *CouponDeletionJob) GetFilters() CouponDeletionFilters
GetFilters returns the Filters field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetFiltersOk() (CouponDeletionFilters, bool)
GetFiltersOk returns a tuple with the Filters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasFilters() bool
HasFilters returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetFilters(v CouponDeletionFilters)
SetFilters gets a reference to the given CouponDeletionFilters and assigns it to the Filters field.
func (o *CouponDeletionJob) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetStatusOk() (string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetStatus(v string)
SetStatus gets a reference to the given string and assigns it to the Status field.
func (o *CouponDeletionJob) GetDeletedAmount() int32
GetDeletedAmount returns the DeletedAmount field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetDeletedAmountOk() (int32, bool)
GetDeletedAmountOk returns a tuple with the DeletedAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasDeletedAmount() bool
HasDeletedAmount returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetDeletedAmount(v int32)
SetDeletedAmount gets a reference to the given int32 and assigns it to the DeletedAmount field.
func (o *CouponDeletionJob) GetFailCount() int32
GetFailCount returns the FailCount field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetFailCountOk() (int32, bool)
GetFailCountOk returns a tuple with the FailCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasFailCount() bool
HasFailCount returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetFailCount(v int32)
SetFailCount gets a reference to the given int32 and assigns it to the FailCount field.
func (o *CouponDeletionJob) GetErrors() []string
GetErrors returns the Errors field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetErrorsOk() ([]string, bool)
GetErrorsOk returns a tuple with the Errors field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasErrors() bool
HasErrors returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetErrors(v []string)
SetErrors gets a reference to the given []string and assigns it to the Errors field.
func (o *CouponDeletionJob) GetCreatedBy() int32
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetCreatedByOk() (int32, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetCreatedBy(v int32)
SetCreatedBy gets a reference to the given int32 and assigns it to the CreatedBy field.
func (o *CouponDeletionJob) GetCommunicated() bool
GetCommunicated returns the Communicated field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetCommunicatedOk() (bool, bool)
GetCommunicatedOk returns a tuple with the Communicated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasCommunicated() bool
HasCommunicated returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetCommunicated(v bool)
SetCommunicated gets a reference to the given bool and assigns it to the Communicated field.
func (o *CouponDeletionJob) GetCampaignIDs() []int32
GetCampaignIDs returns the CampaignIDs field if non-nil, zero value otherwise.
func (o *CouponDeletionJob) GetCampaignIDsOk() ([]int32, bool)
GetCampaignIDsOk returns a tuple with the CampaignIDs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouponDeletionJob) HasCampaignIDs() bool
HasCampaignIDs returns a boolean if a field has been set.
func (o *CouponDeletionJob) SetCampaignIDs(v []int32)
SetCampaignIDs gets a reference to the given []int32 and assigns it to the CampaignIDs field.