Package com.mypurecloud.sdk.v2.model
Class OutgoingMessageRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.OutgoingMessageRequest
- All Implemented Interfaces:
Serializable
Outgoing Message request
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe state of the bot reported -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe unique id of the bot.botSessionId(String botSessionId) The id of the session.botState(OutgoingMessageRequest.BotStateEnum botState) The state of the bot reportedbotVersion(String botVersion) The version of the bot.confidence(Double confidence) A value between 0 and 1.0 denoting the confidence of the discovered intent (if found) this is optional and if left null genesys assumes a confidence of 1.0 on success and 0 on fail.entities(List<BotEntityValue> entities) A set of entity values that go along with the intent.booleanIf the botState is Failed the bot can add this error object with more details about the error.getBotId()inthashCode()The name of the intent the bot is either processing or has processed, this will be blank if no intent could be detected.languageCode(String languageCode) The language used for this message.parameters(Map<String, String> parameters) This is a map of string-string key, value pairs containing optional fields that can be passed from the bot for custom behavior, tracking, etc, which can be used by the flow.replyMessages(List<ReplyMessage> replyMessages) This is a list of messages to send back to the user, this field can be null or an empty list.voidvoidsetBotSessionId(String botSessionId) voidvoidsetBotVersion(String botVersion) voidsetConfidence(Double confidence) voidsetEntities(List<BotEntityValue> entities) voidsetErrorInfo(ErrorInfo errorInfo) voidvoidsetLanguageCode(String languageCode) voidsetParameters(Map<String, String> parameters) voidsetReplyMessages(List<ReplyMessage> replyMessages) toString()
-
Constructor Details
-
OutgoingMessageRequest
public OutgoingMessageRequest() -
OutgoingMessageRequest
-
-
Method Details
-
botId
The unique id of the bot. -
getBotId
-
setBotId
-
botVersion
The version of the bot. -
getBotVersion
-
setBotVersion
-
botSessionId
The id of the session. This id will be used for an entire conversation with the bot (a series of back and forth between the bot until the bot has fulfilled its intent). -
getBotSessionId
-
setBotSessionId
-
botState
The state of the bot reported -
getBotState
-
setBotState
-
languageCode
The language used for this message. EG 'en-us' or 'es', etc; These language codes are W3C language identification tags (ISO 639-1 for the language name and ISO 3166 for the country code). -
getLanguageCode
-
setLanguageCode
-
replyMessages
This is a list of messages to send back to the user, this field can be null or an empty list. -
getReplyMessages
-
setReplyMessages
-
intent
The name of the intent the bot is either processing or has processed, this will be blank if no intent could be detected. -
getIntent
-
setIntent
-
confidence
A value between 0 and 1.0 denoting the confidence of the discovered intent (if found) this is optional and if left null genesys assumes a confidence of 1.0 on success and 0 on fail. -
getConfidence
-
setConfidence
-
errorInfo
If the botState is Failed the bot can add this error object with more details about the error. -
getErrorInfo
-
setErrorInfo
-
parameters
This is a map of string-string key, value pairs containing optional fields that can be passed from the bot for custom behavior, tracking, etc, which can be used by the flow. -
getParameters
-
setParameters
-
entities
A set of entity values that go along with the intent. -
getEntities
-
setEntities
-
equals
-
hashCode
public int hashCode() -
toString
-