Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | A user-facing name for this campaign. | |
Description | Pointer to string | A detailed description of the campaign. | [optional] |
TemplateId | Pointer to int32 | The ID of the Campaign Template which will be used in order to create the Campaign. | |
CampaignAttributesOverrides | Pointer to map[string]interface{} | Custom Campaign Attributes. If the Campaign Template defines the same values, they will be overridden. | [optional] |
TemplateParamValues | Pointer to []Binding | Actual values to replace the template placeholder values in the Ruleset bindings. Values for all Template Parameters must be provided. | [optional] |
LimitOverrides | Pointer to []LimitConfig | Limits for this Campaign. If the Campaign Template or Application define default values for the same limits, they will be overridden. | [optional] |
CampaignGroups | Pointer to []int32 | The IDs of the campaign groups this campaign belongs to. | [optional] |
Tags | Pointer to []string | A list of tags for the campaign. If the campaign template has tags, they will be overridden by this list. | [optional] |
EvaluationGroupId | Pointer to int32 | The ID of the campaign evaluation group the campaign belongs to. | [optional] |
LinkedStoreIds | Pointer to []int32 | A list of store IDs that are linked to the campaign. Note: Campaigns with linked store IDs will only be evaluated when there is a customer session update that references a linked store. | [optional] |
func (o *CreateTemplateCampaign) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetNameOk() (string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasName() bool
HasName returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *CreateTemplateCampaign) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetDescriptionOk() (string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *CreateTemplateCampaign) GetTemplateId() int32
GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetTemplateIdOk() (int32, bool)
GetTemplateIdOk returns a tuple with the TemplateId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasTemplateId() bool
HasTemplateId returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetTemplateId(v int32)
SetTemplateId gets a reference to the given int32 and assigns it to the TemplateId field.
func (o *CreateTemplateCampaign) GetCampaignAttributesOverrides() map[string]interface{}
GetCampaignAttributesOverrides returns the CampaignAttributesOverrides field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetCampaignAttributesOverridesOk() (map[string]interface{}, bool)
GetCampaignAttributesOverridesOk returns a tuple with the CampaignAttributesOverrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasCampaignAttributesOverrides() bool
HasCampaignAttributesOverrides returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetCampaignAttributesOverrides(v map[string]interface{})
SetCampaignAttributesOverrides gets a reference to the given map[string]interface{} and assigns it to the CampaignAttributesOverrides field.
func (o *CreateTemplateCampaign) GetTemplateParamValues() []Binding
GetTemplateParamValues returns the TemplateParamValues field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetTemplateParamValuesOk() ([]Binding, bool)
GetTemplateParamValuesOk returns a tuple with the TemplateParamValues field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasTemplateParamValues() bool
HasTemplateParamValues returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetTemplateParamValues(v []Binding)
SetTemplateParamValues gets a reference to the given []Binding and assigns it to the TemplateParamValues field.
func (o *CreateTemplateCampaign) GetLimitOverrides() []LimitConfig
GetLimitOverrides returns the LimitOverrides field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetLimitOverridesOk() ([]LimitConfig, bool)
GetLimitOverridesOk returns a tuple with the LimitOverrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasLimitOverrides() bool
HasLimitOverrides returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetLimitOverrides(v []LimitConfig)
SetLimitOverrides gets a reference to the given []LimitConfig and assigns it to the LimitOverrides field.
func (o *CreateTemplateCampaign) GetCampaignGroups() []int32
GetCampaignGroups returns the CampaignGroups field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetCampaignGroupsOk() ([]int32, bool)
GetCampaignGroupsOk returns a tuple with the CampaignGroups field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasCampaignGroups() bool
HasCampaignGroups returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetCampaignGroups(v []int32)
SetCampaignGroups gets a reference to the given []int32 and assigns it to the CampaignGroups field.
func (o *CreateTemplateCampaign) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetTagsOk() ([]string, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *CreateTemplateCampaign) GetEvaluationGroupId() int32
GetEvaluationGroupId returns the EvaluationGroupId field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) 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 *CreateTemplateCampaign) HasEvaluationGroupId() bool
HasEvaluationGroupId returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetEvaluationGroupId(v int32)
SetEvaluationGroupId gets a reference to the given int32 and assigns it to the EvaluationGroupId field.
func (o *CreateTemplateCampaign) GetLinkedStoreIds() []int32
GetLinkedStoreIds returns the LinkedStoreIds field if non-nil, zero value otherwise.
func (o *CreateTemplateCampaign) GetLinkedStoreIdsOk() ([]int32, bool)
GetLinkedStoreIdsOk returns a tuple with the LinkedStoreIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateTemplateCampaign) HasLinkedStoreIds() bool
HasLinkedStoreIds returns a boolean if a field has been set.
func (o *CreateTemplateCampaign) SetLinkedStoreIds(v []int32)
SetLinkedStoreIds gets a reference to the given []int32 and assigns it to the LinkedStoreIds field.