Name | Type | Description | Notes |
---|---|---|---|
IsOperand | Pointer to bool | always "true" for the leaf of a tree | [optional] [default to true] |
Relation | Pointer to string | "and", "or" | [optional] [default to "and"] |
Children | Pointer to []ConditionNode | [optional] | |
Condition | Pointer to Condition | [optional] |
func NewConditionNode() *ConditionNode
NewConditionNode instantiates a new ConditionNode 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 NewConditionNodeWithDefaults() *ConditionNode
NewConditionNodeWithDefaults instantiates a new ConditionNode 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 *ConditionNode) GetIsOperand() bool
GetIsOperand returns the IsOperand field if non-nil, zero value otherwise.
func (o *ConditionNode) GetIsOperandOk() (*bool, bool)
GetIsOperandOk returns a tuple with the IsOperand field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConditionNode) SetIsOperand(v bool)
SetIsOperand sets IsOperand field to given value.
func (o *ConditionNode) HasIsOperand() bool
HasIsOperand returns a boolean if a field has been set.
func (o *ConditionNode) GetRelation() string
GetRelation returns the Relation field if non-nil, zero value otherwise.
func (o *ConditionNode) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConditionNode) SetRelation(v string)
SetRelation sets Relation field to given value.
func (o *ConditionNode) HasRelation() bool
HasRelation returns a boolean if a field has been set.
func (o *ConditionNode) GetChildren() []*ConditionNode
GetChildren returns the Children field if non-nil, zero value otherwise.
func (o *ConditionNode) GetChildrenOk() (*[]*ConditionNode, bool)
GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ConditionNode) SetChildren(v []*ConditionNode)
SetChildren sets Children field to given value.
func (o *ConditionNode) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (o *ConditionNode) GetCondition() Condition
GetCondition returns the Condition field if non-nil, zero value otherwise.
func (o *ConditionNode) GetConditionOk() (*Condition, 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 *ConditionNode) SetCondition(v Condition)
SetCondition sets Condition field to given value.
func (o *ConditionNode) HasCondition() bool
HasCondition returns a boolean if a field has been set.