Enum ConditionOperator
- java.lang.Object
-
- java.lang.Enum<ConditionOperator>
-
- ch.brix.gql.client.frontify.enums.ConditionOperator
-
- All Implemented Interfaces:
Serializable,Comparable<ConditionOperator>,java.lang.constant.Constable
public enum ConditionOperator extends Enum<ConditionOperator>
Condition operators. Defines how the value of the `Asset` is compared to the provided value.
Supported Operators:
- **IS**: equals to the provided value.
- **IS_NOT**: is not equal to provided value.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Method Summary
Modifier and Type Method Description StringtoString()static ConditionOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static ConditionOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS
@SerializedName("IS") public static final ConditionOperator IS
-
IS_NOT
@SerializedName("IS_NOT") public static final ConditionOperator IS_NOT
-
-
Method Detail
-
values
public static ConditionOperator[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConditionOperator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConditionOperator>
-
-