| Name | Type | Description | Notes |
|---|---|---|---|
| ExperimentId | Pointer to int64 | The ID of the experiment that campaign belongs to. | [optional] |
| CampaignId | Pointer to int64 | The ID of the campaign that triggered this effect. | |
| RulesetId | Pointer to int64 | The ID of the ruleset that was active in the campaign when this effect was triggered. | |
| RuleIndex | Pointer to int64 | 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 int64 | The ID of the coupon that was being evaluated when this effect was triggered. | [optional] |
| TriggeredForCatalogItem | Pointer to int64 | The ID of the catalog item that was being evaluated when this effect was triggered. | [optional] |
| ConditionIndex | Pointer to int64 | The index of the condition that was triggered. | [optional] |
| EvaluationGroupID | Pointer to int64 | 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 int64 | The revision ID of the campaign that was used when triggering the effect. | [optional] |
| CampaignRevisionVersionId | Pointer to int64 | The revision version ID of the campaign that was used when triggering the effect. | [optional] |
| SelectedPriceType | Pointer to string | The selected price type for the SKU targeted by this effect. | [optional] |
| SelectedPrice | Pointer to float32 | The value of the selected price type to apply to the SKU targeted by this effect, before any discounts are applied. | [optional] |
| AdjustmentReferenceId | Pointer to string | The reference identifier of the selected price adjustment for this SKU. This is only returned if the `selectedPrice` resulted from a price adjustment. | [optional] |
| Props | Pointer to map[string]interface{} |
func NewEffect(campaignId int64, rulesetId int64, ruleIndex int64, ruleName string, effectType string, props map[string]interface{}, ) *Effect
NewEffect instantiates a new Effect object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewEffectWithDefaults() *Effect
NewEffectWithDefaults instantiates a new Effect object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Effect) GetExperimentId() int64
GetExperimentId returns the ExperimentId field if non-nil, zero value otherwise.
func (o *Effect) GetExperimentIdOk() (*int64, bool)
GetExperimentIdOk returns a tuple with the ExperimentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) SetExperimentId(v int64)
SetExperimentId sets ExperimentId field to given value.
func (o *Effect) HasExperimentId() bool
HasExperimentId returns a boolean if a field has been set.
func (o *Effect) GetCampaignId() int64
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *Effect) GetCampaignIdOk() (*int64, 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) SetCampaignId(v int64)
SetCampaignId sets CampaignId field to given value.
func (o *Effect) GetRulesetId() int64
GetRulesetId returns the RulesetId field if non-nil, zero value otherwise.
func (o *Effect) GetRulesetIdOk() (*int64, 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) SetRulesetId(v int64)
SetRulesetId sets RulesetId field to given value.
func (o *Effect) GetRuleIndex() int64
GetRuleIndex returns the RuleIndex field if non-nil, zero value otherwise.
func (o *Effect) GetRuleIndexOk() (*int64, 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) SetRuleIndex(v int64)
SetRuleIndex sets RuleIndex field to given value.
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) SetRuleName(v string)
SetRuleName sets RuleName field to given value.
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) SetEffectType(v string)
SetEffectType sets EffectType field to given value.
func (o *Effect) GetTriggeredByCoupon() int64
GetTriggeredByCoupon returns the TriggeredByCoupon field if non-nil, zero value otherwise.
func (o *Effect) GetTriggeredByCouponOk() (*int64, 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) SetTriggeredByCoupon(v int64)
SetTriggeredByCoupon sets TriggeredByCoupon field to given value.
func (o *Effect) HasTriggeredByCoupon() bool
HasTriggeredByCoupon returns a boolean if a field has been set.
func (o *Effect) GetTriggeredForCatalogItem() int64
GetTriggeredForCatalogItem returns the TriggeredForCatalogItem field if non-nil, zero value otherwise.
func (o *Effect) GetTriggeredForCatalogItemOk() (*int64, 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) SetTriggeredForCatalogItem(v int64)
SetTriggeredForCatalogItem sets TriggeredForCatalogItem field to given value.
func (o *Effect) HasTriggeredForCatalogItem() bool
HasTriggeredForCatalogItem returns a boolean if a field has been set.
func (o *Effect) GetConditionIndex() int64
GetConditionIndex returns the ConditionIndex field if non-nil, zero value otherwise.
func (o *Effect) GetConditionIndexOk() (*int64, 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) SetConditionIndex(v int64)
SetConditionIndex sets ConditionIndex field to given value.
func (o *Effect) HasConditionIndex() bool
HasConditionIndex returns a boolean if a field has been set.
func (o *Effect) GetEvaluationGroupID() int64
GetEvaluationGroupID returns the EvaluationGroupID field if non-nil, zero value otherwise.
func (o *Effect) GetEvaluationGroupIDOk() (*int64, 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) SetEvaluationGroupID(v int64)
SetEvaluationGroupID sets EvaluationGroupID field to given value.
func (o *Effect) HasEvaluationGroupID() bool
HasEvaluationGroupID returns a boolean if a field has been set.
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) SetEvaluationGroupMode(v string)
SetEvaluationGroupMode sets EvaluationGroupMode field to given value.
func (o *Effect) HasEvaluationGroupMode() bool
HasEvaluationGroupMode returns a boolean if a field has been set.
func (o *Effect) GetCampaignRevisionId() int64
GetCampaignRevisionId returns the CampaignRevisionId field if non-nil, zero value otherwise.
func (o *Effect) GetCampaignRevisionIdOk() (*int64, 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) SetCampaignRevisionId(v int64)
SetCampaignRevisionId sets CampaignRevisionId field to given value.
func (o *Effect) HasCampaignRevisionId() bool
HasCampaignRevisionId returns a boolean if a field has been set.
func (o *Effect) GetCampaignRevisionVersionId() int64
GetCampaignRevisionVersionId returns the CampaignRevisionVersionId field if non-nil, zero value otherwise.
func (o *Effect) GetCampaignRevisionVersionIdOk() (*int64, 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) SetCampaignRevisionVersionId(v int64)
SetCampaignRevisionVersionId sets CampaignRevisionVersionId field to given value.
func (o *Effect) HasCampaignRevisionVersionId() bool
HasCampaignRevisionVersionId returns a boolean if a field has been set.
func (o *Effect) GetSelectedPriceType() string
GetSelectedPriceType returns the SelectedPriceType field if non-nil, zero value otherwise.
func (o *Effect) GetSelectedPriceTypeOk() (*string, bool)
GetSelectedPriceTypeOk returns a tuple with the SelectedPriceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) SetSelectedPriceType(v string)
SetSelectedPriceType sets SelectedPriceType field to given value.
func (o *Effect) HasSelectedPriceType() bool
HasSelectedPriceType returns a boolean if a field has been set.
func (o *Effect) GetSelectedPrice() float32
GetSelectedPrice returns the SelectedPrice field if non-nil, zero value otherwise.
func (o *Effect) GetSelectedPriceOk() (*float32, bool)
GetSelectedPriceOk returns a tuple with the SelectedPrice field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) SetSelectedPrice(v float32)
SetSelectedPrice sets SelectedPrice field to given value.
func (o *Effect) HasSelectedPrice() bool
HasSelectedPrice returns a boolean if a field has been set.
func (o *Effect) GetAdjustmentReferenceId() string
GetAdjustmentReferenceId returns the AdjustmentReferenceId field if non-nil, zero value otherwise.
func (o *Effect) GetAdjustmentReferenceIdOk() (*string, bool)
GetAdjustmentReferenceIdOk returns a tuple with the AdjustmentReferenceId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Effect) SetAdjustmentReferenceId(v string)
SetAdjustmentReferenceId sets AdjustmentReferenceId field to given value.
func (o *Effect) HasAdjustmentReferenceId() bool
HasAdjustmentReferenceId returns a boolean if a field has been set.
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) SetProps(v map[string]interface{})
SetProps sets Props field to given value.