Skip to content

Latest commit

 

History

History
247 lines (132 loc) · 7.25 KB

Effect.md

File metadata and controls

247 lines (132 loc) · 7.25 KB

Effect

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]
Props Pointer to map[string]interface{} The properties of the effect. See API effects.

Methods

GetCampaignId

func (o *Effect) GetCampaignId() int32

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

GetCampaignIdOk

func (o *Effect) 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 *Effect) HasCampaignId() bool

HasCampaignId returns a boolean if a field has been set.

SetCampaignId

func (o *Effect) SetCampaignId(v int32)

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

GetRulesetId

func (o *Effect) GetRulesetId() int32

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

GetRulesetIdOk

func (o *Effect) 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 *Effect) HasRulesetId() bool

HasRulesetId returns a boolean if a field has been set.

SetRulesetId

func (o *Effect) SetRulesetId(v int32)

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

GetRuleIndex

func (o *Effect) GetRuleIndex() int32

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

GetRuleIndexOk

func (o *Effect) 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 *Effect) HasRuleIndex() bool

HasRuleIndex returns a boolean if a field has been set.

SetRuleIndex

func (o *Effect) SetRuleIndex(v int32)

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

GetRuleName

func (o *Effect) GetRuleName() string

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

GetRuleNameOk

func (o *Effect) 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 *Effect) HasRuleName() bool

HasRuleName returns a boolean if a field has been set.

SetRuleName

func (o *Effect) SetRuleName(v string)

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

GetEffectType

func (o *Effect) GetEffectType() string

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

GetEffectTypeOk

func (o *Effect) 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 *Effect) HasEffectType() bool

HasEffectType returns a boolean if a field has been set.

SetEffectType

func (o *Effect) SetEffectType(v string)

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

GetTriggeredByCoupon

func (o *Effect) GetTriggeredByCoupon() int32

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

GetTriggeredByCouponOk

func (o *Effect) 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 *Effect) HasTriggeredByCoupon() bool

HasTriggeredByCoupon returns a boolean if a field has been set.

SetTriggeredByCoupon

func (o *Effect) SetTriggeredByCoupon(v int32)

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

GetTriggeredForCatalogItem

func (o *Effect) GetTriggeredForCatalogItem() int32

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

GetTriggeredForCatalogItemOk

func (o *Effect) 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 *Effect) HasTriggeredForCatalogItem() bool

HasTriggeredForCatalogItem returns a boolean if a field has been set.

SetTriggeredForCatalogItem

func (o *Effect) SetTriggeredForCatalogItem(v int32)

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

GetConditionIndex

func (o *Effect) GetConditionIndex() int32

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

GetConditionIndexOk

func (o *Effect) 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 *Effect) HasConditionIndex() bool

HasConditionIndex returns a boolean if a field has been set.

SetConditionIndex

func (o *Effect) SetConditionIndex(v int32)

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

GetProps

func (o *Effect) GetProps() map[string]interface{}

GetProps returns the Props field if non-nil, zero value otherwise.

GetPropsOk

func (o *Effect) GetPropsOk() (map[string]interface{}, bool)

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

HasProps

func (o *Effect) HasProps() bool

HasProps returns a boolean if a field has been set.

SetProps

func (o *Effect) SetProps(v map[string]interface{})

SetProps gets a reference to the given map[string]interface{} and assigns it to the Props field.

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