Class ChatSessionWorkflowParam
-
- All Implemented Interfaces:
public final class ChatSessionWorkflowParam
Workflow reference and overrides applied to the chat session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatSessionWorkflowParam.Builder
A builder for ChatSessionWorkflowParam.
public final class
ChatSessionWorkflowParam.StateVariables
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
public final class
ChatSessionWorkflowParam.Tracing
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.
-
Method Summary
Modifier and Type Method Description final String
id()
Identifier for the workflow invoked by the session. final Optional<ChatSessionWorkflowParam.StateVariables>
stateVariables()
State variables forwarded to the workflow. final Optional<ChatSessionWorkflowParam.Tracing>
tracing()
Optional tracing overrides for the workflow invocation. final Optional<String>
version()
Specific workflow version to run. final JsonField<String>
_id()
Returns the raw JSON value of id. final JsonField<ChatSessionWorkflowParam.StateVariables>
_stateVariables()
Returns the raw JSON value of stateVariables. final JsonField<ChatSessionWorkflowParam.Tracing>
_tracing()
Returns the raw JSON value of tracing. final JsonField<String>
_version()
Returns the raw JSON value of version. final Map<String, JsonValue>
_additionalProperties()
final ChatSessionWorkflowParam.Builder
toBuilder()
final ChatSessionWorkflowParam
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatSessionWorkflowParam.Builder
builder()
Returns a mutable builder for constructing an instance of ChatSessionWorkflowParam. -
-
Method Detail
-
stateVariables
final Optional<ChatSessionWorkflowParam.StateVariables> stateVariables()
State variables forwarded to the workflow. Keys may be up to 64 characters, values must be primitive types, and the map defaults to an empty object.
-
tracing
final Optional<ChatSessionWorkflowParam.Tracing> tracing()
Optional tracing overrides for the workflow invocation. When omitted, tracing is enabled by default.
-
version
final Optional<String> version()
Specific workflow version to run. Defaults to the latest deployed version.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_stateVariables
final JsonField<ChatSessionWorkflowParam.StateVariables> _stateVariables()
Returns the raw JSON value of stateVariables.
Unlike stateVariables, this method doesn't throw if the JSON field has an unexpected type.
-
_tracing
final JsonField<ChatSessionWorkflowParam.Tracing> _tracing()
Returns the raw JSON value of tracing.
Unlike tracing, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatSessionWorkflowParam.Builder toBuilder()
-
validate
final ChatSessionWorkflowParam validate()
-
builder
final static ChatSessionWorkflowParam.Builder builder()
Returns a mutable builder for constructing an instance of ChatSessionWorkflowParam.
The following fields are required:
.id()
-
-
-
-