PropertyArrayChangedConditionProperties Class

public final class PropertyArrayChangedConditionProperties
extends AutomationRuleCondition

Describes an automation rule condition that evaluates an array property's value change.

Constructor Summary

Constructor Description
PropertyArrayChangedConditionProperties()

Creates an instance of PropertyArrayChangedConditionProperties class.

Method Summary

Modifier and Type Method and Description
AutomationRulePropertyArrayChangedValuesCondition conditionProperties()

Get the conditionProperties property: The conditionProperties property.

ConditionType conditionType()

Get the conditionType property: The conditionType property.

static PropertyArrayChangedConditionProperties fromJson(JsonReader jsonReader)

Reads an instance of PropertyArrayChangedConditionProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PropertyArrayChangedConditionProperties withConditionProperties(AutomationRulePropertyArrayChangedValuesCondition conditionProperties)

Set the conditionProperties property: The conditionProperties property.

Methods inherited from AutomationRuleCondition

Methods inherited from java.lang.Object

Constructor Details

PropertyArrayChangedConditionProperties

public PropertyArrayChangedConditionProperties()

Creates an instance of PropertyArrayChangedConditionProperties class.

Method Details

conditionProperties

public AutomationRulePropertyArrayChangedValuesCondition conditionProperties()

Get the conditionProperties property: The conditionProperties property.

Returns:

the conditionProperties value.

conditionType

public ConditionType conditionType()

Get the conditionType property: The conditionType property.

Overrides:

PropertyArrayChangedConditionProperties.conditionType()

Returns:

the conditionType value.

fromJson

public static PropertyArrayChangedConditionProperties fromJson(JsonReader jsonReader)

Reads an instance of PropertyArrayChangedConditionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PropertyArrayChangedConditionProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PropertyArrayChangedConditionProperties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

PropertyArrayChangedConditionProperties.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

PropertyArrayChangedConditionProperties.validate()

withConditionProperties

public PropertyArrayChangedConditionProperties withConditionProperties(AutomationRulePropertyArrayChangedValuesCondition conditionProperties)

Set the conditionProperties property: The conditionProperties property.

Parameters:

conditionProperties - the conditionProperties value to set.

Returns:

the PropertyArrayChangedConditionProperties object itself.

Applies to