| Name | Type | Description | Notes |
|---|---|---|---|
| Event | Pointer to string | The type of the event. Can be one of the following: ['campaign_state_changed', 'campaign_ruleset_changed', 'campaign_edited', 'campaign_created', 'campaign_deleted'] | |
| Campaign | Pointer to Campaign | ||
| OldRuleset | Pointer to Ruleset | [optional] | |
| Ruleset | Pointer to Ruleset | [optional] |
func NewCampaignRulesetChangedNotificationItem(event string, campaign Campaign, ) *CampaignRulesetChangedNotificationItem
NewCampaignRulesetChangedNotificationItem instantiates a new CampaignRulesetChangedNotificationItem object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCampaignRulesetChangedNotificationItemWithDefaults() *CampaignRulesetChangedNotificationItem
NewCampaignRulesetChangedNotificationItemWithDefaults instantiates a new CampaignRulesetChangedNotificationItem object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CampaignRulesetChangedNotificationItem) GetEvent() string
GetEvent returns the Event field if non-nil, zero value otherwise.
func (o *CampaignRulesetChangedNotificationItem) GetEventOk() (*string, bool)
GetEventOk returns a tuple with the Event field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignRulesetChangedNotificationItem) SetEvent(v string)
SetEvent sets Event field to given value.
func (o *CampaignRulesetChangedNotificationItem) GetCampaign() Campaign
GetCampaign returns the Campaign field if non-nil, zero value otherwise.
func (o *CampaignRulesetChangedNotificationItem) 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 *CampaignRulesetChangedNotificationItem) SetCampaign(v Campaign)
SetCampaign sets Campaign field to given value.
func (o *CampaignRulesetChangedNotificationItem) GetOldRuleset() Ruleset
GetOldRuleset returns the OldRuleset field if non-nil, zero value otherwise.
func (o *CampaignRulesetChangedNotificationItem) GetOldRulesetOk() (*Ruleset, bool)
GetOldRulesetOk returns a tuple with the OldRuleset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CampaignRulesetChangedNotificationItem) SetOldRuleset(v Ruleset)
SetOldRuleset sets OldRuleset field to given value.
func (o *CampaignRulesetChangedNotificationItem) HasOldRuleset() bool
HasOldRuleset returns a boolean if a field has been set.
func (o *CampaignRulesetChangedNotificationItem) GetRuleset() Ruleset
GetRuleset returns the Ruleset field if non-nil, zero value otherwise.
func (o *CampaignRulesetChangedNotificationItem) 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 *CampaignRulesetChangedNotificationItem) SetRuleset(v Ruleset)
SetRuleset sets Ruleset field to given value.
func (o *CampaignRulesetChangedNotificationItem) HasRuleset() bool
HasRuleset returns a boolean if a field has been set.