Package com.mypurecloud.sdk.v2.model
Class ReportingTurnToolCall
java.lang.Object
com.mypurecloud.sdk.v2.model.ReportingTurnToolCall
- All Implemented Interfaces:
Serializable
ReportingTurnToolCall
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents the origin of the tool call.static enumRepresents whether the tool call was successful or not.static enumRepresents the type of tool used in the event. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondateInvoked(Date dateInvoked) Represents the starting time of the tool call.booleanRepresents the error returned by the tool in the event of a failure.inthashCode()knowledgeMetadata(ReportingTurnKnowledgeMetadata knowledgeMetadata) Represents various metadata of knowledge calls used by the tool if the tool is configured to use knowledge.Represents the time it took the tool call to execute.Represents the origin of the tool call.voidsetDateInvoked(Date dateInvoked) voidsetErrorText(String errorText) voidsetKnowledgeMetadata(ReportingTurnKnowledgeMetadata knowledgeMetadata) voidsetLatencyMs(Integer latencyMs) voidvoidvoidsetTargetId(String targetId) voidvoidsetToolName(String toolName) voidRepresents whether the tool call was successful or not.Represents the identifier of the target that the tool is using.Represents the identifier of the tool called.Represents the name of the tool used in the event.toolType(ReportingTurnToolCall.ToolTypeEnum toolType) Represents the type of tool used in the event.toString()
-
Constructor Details
-
ReportingTurnToolCall
public ReportingTurnToolCall() -
ReportingTurnToolCall
-
-
Method Details
-
toolId
Represents the identifier of the tool called. -
getToolId
-
setToolId
-
toolName
Represents the name of the tool used in the event. -
getToolName
-
setToolName
-
toolType
Represents the type of tool used in the event. -
getToolType
-
setToolType
-
targetId
Represents the identifier of the target that the tool is using. -
getTargetId
-
setTargetId
-
status
Represents whether the tool call was successful or not. -
getStatus
-
setStatus
-
errorText
Represents the error returned by the tool in the event of a failure. -
getErrorText
-
setErrorText
-
dateInvoked
Represents the starting time of the tool call. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateInvoked
-
setDateInvoked
-
latencyMs
Represents the time it took the tool call to execute. -
getLatencyMs
-
setLatencyMs
-
origin
Represents the origin of the tool call. -
getOrigin
-
setOrigin
-
knowledgeMetadata
Represents various metadata of knowledge calls used by the tool if the tool is configured to use knowledge. -
getKnowledgeMetadata
-
setKnowledgeMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-