Package com.mypurecloud.sdk.v2.model
Class Callback
java.lang.Object
com.mypurecloud.sdk.v2.model.Callback
- All Implemented Interfaces:
Serializable
Callback
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe direction of the callstatic enumSystem defined string indicating what caused the communication to disconnect.static enumThe initial connection state of this communication.static enumThe connection state of this communication. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCallWork(AfterCallWork afterCallWork) After-call work for the communication.afterCallWorkRequired(Boolean afterCallWorkRequired) Indicates if after-call work is required for a communication.automatedCallbackConfigId(String automatedCallbackConfigId) The id of the config for automatically placing the callback (and handling the disposition).callbackNumbers(List<String> callbackNumbers) The phone number(s) to use to place the callback.callbackScheduledTime(Date callbackScheduledTime) The timestamp when this communication is scheduled in the provider clock.callbackUserName(String callbackUserName) The name of the user requesting a callback.The phone number displayed to recipients of the phone call.callerIdName(String callerIdName) The name displayed to recipients of the phone call.connectedTime(Date connectedTime) The timestamp when this communication was connected in the cloud clock.dialerPreview(DialerPreview dialerPreview) The preview data to be used when this callback is a Preview.direction(Callback.DirectionEnum direction) The direction of the calldisconnectedTime(Date disconnectedTime) The timestamp when this communication disconnected from the conversation in the provider clock.disconnectType(Callback.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect.booleanexternalCampaign(Boolean externalCampaign) True if the call for the callback uses external dialing.getHeld()getId()getState()inthashCode()True if this call is held and the person on this side hears silence.A globally unique identifier for this communication.initialState(Callback.InitialStateEnum initialState) The initial connection state of this communication.The id of the peer communication corresponding to a matching leg for this communication.The source provider for the callback.queueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) Represents the queue settings for this media type.The UUID of the script to use.The time line of the participant's callback, divided into activity segments.voidsetAfterCallWork(AfterCallWork afterCallWork) voidsetAfterCallWorkRequired(Boolean afterCallWorkRequired) voidsetAutomatedCallbackConfigId(String automatedCallbackConfigId) voidsetCallbackNumbers(List<String> callbackNumbers) voidsetCallbackScheduledTime(Date callbackScheduledTime) voidsetCallbackUserName(String callbackUserName) voidsetCallerId(String callerId) voidsetCallerIdName(String callerIdName) voidsetConnectedTime(Date connectedTime) voidsetDialerPreview(DialerPreview dialerPreview) voidsetDirection(Callback.DirectionEnum direction) voidsetDisconnectedTime(Date disconnectedTime) voidsetDisconnectType(Callback.DisconnectTypeEnum disconnectType) voidsetExternalCampaign(Boolean externalCampaign) voidvoidvoidsetInitialState(Callback.InitialStateEnum initialState) voidvoidsetProvider(String provider) voidsetQueueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) voidsetScriptId(String scriptId) voidsetSegments(List<Segment> segments) voidsetSkipEnabled(Boolean skipEnabled) voidsetStartAlertingTime(Date startAlertingTime) voidsetStartHoldTime(Date startHoldTime) voidsetState(Callback.StateEnum state) voidsetTimeoutSeconds(Integer timeoutSeconds) voidsetVoicemail(Voicemail voicemail) voidskipEnabled(Boolean skipEnabled) True if the ability to skip a callback should be enabled.startAlertingTime(Date startAlertingTime) The timestamp the communication has when it is first put into an alerting state.startHoldTime(Date startHoldTime) The timestamp the callback was placed on hold in the cloud clock if the callback is currently on hold.state(Callback.StateEnum state) The connection state of this communication.timeoutSeconds(Integer timeoutSeconds) The number of seconds before the system automatically places a call for a callback. 0 means the automatic placement is disabled.toString()The voicemail data to be used when this callback is an ACD voicemail.Call wrap up or disposition data.
-
Constructor Details
-
Callback
public Callback() -
Callback
-
-
Method Details
-
state
The connection state of this communication. -
getState
-
setState
-
initialState
The initial connection state of this communication. -
getInitialState
-
setInitialState
-
id
A globally unique identifier for this communication. -
getId
-
setId
-
segments
The time line of the participant's callback, divided into activity segments. -
getSegments
-
setSegments
-
direction
The direction of the call -
getDirection
-
setDirection
-
held
True if this call is held and the person on this side hears silence. -
getHeld
-
setHeld
-
disconnectType
System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. -
getDisconnectType
-
setDisconnectType
-
startHoldTime
The timestamp the callback was placed on hold in the cloud clock if the callback is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartHoldTime
-
setStartHoldTime
-
dialerPreview
The preview data to be used when this callback is a Preview. -
getDialerPreview
-
setDialerPreview
-
voicemail
The voicemail data to be used when this callback is an ACD voicemail. -
getVoicemail
-
setVoicemail
-
callbackNumbers
The phone number(s) to use to place the callback. -
getCallbackNumbers
-
setCallbackNumbers
-
callbackUserName
The name of the user requesting a callback. -
getCallbackUserName
-
setCallbackUserName
-
scriptId
The UUID of the script to use. -
getScriptId
-
setScriptId
-
externalCampaign
True if the call for the callback uses external dialing. -
getExternalCampaign
-
setExternalCampaign
-
skipEnabled
True if the ability to skip a callback should be enabled. -
getSkipEnabled
-
setSkipEnabled
-
timeoutSeconds
The number of seconds before the system automatically places a call for a callback. 0 means the automatic placement is disabled. -
getTimeoutSeconds
-
setTimeoutSeconds
-
startAlertingTime
The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartAlertingTime
-
setStartAlertingTime
-
connectedTime
The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getConnectedTime
-
setConnectedTime
-
disconnectedTime
The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDisconnectedTime
-
setDisconnectedTime
-
callbackScheduledTime
The timestamp when this communication is scheduled in the provider clock. If this value is missing it indicates the callback will be placed immediately. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getCallbackScheduledTime
-
setCallbackScheduledTime
-
automatedCallbackConfigId
The id of the config for automatically placing the callback (and handling the disposition). If null, the callback will not be placed automatically but routed to an agent as per normal. -
getAutomatedCallbackConfigId
-
setAutomatedCallbackConfigId
-
provider
The source provider for the callback. -
getProvider
-
setProvider
-
peerId
The id of the peer communication corresponding to a matching leg for this communication. -
getPeerId
-
setPeerId
-
wrapup
Call wrap up or disposition data. -
getWrapup
-
setWrapup
-
afterCallWork
After-call work for the communication. -
getAfterCallWork
-
setAfterCallWork
-
afterCallWorkRequired
Indicates if after-call work is required for a communication. Only used when the ACW Setting is Agent Requested. -
getAfterCallWorkRequired
-
setAfterCallWorkRequired
-
callerId
The phone number displayed to recipients of the phone call. The value should conform to the E164 format. -
getCallerId
-
setCallerId
-
callerIdName
The name displayed to recipients of the phone call. -
getCallerIdName
-
setCallerIdName
-
queueMediaSettings
Represents the queue settings for this media type. -
getQueueMediaSettings
-
setQueueMediaSettings
-
equals
-
hashCode
public int hashCode() -
toString
-