Skip to content

Latest commit

 

History

History
196 lines (104 loc) · 5.3 KB

Rule.md

File metadata and controls

196 lines (104 loc) · 5.3 KB

Rule

Properties

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. |

Methods

GetId

func (o *Rule) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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.

HasId

func (o *Rule) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *Rule) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

GetParentId

func (o *Rule) GetParentId() string

GetParentId returns the ParentId field if non-nil, zero value otherwise.

GetParentIdOk

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.

HasParentId

func (o *Rule) HasParentId() bool

HasParentId returns a boolean if a field has been set.

SetParentId

func (o *Rule) SetParentId(v string)

SetParentId gets a reference to the given string and assigns it to the ParentId field.

GetTitle

func (o *Rule) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

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.

HasTitle

func (o *Rule) HasTitle() bool

HasTitle returns a boolean if a field has been set.

SetTitle

func (o *Rule) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

GetDescription

func (o *Rule) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

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.

HasDescription

func (o *Rule) HasDescription() bool

HasDescription returns a boolean if a field has been set.

SetDescription

func (o *Rule) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

GetBindings

func (o *Rule) GetBindings() []Binding

GetBindings returns the Bindings field if non-nil, zero value otherwise.

GetBindingsOk

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.

HasBindings

func (o *Rule) HasBindings() bool

HasBindings returns a boolean if a field has been set.

SetBindings

func (o *Rule) SetBindings(v []Binding)

SetBindings gets a reference to the given []Binding and assigns it to the Bindings field.

GetCondition

func (o *Rule) GetCondition() []interface{}

GetCondition returns the Condition field if non-nil, zero value otherwise.

GetConditionOk

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.

HasCondition

func (o *Rule) HasCondition() bool

HasCondition returns a boolean if a field has been set.

SetCondition

func (o *Rule) SetCondition(v []interface{})

SetCondition gets a reference to the given []interface{} and assigns it to the Condition field.

GetEffects

func (o *Rule) GetEffects() [][]interface{}

GetEffects returns the Effects field if non-nil, zero value otherwise.

GetEffectsOk

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.

HasEffects

func (o *Rule) HasEffects() bool

HasEffects returns a boolean if a field has been set.

SetEffects

func (o *Rule) SetEffects(v [][]interface{})

SetEffects gets a reference to the given [][]interface{} and assigns it to the Effects field.

[Back to Model list] [Back to API list] [Back to README]