Package com.mypurecloud.sdk.v2.model
Class Condition
java.lang.Object
com.mypurecloud.sdk.v2.model.Condition
- All Implemented Interfaces:
Serializable
Condition
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn operation with which to evaluate the Condition.static enumThe type of the property associated with this Condition.static enumThe type of the condition.static enumThe type of the value associated with this Condition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentWrapupField(String agentWrapupField) The input field from the data action that the agentWrapup will be passed to for this condition.attributeName(String attributeName) An attribute name associated with this Condition.callAnalysisResultField(String callAnalysisResultField) The input field from the data action that the callAnalysisResult will be passed to for this condition.List of wrap-up code identifiers.contactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings) A list of mappings defining which contact data fields will be passed to which data action input fields for this condition.contactIdField(String contactIdField) The input field from the data action that the contactId will be passed to for this condition.dataAction(DomainEntityRef dataAction) The Data Action to use for this condition.dataNotFoundResolution(Boolean dataNotFoundResolution) The result of this condition if the data action returns a result indicating there was no data.booleangetCodes()getType()getValue()inthashCode()If true, inverts the result of evaluating this Condition.matchAnyConditions(Boolean matchAnyConditions) If true, only one sub-condition must match for the condition to be true.operator(Condition.OperatorEnum operator) An operation with which to evaluate the Condition.predicates(List<DataActionConditionPredicate> predicates) A list of predicates defining the comparisons to use for this condition.A value associated with the property type of this Condition.propertyType(Condition.PropertyTypeEnum propertyType) The type of the property associated with this Condition.voidsetAgentWrapupField(String agentWrapupField) voidsetAttributeName(String attributeName) voidsetCallAnalysisResultField(String callAnalysisResultField) voidvoidsetContactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings) voidsetContactIdField(String contactIdField) voidsetDataAction(DomainEntityRef dataAction) voidsetDataNotFoundResolution(Boolean dataNotFoundResolution) voidsetInverted(Boolean inverted) voidsetMatchAnyConditions(Boolean matchAnyConditions) voidsetOperator(Condition.OperatorEnum operator) voidsetPredicates(List<DataActionConditionPredicate> predicates) voidsetProperty(String property) voidsetPropertyType(Condition.PropertyTypeEnum propertyType) voidsetSubConditions(List<TimeAndDateSubCondition> subConditions) voidsetTimeZoneId(String timeZoneId) voidsetType(Condition.TypeEnum type) voidvoidsetValueType(Condition.ValueTypeEnum valueType) subConditions(List<TimeAndDateSubCondition> subConditions) A list of sub-conditions to evaluate.timeZoneId(String timeZoneId) The time zone to use for this condition.toString()type(Condition.TypeEnum type) The type of the condition.A value associated with this Condition.valueType(Condition.ValueTypeEnum valueType) The type of the value associated with this Condition.
-
Constructor Details
-
Condition
public Condition() -
Condition
-
-
Method Details
-
type
The type of the condition. -
getType
-
setType
-
inverted
If true, inverts the result of evaluating this Condition. Default is false. -
getInverted
-
setInverted
-
attributeName
An attribute name associated with this Condition. Required for a contactAttributeCondition. -
getAttributeName
-
setAttributeName
-
value
A value associated with this Condition. This could be text, a number, or a relative time. Not used for a DataActionCondition. -
getValue
-
setValue
-
valueType
The type of the value associated with this Condition. Not used for a DataActionCondition. -
getValueType
-
setValueType
-
operator
An operation with which to evaluate the Condition. Not used for a DataActionCondition. -
getOperator
-
setOperator
-
codes
List of wrap-up code identifiers. Required for a wrapupCondition. -
getCodes
-
setCodes
-
property
A value associated with the property type of this Condition. Required for a contactPropertyCondition. -
getProperty
-
setProperty
-
propertyType
The type of the property associated with this Condition. Required for a contactPropertyCondition. -
getPropertyType
-
setPropertyType
-
dataAction
The Data Action to use for this condition. Required for a dataActionCondition. -
getDataAction
-
setDataAction
-
dataNotFoundResolution
The result of this condition if the data action returns a result indicating there was no data. Required for a DataActionCondition. -
getDataNotFoundResolution
-
setDataNotFoundResolution
-
contactIdField
The input field from the data action that the contactId will be passed to for this condition. Valid for a dataActionCondition. -
getContactIdField
-
setContactIdField
-
callAnalysisResultField
The input field from the data action that the callAnalysisResult will be passed to for this condition. Valid for a wrapup dataActionCondition. -
getCallAnalysisResultField
-
setCallAnalysisResultField
-
agentWrapupField
The input field from the data action that the agentWrapup will be passed to for this condition. Valid for a wrapup dataActionCondition. -
getAgentWrapupField
-
setAgentWrapupField
-
contactColumnToDataActionFieldMappings
public Condition contactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings) A list of mappings defining which contact data fields will be passed to which data action input fields for this condition. Valid for a dataActionCondition. -
getContactColumnToDataActionFieldMappings
-
setContactColumnToDataActionFieldMappings
public void setContactColumnToDataActionFieldMappings(List<ContactColumnToDataActionFieldMapping> contactColumnToDataActionFieldMappings) -
predicates
A list of predicates defining the comparisons to use for this condition. Required for a dataActionCondition. -
getPredicates
-
setPredicates
-
subConditions
A list of sub-conditions to evaluate. Required for a timeAndDateCondition. -
getSubConditions
-
setSubConditions
-
matchAnyConditions
If true, only one sub-condition must match for the condition to be true. If false, all sub-conditions must match. Default is false. Required for a timeAndDateCondition. -
getMatchAnyConditions
-
setMatchAnyConditions
-
timeZoneId
The time zone to use for this condition. Required for a timeAndDateCondition. -
getTimeZoneId
-
setTimeZoneId
-
equals
-
hashCode
public int hashCode() -
toString
-