Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | A user-facing name for this campaign. | [optional] |
StartTime | Pointer to NullableTime | Timestamp when the campaign will become active. | [optional] |
EndTime | Pointer to NullableTime | Timestamp when the campaign will become inactive. | [optional] |
Attributes | Pointer to map[string]interface{} | Arbitrary properties associated with this campaign. | [optional] |
Description | Pointer to NullableString | A detailed description of the campaign. | [optional] |
ActiveRulesetId | Pointer to NullableInt32 | The ID of the ruleset this campaign template will use. | [optional] |
Tags | Pointer to []string | A list of tags for the campaign template. | [optional] |
CouponSettings | Pointer to CodeGeneratorSettings | [optional] | |
ReferralSettings | Pointer to CodeGeneratorSettings | [optional] | |
Limits | Pointer to []LimitConfig | The set of limits that will operate for this campaign version. | [optional] |
Features | Pointer to []string | A list of features for the campaign template. | [optional] |
func (o *NewRevisionVersion) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) 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 *NewRevisionVersion) HasName() bool
HasName returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *NewRevisionVersion) GetStartTime() NullableTime
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetStartTimeOk() (NullableTime, bool)
GetStartTimeOk returns a tuple with the StartTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRevisionVersion) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetStartTime(v NullableTime)
SetStartTime gets a reference to the given NullableTime and assigns it to the StartTime field.
func (o *NewRevisionVersion) SetStartTimeExplicitNull(b bool)
SetStartTimeExplicitNull (un)sets StartTime to be considered as explicit "null" value when serializing to JSON (pass true as argument to set this, false to unset) The StartTime value is set to nil even if false is passed
func (o *NewRevisionVersion) GetEndTime() NullableTime
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetEndTimeOk() (NullableTime, bool)
GetEndTimeOk returns a tuple with the EndTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRevisionVersion) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetEndTime(v NullableTime)
SetEndTime gets a reference to the given NullableTime and assigns it to the EndTime field.
func (o *NewRevisionVersion) SetEndTimeExplicitNull(b bool)
SetEndTimeExplicitNull (un)sets EndTime to be considered as explicit "null" value when serializing to JSON (pass true as argument to set this, false to unset) The EndTime value is set to nil even if false is passed
func (o *NewRevisionVersion) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NewRevisionVersion) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *NewRevisionVersion) GetDescription() NullableString
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetDescriptionOk() (NullableString, 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 *NewRevisionVersion) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetDescription(v NullableString)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (o *NewRevisionVersion) SetDescriptionExplicitNull(b bool)
SetDescriptionExplicitNull (un)sets Description to be considered as explicit "null" value when serializing to JSON (pass true as argument to set this, false to unset) The Description value is set to nil even if false is passed
func (o *NewRevisionVersion) GetActiveRulesetId() NullableInt32
GetActiveRulesetId returns the ActiveRulesetId field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetActiveRulesetIdOk() (NullableInt32, 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 *NewRevisionVersion) HasActiveRulesetId() bool
HasActiveRulesetId returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetActiveRulesetId(v NullableInt32)
SetActiveRulesetId gets a reference to the given NullableInt32 and assigns it to the ActiveRulesetId field.
func (o *NewRevisionVersion) SetActiveRulesetIdExplicitNull(b bool)
SetActiveRulesetIdExplicitNull (un)sets ActiveRulesetId to be considered as explicit "null" value when serializing to JSON (pass true as argument to set this, false to unset) The ActiveRulesetId value is set to nil even if false is passed
func (o *NewRevisionVersion) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) 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 *NewRevisionVersion) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *NewRevisionVersion) GetCouponSettings() CodeGeneratorSettings
GetCouponSettings returns the CouponSettings field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) 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 *NewRevisionVersion) HasCouponSettings() bool
HasCouponSettings returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetCouponSettings(v CodeGeneratorSettings)
SetCouponSettings gets a reference to the given CodeGeneratorSettings and assigns it to the CouponSettings field.
func (o *NewRevisionVersion) GetReferralSettings() CodeGeneratorSettings
GetReferralSettings returns the ReferralSettings field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) 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 *NewRevisionVersion) HasReferralSettings() bool
HasReferralSettings returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetReferralSettings(v CodeGeneratorSettings)
SetReferralSettings gets a reference to the given CodeGeneratorSettings and assigns it to the ReferralSettings field.
func (o *NewRevisionVersion) GetLimits() []LimitConfig
GetLimits returns the Limits field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) GetLimitsOk() ([]LimitConfig, 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 *NewRevisionVersion) HasLimits() bool
HasLimits returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetLimits(v []LimitConfig)
SetLimits gets a reference to the given []LimitConfig and assigns it to the Limits field.
func (o *NewRevisionVersion) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *NewRevisionVersion) 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 *NewRevisionVersion) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (o *NewRevisionVersion) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.