Name | Type | Description | Notes |
---|---|---|---|
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] |
func (o *NewRuleset) GetRules() []Rule
GetRules returns the Rules field if non-nil, zero value otherwise.
func (o *NewRuleset) 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 *NewRuleset) HasRules() bool
HasRules returns a boolean if a field has been set.
func (o *NewRuleset) SetRules(v []Rule)
SetRules gets a reference to the given []Rule and assigns it to the Rules field.
func (o *NewRuleset) GetStrikethroughRules() []Rule
GetStrikethroughRules returns the StrikethroughRules field if non-nil, zero value otherwise.
func (o *NewRuleset) 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 *NewRuleset) HasStrikethroughRules() bool
HasStrikethroughRules returns a boolean if a field has been set.
func (o *NewRuleset) SetStrikethroughRules(v []Rule)
SetStrikethroughRules gets a reference to the given []Rule and assigns it to the StrikethroughRules field.
func (o *NewRuleset) GetBindings() []Binding
GetBindings returns the Bindings field if non-nil, zero value otherwise.
func (o *NewRuleset) 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 *NewRuleset) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (o *NewRuleset) SetBindings(v []Binding)
SetBindings gets a reference to the given []Binding and assigns it to the Bindings field.
func (o *NewRuleset) GetRbVersion() string
GetRbVersion returns the RbVersion field if non-nil, zero value otherwise.
func (o *NewRuleset) 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 *NewRuleset) HasRbVersion() bool
HasRbVersion returns a boolean if a field has been set.
func (o *NewRuleset) SetRbVersion(v string)
SetRbVersion gets a reference to the given string and assigns it to the RbVersion field.
func (o *NewRuleset) GetActivate() bool
GetActivate returns the Activate field if non-nil, zero value otherwise.
func (o *NewRuleset) 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 *NewRuleset) HasActivate() bool
HasActivate returns a boolean if a field has been set.
func (o *NewRuleset) SetActivate(v bool)
SetActivate gets a reference to the given bool and assigns it to the Activate field.