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] |
EvaluationGroupID | Pointer to int32 | The ID of the evaluation group. For more information, see Managing campaign evaluation. | [optional] |
EvaluationGroupMode | Pointer to string | The evaluation mode of the evaluation group. For more information, see Managing campaign evaluation. | [optional] |
CampaignRevisionId | Pointer to int32 | The revision ID of the campaign that was used when triggering the effect. | [optional] |
CampaignRevisionVersionId | Pointer to int32 | The revision version ID of the campaign that was used when triggering the effect. | [optional] |
Props | Pointer to map[string]interface{} | The properties of the effect. See API effects. |
func (o *Effect) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
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.
func (o *Effect) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *Effect) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *Effect) GetRulesetId() int32
GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.
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.
func (o *Effect) HasRulesetId() bool
HasRulesetId returns a boolean if a field has been set.
func (o *Effect) SetRulesetId(v int32)
SetRulesetId gets a reference to the given int32 and assigns it to the RulesetId field.
func (o *Effect) GetRuleIndex() int32
GetRuleIndex returns the RuleIndex field if non-nil, zero value otherwise.
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.
func (o *Effect) HasRuleIndex() bool
HasRuleIndex returns a boolean if a field has been set.
func (o *Effect) SetRuleIndex(v int32)
SetRuleIndex gets a reference to the given int32 and assigns it to the RuleIndex field.
func (o *Effect) GetRuleName() string
GetRuleName returns the RuleName field if non-nil, zero value otherwise.
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.
func (o *Effect) HasRuleName() bool
HasRuleName returns a boolean if a field has been set.
func (o *Effect) SetRuleName(v string)
SetRuleName gets a reference to the given string and assigns it to the RuleName field.
func (o *Effect) GetEffectType() string
GetEffectType returns the EffectType field if non-nil, zero value otherwise.
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.
func (o *Effect) HasEffectType() bool
HasEffectType returns a boolean if a field has been set.
func (o *Effect) SetEffectType(v string)
SetEffectType gets a reference to the given string and assigns it to the EffectType field.
func (o *Effect) GetTriggeredByCoupon() int32
GetTriggeredByCoupon returns the TriggeredByCoupon field if non-nil, zero value otherwise.
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.
func (o *Effect) HasTriggeredByCoupon() bool
HasTriggeredByCoupon returns a boolean if a field has been set.
func (o *Effect) SetTriggeredByCoupon(v int32)
SetTriggeredByCoupon gets a reference to the given int32 and assigns it to the TriggeredByCoupon field.
func (o *Effect) GetTriggeredForCatalogItem() int32
GetTriggeredForCatalogItem returns the TriggeredForCatalogItem field if non-nil, zero value otherwise.
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.
func (o *Effect) HasTriggeredForCatalogItem() bool
HasTriggeredForCatalogItem returns a boolean if a field has been set.
func (o *Effect) SetTriggeredForCatalogItem(v int32)
SetTriggeredForCatalogItem gets a reference to the given int32 and assigns it to the TriggeredForCatalogItem field.
func (o *Effect) GetConditionIndex() int32
GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.
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.
func (o *Effect) HasConditionIndex() bool
HasConditionIndex returns a boolean if a field has been set.
func (o *Effect) SetConditionIndex(v int32)
SetConditionIndex gets a reference to the given int32 and assigns it to the ConditionIndex field.
func (o *Effect) GetEvaluationGroupID() int32
GetEvaluationGroupID returns the EvaluationGroupID field if non-nil, zero value otherwise.
func (o *Effect) GetEvaluationGroupIDOk() (int32, bool)
GetEvaluationGroupIDOk returns a tuple with the EvaluationGroupID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) HasEvaluationGroupID() bool
HasEvaluationGroupID returns a boolean if a field has been set.
func (o *Effect) SetEvaluationGroupID(v int32)
SetEvaluationGroupID gets a reference to the given int32 and assigns it to the EvaluationGroupID field.
func (o *Effect) GetEvaluationGroupMode() string
GetEvaluationGroupMode returns the EvaluationGroupMode field if non-nil, zero value otherwise.
func (o *Effect) GetEvaluationGroupModeOk() (string, bool)
GetEvaluationGroupModeOk returns a tuple with the EvaluationGroupMode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) HasEvaluationGroupMode() bool
HasEvaluationGroupMode returns a boolean if a field has been set.
func (o *Effect) SetEvaluationGroupMode(v string)
SetEvaluationGroupMode gets a reference to the given string and assigns it to the EvaluationGroupMode field.
func (o *Effect) GetCampaignRevisionId() int32
GetCampaignRevisionId returns the CampaignRevisionId field if non-nil, zero value otherwise.
func (o *Effect) GetCampaignRevisionIdOk() (int32, bool)
GetCampaignRevisionIdOk returns a tuple with the CampaignRevisionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) HasCampaignRevisionId() bool
HasCampaignRevisionId returns a boolean if a field has been set.
func (o *Effect) SetCampaignRevisionId(v int32)
SetCampaignRevisionId gets a reference to the given int32 and assigns it to the CampaignRevisionId field.
func (o *Effect) GetCampaignRevisionVersionId() int32
GetCampaignRevisionVersionId returns the CampaignRevisionVersionId field if non-nil, zero value otherwise.
func (o *Effect) GetCampaignRevisionVersionIdOk() (int32, bool)
GetCampaignRevisionVersionIdOk returns a tuple with the CampaignRevisionVersionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) HasCampaignRevisionVersionId() bool
HasCampaignRevisionVersionId returns a boolean if a field has been set.
func (o *Effect) SetCampaignRevisionVersionId(v int32)
SetCampaignRevisionVersionId gets a reference to the given int32 and assigns it to the CampaignRevisionVersionId field.
func (o *Effect) GetProps() map[string]interface{}
GetProps returns the Props field if non-nil, zero value otherwise.
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.
func (o *Effect) HasProps() bool
HasProps returns a boolean if a field has been set.
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.