Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to int32 | Internal ID of this entity. | |
Created | Pointer to time.Time | The time this entity was created. | |
UserId | Pointer to int32 | The ID of the user associated with this entity. | |
Rules | Pointer to []Rule | Set of rules to apply. | |
StrikethroughRules | Pointer to []Rule | Set of rules to apply for strikethrough. | [optional] |
Bindings | Pointer to []Binding | An array that provides objects with variable names (name) and talang expressions to whose result they are bound (expression) during rule evaluation. The order of the evaluation is decided by the position in the array. | |
RbVersion | Pointer to string | The version of the rulebuilder used to create this ruleset. | [optional] |
Activate | Pointer to bool | Indicates whether this created ruleset should be activated for the campaign that owns it. | [optional] |
CampaignId | Pointer to int32 | The ID of the campaign that owns this entity. | [optional] |
TemplateId | Pointer to int32 | The ID of the campaign template that owns this entity. | [optional] |
ActivatedAt | Pointer to time.Time | Timestamp indicating when this Ruleset was activated. | [optional] |
func (o *Ruleset) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Ruleset) 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 *Ruleset) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Ruleset) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (o *Ruleset) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *Ruleset) 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 *Ruleset) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *Ruleset) SetCreated(v time.Time)
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (o *Ruleset) GetUserId() int32
GetUserId returns the UserId field if non-nil, zero value otherwise.
func (o *Ruleset) 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 *Ruleset) HasUserId() bool
HasUserId returns a boolean if a field has been set.
func (o *Ruleset) SetUserId(v int32)
SetUserId gets a reference to the given int32 and assigns it to the UserId field.
func (o *Ruleset) GetRules() []Rule
GetRules returns the Rules field if non-nil, zero value otherwise.
func (o *Ruleset) GetRulesOk() ([]Rule, bool)
GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasRules() bool
HasRules returns a boolean if a field has been set.
func (o *Ruleset) SetRules(v []Rule)
SetRules gets a reference to the given []Rule and assigns it to the Rules field.
func (o *Ruleset) GetStrikethroughRules() []Rule
GetStrikethroughRules returns the StrikethroughRules field if non-nil, zero value otherwise.
func (o *Ruleset) GetStrikethroughRulesOk() ([]Rule, bool)
GetStrikethroughRulesOk returns a tuple with the StrikethroughRules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasStrikethroughRules() bool
HasStrikethroughRules returns a boolean if a field has been set.
func (o *Ruleset) SetStrikethroughRules(v []Rule)
SetStrikethroughRules gets a reference to the given []Rule and assigns it to the StrikethroughRules field.
func (o *Ruleset) GetBindings() []Binding
GetBindings returns the Bindings field if non-nil, zero value otherwise.
func (o *Ruleset) GetBindingsOk() ([]Binding, bool)
GetBindingsOk returns a tuple with the Bindings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (o *Ruleset) SetBindings(v []Binding)
SetBindings gets a reference to the given []Binding and assigns it to the Bindings field.
func (o *Ruleset) GetRbVersion() string
GetRbVersion returns the RbVersion field if non-nil, zero value otherwise.
func (o *Ruleset) GetRbVersionOk() (string, bool)
GetRbVersionOk returns a tuple with the RbVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasRbVersion() bool
HasRbVersion returns a boolean if a field has been set.
func (o *Ruleset) SetRbVersion(v string)
SetRbVersion gets a reference to the given string and assigns it to the RbVersion field.
func (o *Ruleset) GetActivate() bool
GetActivate returns the Activate field if non-nil, zero value otherwise.
func (o *Ruleset) GetActivateOk() (bool, bool)
GetActivateOk returns a tuple with the Activate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasActivate() bool
HasActivate returns a boolean if a field has been set.
func (o *Ruleset) SetActivate(v bool)
SetActivate gets a reference to the given bool and assigns it to the Activate field.
func (o *Ruleset) GetCampaignId() int32
GetCampaignId returns the CampaignId field if non-nil, zero value otherwise.
func (o *Ruleset) 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 *Ruleset) HasCampaignId() bool
HasCampaignId returns a boolean if a field has been set.
func (o *Ruleset) SetCampaignId(v int32)
SetCampaignId gets a reference to the given int32 and assigns it to the CampaignId field.
func (o *Ruleset) GetTemplateId() int32
GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.
func (o *Ruleset) 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 *Ruleset) HasTemplateId() bool
HasTemplateId returns a boolean if a field has been set.
func (o *Ruleset) SetTemplateId(v int32)
SetTemplateId gets a reference to the given int32 and assigns it to the TemplateId field.
func (o *Ruleset) GetActivatedAt() time.Time
GetActivatedAt returns the ActivatedAt field if non-nil, zero value otherwise.
func (o *Ruleset) GetActivatedAtOk() (time.Time, bool)
GetActivatedAtOk returns a tuple with the ActivatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Ruleset) HasActivatedAt() bool
HasActivatedAt returns a boolean if a field has been set.
func (o *Ruleset) SetActivatedAt(v time.Time)
SetActivatedAt gets a reference to the given time.Time and assigns it to the ActivatedAt field.