Package com.swrve.sdk.messaging.model
Enum Conditions.Op
- java.lang.Object
-
- java.lang.Enum<Conditions.Op>
-
- com.swrve.sdk.messaging.model.Conditions.Op
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Conditions.Op>
- Enclosing class:
- Conditions
public static enum Conditions.Op extends java.lang.Enum<Conditions.Op>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
CONTAINS
EQ
NUMBER_BETWEEN
NUMBER_EQ
NUMBER_GT
NUMBER_LT
NUMBER_NOT_BETWEEN
OR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Conditions.Op
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Conditions.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OR
@SerializedName("or") public static final Conditions.Op OR
-
AND
@SerializedName("and") public static final Conditions.Op AND
-
CONTAINS
@SerializedName("contains") public static final Conditions.Op CONTAINS
-
NUMBER_GT
@SerializedName("number_gt") public static final Conditions.Op NUMBER_GT
-
NUMBER_LT
@SerializedName("number_lt") public static final Conditions.Op NUMBER_LT
-
NUMBER_BETWEEN
@SerializedName("number_between") public static final Conditions.Op NUMBER_BETWEEN
-
NUMBER_NOT_BETWEEN
@SerializedName("number_not_between") public static final Conditions.Op NUMBER_NOT_BETWEEN
-
NUMBER_EQ
@SerializedName("number_eq") public static final Conditions.Op NUMBER_EQ
-
EQ
@SerializedName("eq") public static final Conditions.Op EQ
-
-
Method Detail
-
values
public static Conditions.Op[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Conditions.Op c : Conditions.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Conditions.Op valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-