Name | Type | Description | Notes |
---|---|---|---|
Campaign | Pointer to Campaign | ||
OldState | Pointer to string | The campaign's old state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | |
NewState | Pointer to string | The campaign's new state. Can be one of the following: ['running', 'disabled', 'scheduled', 'expired', 'archived'] | |
Ruleset | Pointer to Ruleset | [optional] |
func (o *CampaignStateChangedNotification) GetCampaign() Campaign
GetCampaign returns the Campaign field if non-nil, zero value otherwise.
func (o *CampaignStateChangedNotification) GetCampaignOk() (Campaign, bool)
GetCampaignOk returns a tuple with the Campaign field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignStateChangedNotification) HasCampaign() bool
HasCampaign returns a boolean if a field has been set.
func (o *CampaignStateChangedNotification) SetCampaign(v Campaign)
SetCampaign gets a reference to the given Campaign and assigns it to the Campaign field.
func (o *CampaignStateChangedNotification) GetOldState() string
GetOldState returns the OldState field if non-nil, zero value otherwise.
func (o *CampaignStateChangedNotification) GetOldStateOk() (string, bool)
GetOldStateOk returns a tuple with the OldState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignStateChangedNotification) HasOldState() bool
HasOldState returns a boolean if a field has been set.
func (o *CampaignStateChangedNotification) SetOldState(v string)
SetOldState gets a reference to the given string and assigns it to the OldState field.
func (o *CampaignStateChangedNotification) GetNewState() string
GetNewState returns the NewState field if non-nil, zero value otherwise.
func (o *CampaignStateChangedNotification) GetNewStateOk() (string, bool)
GetNewStateOk returns a tuple with the NewState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignStateChangedNotification) HasNewState() bool
HasNewState returns a boolean if a field has been set.
func (o *CampaignStateChangedNotification) SetNewState(v string)
SetNewState gets a reference to the given string and assigns it to the NewState field.
func (o *CampaignStateChangedNotification) GetRuleset() Ruleset
GetRuleset returns the Ruleset field if non-nil, zero value otherwise.
func (o *CampaignStateChangedNotification) GetRulesetOk() (Ruleset, bool)
GetRulesetOk returns a tuple with the Ruleset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignStateChangedNotification) HasRuleset() bool
HasRuleset returns a boolean if a field has been set.
func (o *CampaignStateChangedNotification) SetRuleset(v Ruleset)
SetRuleset gets a reference to the given Ruleset and assigns it to the Ruleset field.