Skip to content

Latest commit

 

History

History
273 lines (146 loc) · 9.46 KB

CreateTemplateCampaign.md

File metadata and controls

273 lines (146 loc) · 9.46 KB

CreateTemplateCampaign

Properties

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]

Methods

GetName

func (o *CreateTemplateCampaign) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

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.

HasName

func (o *CreateTemplateCampaign) HasName() bool

HasName returns a boolean if a field has been set.

SetName

func (o *CreateTemplateCampaign) SetName(v string)

SetName gets a reference to the given string and assigns it to the Name field.

GetDescription

func (o *CreateTemplateCampaign) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

HasDescription

func (o *CreateTemplateCampaign) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *CreateTemplateCampaign) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

GetTemplateId

func (o *CreateTemplateCampaign) GetTemplateId() int32

GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.

GetTemplateIdOk

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.

HasTemplateId

func (o *CreateTemplateCampaign) HasTemplateId() bool

HasTemplateId returns a boolean if a field has been set.

SetTemplateId

func (o *CreateTemplateCampaign) SetTemplateId(v int32)

SetTemplateId gets a reference to the given int32 and assigns it to the TemplateId field.

GetCampaignAttributesOverrides

func (o *CreateTemplateCampaign) GetCampaignAttributesOverrides() map[string]interface{}

GetCampaignAttributesOverrides returns the CampaignAttributesOverrides field if non-nil, zero value otherwise.

GetCampaignAttributesOverridesOk

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.

HasCampaignAttributesOverrides

func (o *CreateTemplateCampaign) HasCampaignAttributesOverrides() bool

HasCampaignAttributesOverrides returns a boolean if a field has been set.

SetCampaignAttributesOverrides

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.

GetTemplateParamValues

func (o *CreateTemplateCampaign) GetTemplateParamValues() []Binding

GetTemplateParamValues returns the TemplateParamValues field if non-nil, zero value otherwise.

GetTemplateParamValuesOk

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.

HasTemplateParamValues

func (o *CreateTemplateCampaign) HasTemplateParamValues() bool

HasTemplateParamValues returns a boolean if a field has been set.

SetTemplateParamValues

func (o *CreateTemplateCampaign) SetTemplateParamValues(v []Binding)

SetTemplateParamValues gets a reference to the given []Binding and assigns it to the TemplateParamValues field.

GetLimitOverrides

func (o *CreateTemplateCampaign) GetLimitOverrides() []LimitConfig

GetLimitOverrides returns the LimitOverrides field if non-nil, zero value otherwise.

GetLimitOverridesOk

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.

HasLimitOverrides

func (o *CreateTemplateCampaign) HasLimitOverrides() bool

HasLimitOverrides returns a boolean if a field has been set.

SetLimitOverrides

func (o *CreateTemplateCampaign) SetLimitOverrides(v []LimitConfig)

SetLimitOverrides gets a reference to the given []LimitConfig and assigns it to the LimitOverrides field.

GetCampaignGroups

func (o *CreateTemplateCampaign) GetCampaignGroups() []int32

GetCampaignGroups returns the CampaignGroups field if non-nil, zero value otherwise.

GetCampaignGroupsOk

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.

HasCampaignGroups

func (o *CreateTemplateCampaign) HasCampaignGroups() bool

HasCampaignGroups returns a boolean if a field has been set.

SetCampaignGroups

func (o *CreateTemplateCampaign) SetCampaignGroups(v []int32)

SetCampaignGroups gets a reference to the given []int32 and assigns it to the CampaignGroups field.

GetTags

func (o *CreateTemplateCampaign) GetTags() []string

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

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.

HasTags

func (o *CreateTemplateCampaign) HasTags() bool

HasTags returns a boolean if a field has been set.

SetTags

func (o *CreateTemplateCampaign) SetTags(v []string)

SetTags gets a reference to the given []string and assigns it to the Tags field.

GetEvaluationGroupId

func (o *CreateTemplateCampaign) GetEvaluationGroupId() int32

GetEvaluationGroupId returns the EvaluationGroupId field if non-nil, zero value otherwise.

GetEvaluationGroupIdOk

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.

HasEvaluationGroupId

func (o *CreateTemplateCampaign) HasEvaluationGroupId() bool

HasEvaluationGroupId returns a boolean if a field has been set.

SetEvaluationGroupId

func (o *CreateTemplateCampaign) SetEvaluationGroupId(v int32)

SetEvaluationGroupId gets a reference to the given int32 and assigns it to the EvaluationGroupId field.

GetLinkedStoreIds

func (o *CreateTemplateCampaign) GetLinkedStoreIds() []int32

GetLinkedStoreIds returns the LinkedStoreIds field if non-nil, zero value otherwise.

GetLinkedStoreIdsOk

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.

HasLinkedStoreIds

func (o *CreateTemplateCampaign) HasLinkedStoreIds() bool

HasLinkedStoreIds returns a boolean if a field has been set.

SetLinkedStoreIds

func (o *CreateTemplateCampaign) SetLinkedStoreIds(v []int32)

SetLinkedStoreIds gets a reference to the given []int32 and assigns it to the LinkedStoreIds field.

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