Package com.mypurecloud.sdk.v2.model
Class AdherenceExplanationJob
java.lang.Object
com.mypurecloud.sdk.v2.model.AdherenceExplanationJob
- All Implemented Interfaces:
Serializable
AdherenceExplanationJob
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe status of the adherence explanation jobstatic enumThe type of the adherence explanation job -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadherenceExplanation(AdherenceExplanationResponse adherenceExplanation) The adherence explanation added or modified by the job once complete; may be null if status == 'Error'.agentQueryResponseTemplate(AdherenceExplanationListingAgentQueryResponse agentQueryResponseTemplate) Schema template for deserializing data returned from the downloadUrl.buQueryResponseTemplate(AdherenceExplanationListingBuQueryResponse buQueryResponseTemplate) Schema template for deserializing data returned from the downloadUrl.downloadUrl(String downloadUrl) A URL to fetch results of the job.booleanError details if status == 'Error'getError()getId()getType()inthashCode()voidsetAdherenceExplanation(AdherenceExplanationResponse adherenceExplanation) voidsetAgentQueryResponseTemplate(AdherenceExplanationListingAgentQueryResponse agentQueryResponseTemplate) voidsetBuQueryResponseTemplate(AdherenceExplanationListingBuQueryResponse buQueryResponseTemplate) voidsetDownloadUrl(String downloadUrl) voidvoidvoidThe status of the adherence explanation jobtoString()The type of the adherence explanation job
-
Constructor Details
-
AdherenceExplanationJob
public AdherenceExplanationJob() -
AdherenceExplanationJob
-
-
Method Details
-
getId
-
type
The type of the adherence explanation job -
getType
-
setType
-
status
The status of the adherence explanation job -
getStatus
-
setStatus
-
adherenceExplanation
public AdherenceExplanationJob adherenceExplanation(AdherenceExplanationResponse adherenceExplanation) The adherence explanation added or modified by the job once complete; may be null if status == 'Error'. Used if type is in [ 'AddExplanation', 'UpdateExplanation' ] -
getAdherenceExplanation
-
setAdherenceExplanation
-
downloadUrl
A URL to fetch results of the job. Only set if status == 'Complete' and type is in [ 'QueryAgentExplanations', 'QueryBuExplanations' ] -
getDownloadUrl
-
setDownloadUrl
-
error
Error details if status == 'Error' -
getError
-
setError
-
agentQueryResponseTemplate
public AdherenceExplanationJob agentQueryResponseTemplate(AdherenceExplanationListingAgentQueryResponse agentQueryResponseTemplate) Schema template for deserializing data returned from the downloadUrl. Use if type == 'QueryAgentExplanations' -
getAgentQueryResponseTemplate
-
setAgentQueryResponseTemplate
public void setAgentQueryResponseTemplate(AdherenceExplanationListingAgentQueryResponse agentQueryResponseTemplate) -
buQueryResponseTemplate
public AdherenceExplanationJob buQueryResponseTemplate(AdherenceExplanationListingBuQueryResponse buQueryResponseTemplate) Schema template for deserializing data returned from the downloadUrl. Use if type == 'QueryBuExplanations' -
getBuQueryResponseTemplate
-
setBuQueryResponseTemplate
public void setBuQueryResponseTemplate(AdherenceExplanationListingBuQueryResponse buQueryResponseTemplate) -
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-