Skip to content

Latest commit

 

History

History
221 lines (118 loc) · 6.67 KB

EffectEntity.md

File metadata and controls

221 lines (118 loc) · 6.67 KB

EffectEntity

Properties

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]

Methods

GetCampaignId

func (o *EffectEntity) GetCampaignId() int32

GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.

GetCampaignIdOk

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.

HasCampaignId

func (o *EffectEntity) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

SetCampaignId

func (o *EffectEntity) SetCampaignId(v int32)

SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.

GetRulesetId

func (o *EffectEntity) GetRulesetId() int32

GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.

GetRulesetIdOk

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.

HasRulesetId

func (o *EffectEntity) HasRulesetId() bool

HasRulesetId returns a boolean if a field has been set.

SetRulesetId

func (o *EffectEntity) SetRulesetId(v int32)

SetRulesetId gets a reference to the given int32 and assigns it to the RulesetId field.

GetRuleIndex

func (o *EffectEntity) GetRuleIndex() int32

GetRuleIndex returns the RuleIndex field if non-nil, zero value otherwise.

GetRuleIndexOk

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.

HasRuleIndex

func (o *EffectEntity) HasRuleIndex() bool

HasRuleIndex returns a boolean if a field has been set.

SetRuleIndex

func (o *EffectEntity) SetRuleIndex(v int32)

SetRuleIndex gets a reference to the given int32 and assigns it to the RuleIndex field.

GetRuleName

func (o *EffectEntity) GetRuleName() string

GetRuleName returns the RuleName field if non-nil, zero value otherwise.

GetRuleNameOk

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.

HasRuleName

func (o *EffectEntity) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

SetRuleName

func (o *EffectEntity) SetRuleName(v string)

SetRuleName gets a reference to the given string and assigns it to the RuleName field.

GetEffectType

func (o *EffectEntity) GetEffectType() string

GetEffectType returns the EffectType field if non-nil, zero value otherwise.

GetEffectTypeOk

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.

HasEffectType

func (o *EffectEntity) HasEffectType() bool

HasEffectType returns a boolean if a field has been set.

SetEffectType

func (o *EffectEntity) SetEffectType(v string)

SetEffectType gets a reference to the given string and assigns it to the EffectType field.

GetTriggeredByCoupon

func (o *EffectEntity) GetTriggeredByCoupon() int32

GetTriggeredByCoupon returns the TriggeredByCoupon field if non-nil, zero value otherwise.

GetTriggeredByCouponOk

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.

HasTriggeredByCoupon

func (o *EffectEntity) HasTriggeredByCoupon() bool

HasTriggeredByCoupon returns a boolean if a field has been set.

SetTriggeredByCoupon

func (o *EffectEntity) SetTriggeredByCoupon(v int32)

SetTriggeredByCoupon gets a reference to the given int32 and assigns it to the TriggeredByCoupon field.

GetTriggeredForCatalogItem

func (o *EffectEntity) GetTriggeredForCatalogItem() int32

GetTriggeredForCatalogItem returns the TriggeredForCatalogItem field if non-nil, zero value otherwise.

GetTriggeredForCatalogItemOk

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.

HasTriggeredForCatalogItem

func (o *EffectEntity) HasTriggeredForCatalogItem() bool

HasTriggeredForCatalogItem returns a boolean if a field has been set.

SetTriggeredForCatalogItem

func (o *EffectEntity) SetTriggeredForCatalogItem(v int32)

SetTriggeredForCatalogItem gets a reference to the given int32 and assigns it to the TriggeredForCatalogItem field.

GetConditionIndex

func (o *EffectEntity) GetConditionIndex() int32

GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.

GetConditionIndexOk

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.

HasConditionIndex

func (o *EffectEntity) HasConditionIndex() bool

HasConditionIndex returns a boolean if a field has been set.

SetConditionIndex

func (o *EffectEntity) SetConditionIndex(v int32)

SetConditionIndex gets a reference to the given int32 and assigns it to the ConditionIndex field.

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