Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | A unique identifier for the rule. | [optional] |
ParentId | Pointer to string | The ID of the rule that was copied to create this rule. | [optional] |
Title | Pointer to string | A short description of the rule. | |
Description | Pointer to string | A longer, more detailed description of the rule. | [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. | [optional] |
Condition | Pointer to []interface{} | A Talang expression that will be evaluated in the context of the given event. | |
Effects | Pointer to [][]interface{} | An array of effectful Talang expressions in arrays that will be evaluated when a rule matches. |
func (o *Rule) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Rule) GetIdOk() (string, 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 *Rule) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Rule) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (o *Rule) GetParentId() string
GetParentId returns the ParentId field if non-nil, zero value otherwise.
func (o *Rule) GetParentIdOk() (string, bool)
GetParentIdOk returns a tuple with the ParentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rule) HasParentId() bool
HasParentId returns a boolean if a field has been set.
func (o *Rule) SetParentId(v string)
SetParentId gets a reference to the given string and assigns it to the ParentId field.
func (o *Rule) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
func (o *Rule) GetTitleOk() (string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rule) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (o *Rule) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (o *Rule) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Rule) 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 *Rule) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *Rule) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (o *Rule) GetBindings() []Binding
GetBindings returns the Bindings field if non-nil, zero value otherwise.
func (o *Rule) 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 *Rule) HasBindings() bool
HasBindings returns a boolean if a field has been set.
func (o *Rule) SetBindings(v []Binding)
SetBindings gets a reference to the given []Binding and assigns it to the Bindings field.
func (o *Rule) GetCondition() []interface{}
GetCondition returns the Condition field if non-nil, zero value otherwise.
func (o *Rule) GetConditionOk() ([]interface{}, bool)
GetConditionOk returns a tuple with the Condition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rule) HasCondition() bool
HasCondition returns a boolean if a field has been set.
func (o *Rule) SetCondition(v []interface{})
SetCondition gets a reference to the given []interface{} and assigns it to the Condition field.
func (o *Rule) GetEffects() [][]interface{}
GetEffects returns the Effects field if non-nil, zero value otherwise.
func (o *Rule) GetEffectsOk() ([][]interface{}, bool)
GetEffectsOk returns a tuple with the Effects field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Rule) HasEffects() bool
HasEffects returns a boolean if a field has been set.
func (o *Rule) SetEffects(v [][]interface{})
SetEffects gets a reference to the given [][]interface{} and assigns it to the Effects field.