Enum QueryParamType
- java.lang.Object
-
- java.lang.Enum<QueryParamType>
-
- com.stackone.stackone_client_java.models.operations.QueryParamType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<QueryParamType>
public enum QueryParamType extends java.lang.Enum<QueryParamType>
QueryParamTypeFilter to select time-off policies by type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSENTACCIDENTANNUAL_LEAVEBEREAVEMENT_LEAVEBREAKCHILD_CARE_LEAVECOMP_TIMEJURY_DUTYLEAVE_OF_ABSENCELONG_TERM_DISABILITYMATERNITY_LEAVESABBATICALSHORT_TERM_DISABILITYSICKTRAININGUNMAPPED_VALUEVACATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.Optional<QueryParamType>fromValue(java.lang.String value)java.lang.Stringvalue()static QueryParamTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static QueryParamType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SICK
public static final QueryParamType SICK
-
UNMAPPED_VALUE
public static final QueryParamType UNMAPPED_VALUE
-
VACATION
public static final QueryParamType VACATION
-
LONG_TERM_DISABILITY
public static final QueryParamType LONG_TERM_DISABILITY
-
SHORT_TERM_DISABILITY
public static final QueryParamType SHORT_TERM_DISABILITY
-
ABSENT
public static final QueryParamType ABSENT
-
COMP_TIME
public static final QueryParamType COMP_TIME
-
TRAINING
public static final QueryParamType TRAINING
-
ANNUAL_LEAVE
public static final QueryParamType ANNUAL_LEAVE
-
LEAVE_OF_ABSENCE
public static final QueryParamType LEAVE_OF_ABSENCE
-
BREAK
public static final QueryParamType BREAK
-
CHILD_CARE_LEAVE
public static final QueryParamType CHILD_CARE_LEAVE
-
MATERNITY_LEAVE
public static final QueryParamType MATERNITY_LEAVE
-
JURY_DUTY
public static final QueryParamType JURY_DUTY
-
BEREAVEMENT_LEAVE
public static final QueryParamType BEREAVEMENT_LEAVE
-
SABBATICAL
public static final QueryParamType SABBATICAL
-
ACCIDENT
public static final QueryParamType ACCIDENT
-
-
Method Detail
-
values
public static QueryParamType[] 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 (QueryParamType c : QueryParamType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueryParamType 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
-
value
public java.lang.String value()
-
fromValue
public static java.util.Optional<QueryParamType> fromValue(java.lang.String value)
-
-