Name | Type | Description | Notes |
---|---|---|---|
CampaignId | Pointer to int32 | The ID of the campaign that triggered this effect. | |
RulesetId | Pointer to int32 | The ID of the ruleset that was active in the campaign when this effect was triggered. | |
RuleIndex | Pointer to int32 | The position of the rule that triggered this effect within the ruleset. | |
RuleName | Pointer to string | The name of the rule that triggered this effect. | |
EffectType | Pointer to string | The type of effect that was triggered. See API effects. | |
TriggeredByCoupon | Pointer to int32 | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] |
TriggeredForCatalogItem | Pointer to int32 | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] |
ConditionIndex | Pointer to int32 | The index of the condition that was triggered. | [optional] |
func (o *EffectEntity) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *EffectEntity) GetCampaignIdOk() (int32, bool)
GetCampaignIdOk returns a tuple with the CampaignId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *EffectEntity) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *EffectEntity) GetRulesetId() int32
GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.
func (o *EffectEntity) GetRulesetIdOk() (int32, bool)
GetRulesetIdOk returns a tuple with the RulesetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasRulesetId() bool
HasRulesetId returns a boolean if a field has been set.
func (o *EffectEntity) SetRulesetId(v int32)
SetRulesetId gets a reference to the given int32 and assigns it to the RulesetId field.
func (o *EffectEntity) GetRuleIndex() int32
GetRuleIndex returns the RuleIndex field if non-nil, zero value otherwise.
func (o *EffectEntity) GetRuleIndexOk() (int32, bool)
GetRuleIndexOk returns a tuple with the RuleIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasRuleIndex() bool
HasRuleIndex returns a boolean if a field has been set.
func (o *EffectEntity) SetRuleIndex(v int32)
SetRuleIndex gets a reference to the given int32 and assigns it to the RuleIndex field.
func (o *EffectEntity) GetRuleName() string
GetRuleName returns the RuleName field if non-nil, zero value otherwise.
func (o *EffectEntity) GetRuleNameOk() (string, bool)
GetRuleNameOk returns a tuple with the RuleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasRuleName() bool
HasRuleName returns a boolean if a field has been set.
func (o *EffectEntity) SetRuleName(v string)
SetRuleName gets a reference to the given string and assigns it to the RuleName field.
func (o *EffectEntity) GetEffectType() string
GetEffectType returns the EffectType field if non-nil, zero value otherwise.
func (o *EffectEntity) GetEffectTypeOk() (string, bool)
GetEffectTypeOk returns a tuple with the EffectType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasEffectType() bool
HasEffectType returns a boolean if a field has been set.
func (o *EffectEntity) SetEffectType(v string)
SetEffectType gets a reference to the given string and assigns it to the EffectType field.
func (o *EffectEntity) GetTriggeredByCoupon() int32
GetTriggeredByCoupon returns the TriggeredByCoupon field if non-nil, zero value otherwise.
func (o *EffectEntity) GetTriggeredByCouponOk() (int32, bool)
GetTriggeredByCouponOk returns a tuple with the TriggeredByCoupon field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasTriggeredByCoupon() bool
HasTriggeredByCoupon returns a boolean if a field has been set.
func (o *EffectEntity) SetTriggeredByCoupon(v int32)
SetTriggeredByCoupon gets a reference to the given int32 and assigns it to the TriggeredByCoupon field.
func (o *EffectEntity) GetTriggeredForCatalogItem() int32
GetTriggeredForCatalogItem returns the TriggeredForCatalogItem field if non-nil, zero value otherwise.
func (o *EffectEntity) GetTriggeredForCatalogItemOk() (int32, bool)
GetTriggeredForCatalogItemOk returns a tuple with the TriggeredForCatalogItem field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasTriggeredForCatalogItem() bool
HasTriggeredForCatalogItem returns a boolean if a field has been set.
func (o *EffectEntity) SetTriggeredForCatalogItem(v int32)
SetTriggeredForCatalogItem gets a reference to the given int32 and assigns it to the TriggeredForCatalogItem field.
func (o *EffectEntity) GetConditionIndex() int32
GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.
func (o *EffectEntity) GetConditionIndexOk() (int32, bool)
GetConditionIndexOk returns a tuple with the ConditionIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EffectEntity) HasConditionIndex() bool
HasConditionIndex returns a boolean if a field has been set.
func (o *EffectEntity) SetConditionIndex(v int32)
SetConditionIndex gets a reference to the given int32 and assigns it to the ConditionIndex field.