Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Unique ID for this entity. Not to be confused with the Integration ID, which is set by your integration layer and used in most endpoints. | |
AccountId | Pointer to int32 | ||
ApplicationId | Pointer to int32 | ||
CampaignId | Pointer to int32 | ||
Created | Pointer to time.Time | ||
CreatedBy | Pointer to int32 | ||
RevisionId | Pointer to int32 | ||
Version | Pointer to int32 | ||
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 *RevisionVersion) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetIdOk() (int32, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasId() bool
HasId returns a boolean if a field has been set.
func (o *RevisionVersion) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *RevisionVersion) GetAccountId() int32
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetAccountIdOk() (int32, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *RevisionVersion) SetAccountId(v int32)
SetAccountId gets a reference to the given int32 and assigns it to the AccountId field.
func (o *RevisionVersion) GetApplicationId() int32
GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetApplicationIdOk() (int32, bool)
GetApplicationIdOk returns a tuple with the ApplicationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasApplicationId() bool
HasApplicationId returns a boolean if a field has been set.
func (o *RevisionVersion) SetApplicationId(v int32)
SetApplicationId gets a reference to the given int32 and assigns it to the ApplicationId field.
func (o *RevisionVersion) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetCampaignIdOk() (int32, 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 *RevisionVersion) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *RevisionVersion) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *RevisionVersion) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetCreatedOk() (time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *RevisionVersion) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *RevisionVersion) GetCreatedBy() int32
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetCreatedByOk() (int32, bool)
GetCreatedByOk returns a tuple with the CreatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *RevisionVersion) SetCreatedBy(v int32)
SetCreatedBy gets a reference to the given int32 and assigns it to the CreatedBy field.
func (o *RevisionVersion) GetRevisionId() int32
GetRevisionId returns the RevisionId field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetRevisionIdOk() (int32, bool)
GetRevisionIdOk returns a tuple with the RevisionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasRevisionId() bool
HasRevisionId returns a boolean if a field has been set.
func (o *RevisionVersion) SetRevisionId(v int32)
SetRevisionId gets a reference to the given int32 and assigns it to the RevisionId field.
func (o *RevisionVersion) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *RevisionVersion) GetVersionOk() (int32, bool)
GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *RevisionVersion) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *RevisionVersion) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
func (o *RevisionVersion) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasName() bool
HasName returns a boolean if a field has been set.
func (o *RevisionVersion) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *RevisionVersion) GetStartTime() NullableTime
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (o *RevisionVersion) SetStartTime(v NullableTime)
SetStartTime gets a reference to the given NullableTime and assigns it to the StartTime field.
func (o *RevisionVersion) 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 *RevisionVersion) GetEndTime() NullableTime
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (o *RevisionVersion) SetEndTime(v NullableTime)
SetEndTime gets a reference to the given NullableTime and assigns it to the EndTime field.
func (o *RevisionVersion) 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 *RevisionVersion) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *RevisionVersion) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *RevisionVersion) GetDescription() NullableString
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *RevisionVersion) SetDescription(v NullableString)
SetDescription gets a reference to the given NullableString and assigns it to the Description field.
func (o *RevisionVersion) 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 *RevisionVersion) GetActiveRulesetId() NullableInt32
GetActiveRulesetId returns the ActiveRulesetId field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasActiveRulesetId() bool
HasActiveRulesetId returns a boolean if a field has been set.
func (o *RevisionVersion) SetActiveRulesetId(v NullableInt32)
SetActiveRulesetId gets a reference to the given NullableInt32 and assigns it to the ActiveRulesetId field.
func (o *RevisionVersion) 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 *RevisionVersion) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *RevisionVersion) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *RevisionVersion) GetCouponSettings() CodeGeneratorSettings
GetCouponSettings returns the CouponSettings field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasCouponSettings() bool
HasCouponSettings returns a boolean if a field has been set.
func (o *RevisionVersion) SetCouponSettings(v CodeGeneratorSettings)
SetCouponSettings gets a reference to the given CodeGeneratorSettings and assigns it to the CouponSettings field.
func (o *RevisionVersion) GetReferralSettings() CodeGeneratorSettings
GetReferralSettings returns the ReferralSettings field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasReferralSettings() bool
HasReferralSettings returns a boolean if a field has been set.
func (o *RevisionVersion) SetReferralSettings(v CodeGeneratorSettings)
SetReferralSettings gets a reference to the given CodeGeneratorSettings and assigns it to the ReferralSettings field.
func (o *RevisionVersion) GetLimits() []LimitConfig
GetLimits returns the Limits field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasLimits() bool
HasLimits returns a boolean if a field has been set.
func (o *RevisionVersion) SetLimits(v []LimitConfig)
SetLimits gets a reference to the given []LimitConfig and assigns it to the Limits field.
func (o *RevisionVersion) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *RevisionVersion) 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 *RevisionVersion) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (o *RevisionVersion) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.