Skip to main content

ConditionRule

Properties

NameTypeDescriptionNotes
SourceTypePointer to stringDefines the type of object being selected. It will be either a reference to a form input (by input name) or a form element (by technical key). INPUT ConditionRuleSourceTypeInput ELEMENT ConditionRuleSourceTypeElement[optional]
SourcePointer to stringSource - if the sourceType is ConditionRuleSourceTypeInput, the source type is the name of the form input to accept. However, if the sourceType is ConditionRuleSourceTypeElement, the source is the name of a technical key of an element to retrieve its value.[optional]
OperatorPointer to stringConditionRuleComparisonOperatorType value. EQ ConditionRuleComparisonOperatorTypeEquals This comparison operator compares the source and target for equality. NE ConditionRuleComparisonOperatorTypeNotEquals This comparison operator compares the source and target for inequality. CO ConditionRuleComparisonOperatorTypeContains This comparison operator searches the source to see whether it contains the value. NOT_CO ConditionRuleComparisonOperatorTypeNotContains IN ConditionRuleComparisonOperatorTypeIncludes This comparison operator searches the source if it equals any of the values. NOT_IN ConditionRuleComparisonOperatorTypeNotIncludes EM ConditionRuleComparisonOperatorTypeEmpty NOT_EM ConditionRuleComparisonOperatorTypeNotEmpty SW ConditionRuleComparisonOperatorTypeStartsWith Checks whether a string starts with another substring of the same string. This operator is case-sensitive. NOT_SW ConditionRuleComparisonOperatorTypeNotStartsWith EW ConditionRuleComparisonOperatorTypeEndsWith Checks whether a string ends with another substring of the same string. This operator is case-sensitive. NOT_EW ConditionRuleComparisonOperatorTypeNotEndsWith[optional]
ValueTypePointer to stringConditionRuleValueType type. STRING ConditionRuleValueTypeString This value is a static string. STRING_LIST ConditionRuleValueTypeStringList This value is an array of string values. INPUT ConditionRuleValueTypeInput This value is a reference to a form input. ELEMENT ConditionRuleValueTypeElement This value is a reference to a form element (by technical key). LIST ConditionRuleValueTypeList BOOLEAN ConditionRuleValueTypeBoolean[optional]
ValuePointer to stringBased on the ValueType.[optional]

Methods

NewConditionRule

func NewConditionRule() *ConditionRule

NewConditionRule instantiates a new ConditionRule 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

NewConditionRuleWithDefaults

func NewConditionRuleWithDefaults() *ConditionRule

NewConditionRuleWithDefaults instantiates a new ConditionRule 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

GetSourceType

func (o *ConditionRule) GetSourceType() string

GetSourceType returns the SourceType field if non-nil, zero value otherwise.

GetSourceTypeOk

func (o *ConditionRule) GetSourceTypeOk() (*string, bool)

GetSourceTypeOk returns a tuple with the SourceType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSourceType

func (o *ConditionRule) SetSourceType(v string)

SetSourceType sets SourceType field to given value.

HasSourceType

func (o *ConditionRule) HasSourceType() bool

HasSourceType returns a boolean if a field has been set.

GetSource

func (o *ConditionRule) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *ConditionRule) GetSourceOk() (*string, bool)

GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSource

func (o *ConditionRule) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *ConditionRule) HasSource() bool

HasSource returns a boolean if a field has been set.

GetOperator

func (o *ConditionRule) GetOperator() string

GetOperator returns the Operator field if non-nil, zero value otherwise.

GetOperatorOk

func (o *ConditionRule) GetOperatorOk() (*string, bool)

GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOperator

func (o *ConditionRule) SetOperator(v string)

SetOperator sets Operator field to given value.

HasOperator

func (o *ConditionRule) HasOperator() bool

HasOperator returns a boolean if a field has been set.

GetValueType

func (o *ConditionRule) GetValueType() string

GetValueType returns the ValueType field if non-nil, zero value otherwise.

GetValueTypeOk

func (o *ConditionRule) GetValueTypeOk() (*string, bool)

GetValueTypeOk returns a tuple with the ValueType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValueType

func (o *ConditionRule) SetValueType(v string)

SetValueType sets ValueType field to given value.

HasValueType

func (o *ConditionRule) HasValueType() bool

HasValueType returns a boolean if a field has been set.

GetValue

func (o *ConditionRule) GetValue() string

GetValue returns the Value field if non-nil, zero value otherwise.

GetValueOk

func (o *ConditionRule) GetValueOk() (*string, bool)

GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetValue

func (o *ConditionRule) SetValue(v string)

SetValue sets Value field to given value.

HasValue

func (o *ConditionRule) HasValue() bool

HasValue returns a boolean if a field has been set.