Package com.mypurecloud.sdk.v2.model
Class AgenticVirtualAgentTypeDefinition
java.lang.Object
com.mypurecloud.sdk.v2.model.AgenticVirtualAgentTypeDefinition
- All Implemented Interfaces:
Serializable
Type definition used by a virtual agent. The applicable fields depend on the type value and related fields.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIntended direction of use for this type.static enumType value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAllowed enum values.defaultInstruction(String defaultInstruction) Default instruction for how the virtual agent should handle this error type when a tool references it without its own error instruction.description(String description) Additional context that helps the virtual agent understand what this type is used for.Intended direction of use for this type.booleangetEnum()getItems()getName()getType()inthashCode()Type of items in this array type.Type name.properties(List<AgenticVirtualAgentPropertyDefinition> properties) Properties of this object type.voidsetDefaultInstruction(String defaultInstruction) voidsetDescription(String description) voidvoidvoidvoidvoidsetProperties(List<AgenticVirtualAgentPropertyDefinition> properties) voidsetStatusCodes(List<Integer> statusCodes) voidvoidsetUndisclosed(Boolean undisclosed) voidsetUserUtteranceSubstring(Boolean userUtteranceSubstring) statusCodes(List<Integer> statusCodes) HTTP 4xx or 5xx status codes this error type can handle.toString()Type value.undisclosed(Boolean undisclosed) Whether values of this string type are hidden from the virtual agent and represented as opaque identifiers.userUtteranceSubstring(Boolean userUtteranceSubstring) Whether values of this string type must be copied as a contiguous substring from recent user messages.
-
Constructor Details
-
AgenticVirtualAgentTypeDefinition
public AgenticVirtualAgentTypeDefinition() -
AgenticVirtualAgentTypeDefinition
-
-
Method Details
-
name
Type name. -
getName
-
setName
-
description
Additional context that helps the virtual agent understand what this type is used for. -
getDescription
-
setDescription
-
direction
public AgenticVirtualAgentTypeDefinition direction(AgenticVirtualAgentTypeDefinition.DirectionEnum direction) Intended direction of use for this type. -
getDirection
-
setDirection
-
type
Type value. The applicable fields depend on this value and related fields. -
getType
-
setType
-
userUtteranceSubstring
Whether values of this string type must be copied as a contiguous substring from recent user messages. -
getUserUtteranceSubstring
-
setUserUtteranceSubstring
-
undisclosed
Whether values of this string type are hidden from the virtual agent and represented as opaque identifiers. Only valid when type is string. -
getUndisclosed
-
setUndisclosed
-
properties
public AgenticVirtualAgentTypeDefinition properties(List<AgenticVirtualAgentPropertyDefinition> properties) Properties of this object type. Applies when type is object. -
getProperties
-
setProperties
-
items
Type of items in this array type. Applies when type is array. -
getItems
-
setItems
-
statusCodes
HTTP 4xx or 5xx status codes this error type can handle. Applies when type is DataActionHttpError. -
getStatusCodes
-
setStatusCodes
-
defaultInstruction
Default instruction for how the virtual agent should handle this error type when a tool references it without its own error instruction. Applies when type is DataActionHttpError. -
getDefaultInstruction
-
setDefaultInstruction
-
_enum
Allowed enum values. Applies to enum types. -
getEnum
-
setEnum
-
equals
-
hashCode
public int hashCode() -
toString
-