Package com.mypurecloud.sdk.v2.model
Class TimeAndDateSubCondition
java.lang.Object
com.mypurecloud.sdk.v2.model.TimeAndDateSubCondition
- All Implemented Interfaces:
Serializable
TimeAndDateSubCondition
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe operator to use for comparison.static enumThe type of time/date sub-condition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetRange()getType()inthashCode()includeYear(Boolean includeYear) If true, includes year in date comparison for specificDate type.If true, inverts the result of evaluating this sub-condition.operator(TimeAndDateSubCondition.OperatorEnum operator) The operator to use for comparison.A range of values for BETWEEN and IN operators.voidsetIncludeYear(Boolean includeYear) voidsetInverted(Boolean inverted) voidvoidvoidsetThresholdValue(String thresholdValue) voidthresholdValue(String thresholdValue) Threshold value for BEFORE or AFTER operators.toString()The type of time/date sub-condition.
-
Constructor Details
-
TimeAndDateSubCondition
public TimeAndDateSubCondition() -
TimeAndDateSubCondition
-
-
Method Details
-
type
The type of time/date sub-condition. -
getType
-
setType
-
operator
The operator to use for comparison. -
getOperator
-
setOperator
-
inverted
If true, inverts the result of evaluating this sub-condition. Default is false. -
getInverted
-
setInverted
-
includeYear
If true, includes year in date comparison for specificDate type. When false, only month and day are compared. Default is true. Only applicable for specificDate type. -
getIncludeYear
-
setIncludeYear
-
thresholdValue
Threshold value for BEFORE or AFTER operators. Format depends on type: timeOfDay: HH:mm, dayOfWeek: 1-7 (Monday-Sunday), dayOfMonth: 1-31 and/ or LAST_DAY, ODD_DAY, EVEN_DAY, specificDate: yyyy-MM-dd (if includeYear=true) or MM-dd (if includeYear=false). For single-value comparison, use a list with one element. -
getThresholdValue
-
setThresholdValue
-
range
A range of values for BETWEEN and IN operators. Format follows the same rules as 'thresholdValue'. -
getRange
-
setRange
-
equals
-
hashCode
public int hashCode() -
toString
-