Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The campaign template name. | |
Description | Pointer to string | Customer-facing text that explains the objective of the template. | |
Instructions | Pointer to string | Customer-facing text that explains how to use the template. For example, you can use this property to explain the available attributes of this template, and how they can be modified when a user uses this template to create a new campaign. | |
CampaignAttributes | Pointer to map[string]interface{} | The campaign attributes that campaigns created from this template will have by default. | [optional] |
CouponAttributes | Pointer to map[string]interface{} | The campaign attributes that coupons created from this template will have by default. | [optional] |
State | Pointer to string | Only campaign templates in 'available' state may be used to create campaigns. | |
ActiveRulesetId | Pointer to int32 | The ID of the ruleset this campaign template will use. | [optional] |
Tags | Pointer to []string | A list of tags for the campaign template. | [optional] |
Features | Pointer to []string | A list of features for the campaign template. | [optional] |
CouponSettings | Pointer to CodeGeneratorSettings | [optional] | |
ReferralSettings | Pointer to CodeGeneratorSettings | [optional] | |
Limits | Pointer to []TemplateLimitConfig | The set of limits that operate for this campaign template. | [optional] |
TemplateParams | Pointer to []CampaignTemplateParams | Fields which can be used to replace values in a rule. | [optional] |
ApplicationsIds | Pointer to []int32 | A list of IDs of the Applications that are subscribed to this campaign template. | |
CampaignCollections | Pointer to []CampaignTemplateCollection | The campaign collections from the blueprint campaign for the template. | [optional] |
DefaultCampaignGroupId | Pointer to int32 | The default campaign group ID. | [optional] |
CampaignType | Pointer to string | The campaign type. Possible type values: - `cartItem`: Type of campaign that can apply effects only to cart items. - `advanced`: Type of campaign that can apply effects to customer sessions and cart items. | [optional] [default to CAMPAIGN_TYPE_ADVANCED] |
func (o *UpdateCampaignTemplate) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) 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 *UpdateCampaignTemplate) HasName() bool
HasName returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *UpdateCampaignTemplate) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) 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 *UpdateCampaignTemplate) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *UpdateCampaignTemplate) GetInstructions() string
GetInstructions returns the Instructions field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetInstructionsOk() (string, bool)
GetInstructionsOk returns a tuple with the Instructions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasInstructions() bool
HasInstructions returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetInstructions(v string)
SetInstructions gets a reference to the given string and assigns it to the Instructions field.
func (o *UpdateCampaignTemplate) GetCampaignAttributes() map[string]interface{}
GetCampaignAttributes returns the CampaignAttributes field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetCampaignAttributesOk() (map[string]interface{}, bool)
GetCampaignAttributesOk returns a tuple with the CampaignAttributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasCampaignAttributes() bool
HasCampaignAttributes returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetCampaignAttributes(v map[string]interface{})
SetCampaignAttributes gets a reference to the given map[string]interface{} and assigns it to the CampaignAttributes field.
func (o *UpdateCampaignTemplate) GetCouponAttributes() map[string]interface{}
GetCouponAttributes returns the CouponAttributes field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetCouponAttributesOk() (map[string]interface{}, bool)
GetCouponAttributesOk returns a tuple with the CouponAttributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasCouponAttributes() bool
HasCouponAttributes returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetCouponAttributes(v map[string]interface{})
SetCouponAttributes gets a reference to the given map[string]interface{} and assigns it to the CouponAttributes field.
func (o *UpdateCampaignTemplate) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetStateOk() (string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasState() bool
HasState returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (o *UpdateCampaignTemplate) GetActiveRulesetId() int32
GetActiveRulesetId returns the ActiveRulesetId field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetActiveRulesetIdOk() (int32, bool)
GetActiveRulesetIdOk returns a tuple with the ActiveRulesetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasActiveRulesetId() bool
HasActiveRulesetId returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetActiveRulesetId(v int32)
SetActiveRulesetId gets a reference to the given int32 and assigns it to the ActiveRulesetId field.
func (o *UpdateCampaignTemplate) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) 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 *UpdateCampaignTemplate) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *UpdateCampaignTemplate) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetFeaturesOk() ([]string, bool)
GetFeaturesOk returns a tuple with the Features field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.
func (o *UpdateCampaignTemplate) GetCouponSettings() CodeGeneratorSettings
GetCouponSettings returns the CouponSettings field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetCouponSettingsOk() (CodeGeneratorSettings, bool)
GetCouponSettingsOk returns a tuple with the CouponSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasCouponSettings() bool
HasCouponSettings returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetCouponSettings(v CodeGeneratorSettings)
SetCouponSettings gets a reference to the given CodeGeneratorSettings and assigns it to the CouponSettings field.
func (o *UpdateCampaignTemplate) GetReferralSettings() CodeGeneratorSettings
GetReferralSettings returns the ReferralSettings field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetReferralSettingsOk() (CodeGeneratorSettings, bool)
GetReferralSettingsOk returns a tuple with the ReferralSettings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasReferralSettings() bool
HasReferralSettings returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetReferralSettings(v CodeGeneratorSettings)
SetReferralSettings gets a reference to the given CodeGeneratorSettings and assigns it to the ReferralSettings field.
func (o *UpdateCampaignTemplate) GetLimits() []TemplateLimitConfig
GetLimits returns the Limits field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetLimitsOk() ([]TemplateLimitConfig, bool)
GetLimitsOk returns a tuple with the Limits field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasLimits() bool
HasLimits returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetLimits(v []TemplateLimitConfig)
SetLimits gets a reference to the given []TemplateLimitConfig and assigns it to the Limits field.
func (o *UpdateCampaignTemplate) GetTemplateParams() []CampaignTemplateParams
GetTemplateParams returns the TemplateParams field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetTemplateParamsOk() ([]CampaignTemplateParams, bool)
GetTemplateParamsOk returns a tuple with the TemplateParams field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasTemplateParams() bool
HasTemplateParams returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetTemplateParams(v []CampaignTemplateParams)
SetTemplateParams gets a reference to the given []CampaignTemplateParams and assigns it to the TemplateParams field.
func (o *UpdateCampaignTemplate) GetApplicationsIds() []int32
GetApplicationsIds returns the ApplicationsIds field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetApplicationsIdsOk() ([]int32, bool)
GetApplicationsIdsOk returns a tuple with the ApplicationsIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasApplicationsIds() bool
HasApplicationsIds returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetApplicationsIds(v []int32)
SetApplicationsIds gets a reference to the given []int32 and assigns it to the ApplicationsIds field.
func (o *UpdateCampaignTemplate) GetCampaignCollections() []CampaignTemplateCollection
GetCampaignCollections returns the CampaignCollections field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetCampaignCollectionsOk() ([]CampaignTemplateCollection, bool)
GetCampaignCollectionsOk returns a tuple with the CampaignCollections field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasCampaignCollections() bool
HasCampaignCollections returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetCampaignCollections(v []CampaignTemplateCollection)
SetCampaignCollections gets a reference to the given []CampaignTemplateCollection and assigns it to the CampaignCollections field.
func (o *UpdateCampaignTemplate) GetDefaultCampaignGroupId() int32
GetDefaultCampaignGroupId returns the DefaultCampaignGroupId field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetDefaultCampaignGroupIdOk() (int32, bool)
GetDefaultCampaignGroupIdOk returns a tuple with the DefaultCampaignGroupId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasDefaultCampaignGroupId() bool
HasDefaultCampaignGroupId returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetDefaultCampaignGroupId(v int32)
SetDefaultCampaignGroupId gets a reference to the given int32 and assigns it to the DefaultCampaignGroupId field.
func (o *UpdateCampaignTemplate) GetCampaignType() string
GetCampaignType returns the CampaignType field if non-nil, zero value otherwise.
func (o *UpdateCampaignTemplate) GetCampaignTypeOk() (string, bool)
GetCampaignTypeOk returns a tuple with the CampaignType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateCampaignTemplate) HasCampaignType() bool
HasCampaignType returns a boolean if a field has been set.
func (o *UpdateCampaignTemplate) SetCampaignType(v string)
SetCampaignType gets a reference to the given string and assigns it to the CampaignType field.