Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Unique ID for this entity. | |
Created | Pointer to time.Time | The exact moment this entity was created. | |
ApplicationId | Pointer to int32 | The ID of the application that owns this entity. | |
UserId | Pointer to int32 | The ID of the user associated with this entity. | |
Name | Pointer to string | A user-facing name for this campaign. | |
Description | Pointer to string | A detailed description of the campaign. | |
StartTime | Pointer to time.Time | Timestamp when the campaign will become active. | [optional] |
EndTime | Pointer to time.Time | Timestamp when the campaign will become inactive. | [optional] |
Attributes | Pointer to map[string]interface{} | Arbitrary properties associated with this campaign. | [optional] |
State | Pointer to string | A disabled or archived campaign is not evaluated for rules or coupons. | [default to STATE_ENABLED] |
ActiveRulesetId | Pointer to int32 | ID of Ruleset this campaign applies on customer session evaluation. | [optional] |
Tags | Pointer to []string | A list of tags for the campaign. | |
Features | Pointer to []string | The features enabled in this campaign. | |
CouponSettings | Pointer to CodeGeneratorSettings | [optional] | |
ReferralSettings | Pointer to CodeGeneratorSettings | [optional] | |
Limits | Pointer to []LimitConfig | The set of budget limits for this campaign. | |
CampaignGroups | Pointer to []int32 | The IDs of the campaign groups this campaign belongs to. | [optional] |
Type | 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. | [default to TYPE_ADVANCED] |
LinkedStoreIds | Pointer to []int32 | A list of store IDs that you want to link 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] |
Budgets | Pointer to []CampaignBudget | A list of all the budgets that are defined by this campaign and their usage. Note: Budgets that are not defined do not appear in this list and their usage is not counted until they are defined. | |
CouponRedemptionCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Number of coupons redeemed in the campaign. | [optional] |
ReferralRedemptionCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Number of referral codes redeemed in the campaign. | [optional] |
DiscountCount | Pointer to float32 | This property is deprecated. The count should be available under budgets property. Total amount of discounts redeemed in the campaign. | [optional] |
DiscountEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of times discounts were redeemed in this campaign. | [optional] |
CouponCreationCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of coupons created by rules in this campaign. | [optional] |
CustomEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of custom effects triggered by rules in this campaign. | [optional] |
ReferralCreationCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of referrals created by rules in this campaign. | [optional] |
AddFreeItemEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of times the add free item effect can be triggered in this campaign. | [optional] |
AwardedGiveawaysCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of giveaways awarded by rules in this campaign. | [optional] |
CreatedLoyaltyPointsCount | Pointer to float32 | This property is deprecated. The count should be available under budgets property. Total number of loyalty points created by rules in this campaign. | [optional] |
CreatedLoyaltyPointsEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of loyalty point creation effects triggered by rules in this campaign. | [optional] |
RedeemedLoyaltyPointsCount | Pointer to float32 | This property is deprecated. The count should be available under budgets property. Total number of loyalty points redeemed by rules in this campaign. | [optional] |
RedeemedLoyaltyPointsEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of loyalty point redemption effects triggered by rules in this campaign. | [optional] |
CallApiEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of webhooks triggered by rules in this campaign. | [optional] |
ReservecouponEffectCount | Pointer to int32 | This property is deprecated. The count should be available under budgets property. Total number of reserve coupon effects triggered by rules in this campaign. | [optional] |
LastActivity | Pointer to time.Time | Timestamp of the most recent event received by this campaign. | [optional] |
Updated | Pointer to time.Time | Timestamp of the most recent update to the campaign's property. Updates to external entities used in this campaign are not registered by this property, such as collection or coupon updates. | [optional] |
CreatedBy | Pointer to string | Name of the user who created this campaign if available. | [optional] |
UpdatedBy | Pointer to string | Name of the user who last updated this campaign if available. | [optional] |
TemplateId | Pointer to int32 | The ID of the Campaign Template this Campaign was created from. | [optional] |
FrontendState | Pointer to string | A campaign state described exactly as in the Campaign Manager. | |
StoresImported | Pointer to bool | Indicates whether the linked stores were imported via a CSV file. | |
ActiveRevisionId | Pointer to int32 | ID of the revision that was last activated on this campaign. | [optional] |
ActiveRevisionVersionId | Pointer to int32 | ID of the revision version that is active on the campaign. | [optional] |
Version | Pointer to int32 | Incrementing number representing how many revisions have been activated on this campaign, starts from 0 for a new campaign. | [optional] |
CurrentRevisionId | Pointer to int32 | ID of the revision currently being modified for the campaign. | [optional] |
CurrentRevisionVersionId | Pointer to int32 | ID of the latest version applied on the current revision. | [optional] |
StageRevision | Pointer to bool | Flag for determining whether we use current revision when sending requests with staging API key. | [optional] [default to false] |
func (o *Campaign) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Campaign) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *Campaign) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Campaign) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *Campaign) GetApplicationId() int32
GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasApplicationId() bool
HasApplicationId returns a boolean if a field has been set.
func (o *Campaign) SetApplicationId(v int32)
SetApplicationId gets a reference to the given int32 and assigns it to the ApplicationId field.
func (o *Campaign) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Campaign) GetUserIdOk() (int32, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *Campaign) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (o *Campaign) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Campaign) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (o *Campaign) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Campaign) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *Campaign) GetStartTime() time.Time
GetStartTime returns the StartTime field if non-nil, zero value otherwise.
func (o *Campaign) GetStartTimeOk() (time.Time, 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 *Campaign) HasStartTime() bool
HasStartTime returns a boolean if a field has been set.
func (o *Campaign) SetStartTime(v time.Time)
SetStartTime gets a reference to the given time.Time and assigns it to the StartTime field.
func (o *Campaign) GetEndTime() time.Time
GetEndTime returns the EndTime field if non-nil, zero value otherwise.
func (o *Campaign) GetEndTimeOk() (time.Time, 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 *Campaign) HasEndTime() bool
HasEndTime returns a boolean if a field has been set.
func (o *Campaign) SetEndTime(v time.Time)
SetEndTime gets a reference to the given time.Time and assigns it to the EndTime field.
func (o *Campaign) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (o *Campaign) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (o *Campaign) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasState() bool
HasState returns a boolean if a field has been set.
func (o *Campaign) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (o *Campaign) GetActiveRulesetId() int32
GetActiveRulesetId returns the ActiveRulesetId field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasActiveRulesetId() bool
HasActiveRulesetId returns a boolean if a field has been set.
func (o *Campaign) SetActiveRulesetId(v int32)
SetActiveRulesetId gets a reference to the given int32 and assigns it to the ActiveRulesetId field.
func (o *Campaign) GetTags() []string
GetTags returns the Tags field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasTags() bool
HasTags returns a boolean if a field has been set.
func (o *Campaign) SetTags(v []string)
SetTags gets a reference to the given []string and assigns it to the Tags field.
func (o *Campaign) GetFeatures() []string
GetFeatures returns the Features field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasFeatures() bool
HasFeatures returns a boolean if a field has been set.
func (o *Campaign) SetFeatures(v []string)
SetFeatures gets a reference to the given []string and assigns it to the Features field.
func (o *Campaign) GetCouponSettings() CodeGeneratorSettings
GetCouponSettings returns the CouponSettings field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasCouponSettings() bool
HasCouponSettings returns a boolean if a field has been set.
func (o *Campaign) SetCouponSettings(v CodeGeneratorSettings)
SetCouponSettings gets a reference to the given CodeGeneratorSettings and assigns it to the CouponSettings field.
func (o *Campaign) GetReferralSettings() CodeGeneratorSettings
GetReferralSettings returns the ReferralSettings field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasReferralSettings() bool
HasReferralSettings returns a boolean if a field has been set.
func (o *Campaign) SetReferralSettings(v CodeGeneratorSettings)
SetReferralSettings gets a reference to the given CodeGeneratorSettings and assigns it to the ReferralSettings field.
func (o *Campaign) GetLimits() []LimitConfig
GetLimits returns the Limits field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasLimits() bool
HasLimits returns a boolean if a field has been set.
func (o *Campaign) SetLimits(v []LimitConfig)
SetLimits gets a reference to the given []LimitConfig and assigns it to the Limits field.
func (o *Campaign) GetCampaignGroups() []int32
GetCampaignGroups returns the CampaignGroups field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasCampaignGroups() bool
HasCampaignGroups returns a boolean if a field has been set.
func (o *Campaign) SetCampaignGroups(v []int32)
SetCampaignGroups gets a reference to the given []int32 and assigns it to the CampaignGroups field.
func (o *Campaign) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Campaign) GetTypeOk() (string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Campaign) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (o *Campaign) GetLinkedStoreIds() []int32
GetLinkedStoreIds returns the LinkedStoreIds field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasLinkedStoreIds() bool
HasLinkedStoreIds returns a boolean if a field has been set.
func (o *Campaign) SetLinkedStoreIds(v []int32)
SetLinkedStoreIds gets a reference to the given []int32 and assigns it to the LinkedStoreIds field.
func (o *Campaign) GetBudgets() []CampaignBudget
GetBudgets returns the Budgets field if non-nil, zero value otherwise.
func (o *Campaign) GetBudgetsOk() ([]CampaignBudget, bool)
GetBudgetsOk returns a tuple with the Budgets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasBudgets() bool
HasBudgets returns a boolean if a field has been set.
func (o *Campaign) SetBudgets(v []CampaignBudget)
SetBudgets gets a reference to the given []CampaignBudget and assigns it to the Budgets field.
func (o *Campaign) GetCouponRedemptionCount() int32
GetCouponRedemptionCount returns the CouponRedemptionCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCouponRedemptionCountOk() (int32, bool)
GetCouponRedemptionCountOk returns a tuple with the CouponRedemptionCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCouponRedemptionCount() bool
HasCouponRedemptionCount returns a boolean if a field has been set.
func (o *Campaign) SetCouponRedemptionCount(v int32)
SetCouponRedemptionCount gets a reference to the given int32 and assigns it to the CouponRedemptionCount field.
func (o *Campaign) GetReferralRedemptionCount() int32
GetReferralRedemptionCount returns the ReferralRedemptionCount field if non-nil, zero value otherwise.
func (o *Campaign) GetReferralRedemptionCountOk() (int32, bool)
GetReferralRedemptionCountOk returns a tuple with the ReferralRedemptionCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasReferralRedemptionCount() bool
HasReferralRedemptionCount returns a boolean if a field has been set.
func (o *Campaign) SetReferralRedemptionCount(v int32)
SetReferralRedemptionCount gets a reference to the given int32 and assigns it to the ReferralRedemptionCount field.
func (o *Campaign) GetDiscountCount() float32
GetDiscountCount returns the DiscountCount field if non-nil, zero value otherwise.
func (o *Campaign) GetDiscountCountOk() (float32, bool)
GetDiscountCountOk returns a tuple with the DiscountCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasDiscountCount() bool
HasDiscountCount returns a boolean if a field has been set.
func (o *Campaign) SetDiscountCount(v float32)
SetDiscountCount gets a reference to the given float32 and assigns it to the DiscountCount field.
func (o *Campaign) GetDiscountEffectCount() int32
GetDiscountEffectCount returns the DiscountEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetDiscountEffectCountOk() (int32, bool)
GetDiscountEffectCountOk returns a tuple with the DiscountEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasDiscountEffectCount() bool
HasDiscountEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetDiscountEffectCount(v int32)
SetDiscountEffectCount gets a reference to the given int32 and assigns it to the DiscountEffectCount field.
func (o *Campaign) GetCouponCreationCount() int32
GetCouponCreationCount returns the CouponCreationCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCouponCreationCountOk() (int32, bool)
GetCouponCreationCountOk returns a tuple with the CouponCreationCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCouponCreationCount() bool
HasCouponCreationCount returns a boolean if a field has been set.
func (o *Campaign) SetCouponCreationCount(v int32)
SetCouponCreationCount gets a reference to the given int32 and assigns it to the CouponCreationCount field.
func (o *Campaign) GetCustomEffectCount() int32
GetCustomEffectCount returns the CustomEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCustomEffectCountOk() (int32, bool)
GetCustomEffectCountOk returns a tuple with the CustomEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCustomEffectCount() bool
HasCustomEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetCustomEffectCount(v int32)
SetCustomEffectCount gets a reference to the given int32 and assigns it to the CustomEffectCount field.
func (o *Campaign) GetReferralCreationCount() int32
GetReferralCreationCount returns the ReferralCreationCount field if non-nil, zero value otherwise.
func (o *Campaign) GetReferralCreationCountOk() (int32, bool)
GetReferralCreationCountOk returns a tuple with the ReferralCreationCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasReferralCreationCount() bool
HasReferralCreationCount returns a boolean if a field has been set.
func (o *Campaign) SetReferralCreationCount(v int32)
SetReferralCreationCount gets a reference to the given int32 and assigns it to the ReferralCreationCount field.
func (o *Campaign) GetAddFreeItemEffectCount() int32
GetAddFreeItemEffectCount returns the AddFreeItemEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetAddFreeItemEffectCountOk() (int32, bool)
GetAddFreeItemEffectCountOk returns a tuple with the AddFreeItemEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasAddFreeItemEffectCount() bool
HasAddFreeItemEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetAddFreeItemEffectCount(v int32)
SetAddFreeItemEffectCount gets a reference to the given int32 and assigns it to the AddFreeItemEffectCount field.
func (o *Campaign) GetAwardedGiveawaysCount() int32
GetAwardedGiveawaysCount returns the AwardedGiveawaysCount field if non-nil, zero value otherwise.
func (o *Campaign) GetAwardedGiveawaysCountOk() (int32, bool)
GetAwardedGiveawaysCountOk returns a tuple with the AwardedGiveawaysCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasAwardedGiveawaysCount() bool
HasAwardedGiveawaysCount returns a boolean if a field has been set.
func (o *Campaign) SetAwardedGiveawaysCount(v int32)
SetAwardedGiveawaysCount gets a reference to the given int32 and assigns it to the AwardedGiveawaysCount field.
func (o *Campaign) GetCreatedLoyaltyPointsCount() float32
GetCreatedLoyaltyPointsCount returns the CreatedLoyaltyPointsCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCreatedLoyaltyPointsCountOk() (float32, bool)
GetCreatedLoyaltyPointsCountOk returns a tuple with the CreatedLoyaltyPointsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCreatedLoyaltyPointsCount() bool
HasCreatedLoyaltyPointsCount returns a boolean if a field has been set.
func (o *Campaign) SetCreatedLoyaltyPointsCount(v float32)
SetCreatedLoyaltyPointsCount gets a reference to the given float32 and assigns it to the CreatedLoyaltyPointsCount field.
func (o *Campaign) GetCreatedLoyaltyPointsEffectCount() int32
GetCreatedLoyaltyPointsEffectCount returns the CreatedLoyaltyPointsEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCreatedLoyaltyPointsEffectCountOk() (int32, bool)
GetCreatedLoyaltyPointsEffectCountOk returns a tuple with the CreatedLoyaltyPointsEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCreatedLoyaltyPointsEffectCount() bool
HasCreatedLoyaltyPointsEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetCreatedLoyaltyPointsEffectCount(v int32)
SetCreatedLoyaltyPointsEffectCount gets a reference to the given int32 and assigns it to the CreatedLoyaltyPointsEffectCount field.
func (o *Campaign) GetRedeemedLoyaltyPointsCount() float32
GetRedeemedLoyaltyPointsCount returns the RedeemedLoyaltyPointsCount field if non-nil, zero value otherwise.
func (o *Campaign) GetRedeemedLoyaltyPointsCountOk() (float32, bool)
GetRedeemedLoyaltyPointsCountOk returns a tuple with the RedeemedLoyaltyPointsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasRedeemedLoyaltyPointsCount() bool
HasRedeemedLoyaltyPointsCount returns a boolean if a field has been set.
func (o *Campaign) SetRedeemedLoyaltyPointsCount(v float32)
SetRedeemedLoyaltyPointsCount gets a reference to the given float32 and assigns it to the RedeemedLoyaltyPointsCount field.
func (o *Campaign) GetRedeemedLoyaltyPointsEffectCount() int32
GetRedeemedLoyaltyPointsEffectCount returns the RedeemedLoyaltyPointsEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetRedeemedLoyaltyPointsEffectCountOk() (int32, bool)
GetRedeemedLoyaltyPointsEffectCountOk returns a tuple with the RedeemedLoyaltyPointsEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasRedeemedLoyaltyPointsEffectCount() bool
HasRedeemedLoyaltyPointsEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetRedeemedLoyaltyPointsEffectCount(v int32)
SetRedeemedLoyaltyPointsEffectCount gets a reference to the given int32 and assigns it to the RedeemedLoyaltyPointsEffectCount field.
func (o *Campaign) GetCallApiEffectCount() int32
GetCallApiEffectCount returns the CallApiEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetCallApiEffectCountOk() (int32, bool)
GetCallApiEffectCountOk returns a tuple with the CallApiEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCallApiEffectCount() bool
HasCallApiEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetCallApiEffectCount(v int32)
SetCallApiEffectCount gets a reference to the given int32 and assigns it to the CallApiEffectCount field.
func (o *Campaign) GetReservecouponEffectCount() int32
GetReservecouponEffectCount returns the ReservecouponEffectCount field if non-nil, zero value otherwise.
func (o *Campaign) GetReservecouponEffectCountOk() (int32, bool)
GetReservecouponEffectCountOk returns a tuple with the ReservecouponEffectCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasReservecouponEffectCount() bool
HasReservecouponEffectCount returns a boolean if a field has been set.
func (o *Campaign) SetReservecouponEffectCount(v int32)
SetReservecouponEffectCount gets a reference to the given int32 and assigns it to the ReservecouponEffectCount field.
func (o *Campaign) GetLastActivity() time.Time
GetLastActivity returns the LastActivity field if non-nil, zero value otherwise.
func (o *Campaign) GetLastActivityOk() (time.Time, bool)
GetLastActivityOk returns a tuple with the LastActivity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasLastActivity() bool
HasLastActivity returns a boolean if a field has been set.
func (o *Campaign) SetLastActivity(v time.Time)
SetLastActivity gets a reference to the given time.Time and assigns it to the LastActivity field.
func (o *Campaign) GetUpdated() time.Time
GetUpdated returns the Updated field if non-nil, zero value otherwise.
func (o *Campaign) GetUpdatedOk() (time.Time, bool)
GetUpdatedOk returns a tuple with the Updated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasUpdated() bool
HasUpdated returns a boolean if a field has been set.
func (o *Campaign) SetUpdated(v time.Time)
SetUpdated gets a reference to the given time.Time and assigns it to the Updated field.
func (o *Campaign) GetCreatedBy() string
GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.
func (o *Campaign) GetCreatedByOk() (string, 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 *Campaign) HasCreatedBy() bool
HasCreatedBy returns a boolean if a field has been set.
func (o *Campaign) SetCreatedBy(v string)
SetCreatedBy gets a reference to the given string and assigns it to the CreatedBy field.
func (o *Campaign) GetUpdatedBy() string
GetUpdatedBy returns the UpdatedBy field if non-nil, zero value otherwise.
func (o *Campaign) GetUpdatedByOk() (string, bool)
GetUpdatedByOk returns a tuple with the UpdatedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasUpdatedBy() bool
HasUpdatedBy returns a boolean if a field has been set.
func (o *Campaign) SetUpdatedBy(v string)
SetUpdatedBy gets a reference to the given string and assigns it to the UpdatedBy field.
func (o *Campaign) GetTemplateId() int32
GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasTemplateId() bool
HasTemplateId returns a boolean if a field has been set.
func (o *Campaign) SetTemplateId(v int32)
SetTemplateId gets a reference to the given int32 and assigns it to the TemplateId field.
func (o *Campaign) GetFrontendState() string
GetFrontendState returns the FrontendState field if non-nil, zero value otherwise.
func (o *Campaign) GetFrontendStateOk() (string, bool)
GetFrontendStateOk returns a tuple with the FrontendState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasFrontendState() bool
HasFrontendState returns a boolean if a field has been set.
func (o *Campaign) SetFrontendState(v string)
SetFrontendState gets a reference to the given string and assigns it to the FrontendState field.
func (o *Campaign) GetStoresImported() bool
GetStoresImported returns the StoresImported field if non-nil, zero value otherwise.
func (o *Campaign) GetStoresImportedOk() (bool, bool)
GetStoresImportedOk returns a tuple with the StoresImported field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasStoresImported() bool
HasStoresImported returns a boolean if a field has been set.
func (o *Campaign) SetStoresImported(v bool)
SetStoresImported gets a reference to the given bool and assigns it to the StoresImported field.
func (o *Campaign) GetActiveRevisionId() int32
GetActiveRevisionId returns the ActiveRevisionId field if non-nil, zero value otherwise.
func (o *Campaign) GetActiveRevisionIdOk() (int32, bool)
GetActiveRevisionIdOk returns a tuple with the ActiveRevisionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasActiveRevisionId() bool
HasActiveRevisionId returns a boolean if a field has been set.
func (o *Campaign) SetActiveRevisionId(v int32)
SetActiveRevisionId gets a reference to the given int32 and assigns it to the ActiveRevisionId field.
func (o *Campaign) GetActiveRevisionVersionId() int32
GetActiveRevisionVersionId returns the ActiveRevisionVersionId field if non-nil, zero value otherwise.
func (o *Campaign) GetActiveRevisionVersionIdOk() (int32, bool)
GetActiveRevisionVersionIdOk returns a tuple with the ActiveRevisionVersionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasActiveRevisionVersionId() bool
HasActiveRevisionVersionId returns a boolean if a field has been set.
func (o *Campaign) SetActiveRevisionVersionId(v int32)
SetActiveRevisionVersionId gets a reference to the given int32 and assigns it to the ActiveRevisionVersionId field.
func (o *Campaign) GetVersion() int32
GetVersion returns the Version field if non-nil, zero value otherwise.
func (o *Campaign) 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 *Campaign) HasVersion() bool
HasVersion returns a boolean if a field has been set.
func (o *Campaign) SetVersion(v int32)
SetVersion gets a reference to the given int32 and assigns it to the Version field.
func (o *Campaign) GetCurrentRevisionId() int32
GetCurrentRevisionId returns the CurrentRevisionId field if non-nil, zero value otherwise.
func (o *Campaign) GetCurrentRevisionIdOk() (int32, bool)
GetCurrentRevisionIdOk returns a tuple with the CurrentRevisionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCurrentRevisionId() bool
HasCurrentRevisionId returns a boolean if a field has been set.
func (o *Campaign) SetCurrentRevisionId(v int32)
SetCurrentRevisionId gets a reference to the given int32 and assigns it to the CurrentRevisionId field.
func (o *Campaign) GetCurrentRevisionVersionId() int32
GetCurrentRevisionVersionId returns the CurrentRevisionVersionId field if non-nil, zero value otherwise.
func (o *Campaign) GetCurrentRevisionVersionIdOk() (int32, bool)
GetCurrentRevisionVersionIdOk returns a tuple with the CurrentRevisionVersionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasCurrentRevisionVersionId() bool
HasCurrentRevisionVersionId returns a boolean if a field has been set.
func (o *Campaign) SetCurrentRevisionVersionId(v int32)
SetCurrentRevisionVersionId gets a reference to the given int32 and assigns it to the CurrentRevisionVersionId field.
func (o *Campaign) GetStageRevision() bool
GetStageRevision returns the StageRevision field if non-nil, zero value otherwise.
func (o *Campaign) GetStageRevisionOk() (bool, bool)
GetStageRevisionOk returns a tuple with the StageRevision field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Campaign) HasStageRevision() bool
HasStageRevision returns a boolean if a field has been set.
func (o *Campaign) SetStageRevision(v bool)
SetStageRevision gets a reference to the given bool and assigns it to the StageRevision field.