Class SessionActParams.Body
-
- All Implemented Interfaces:
public final class SessionActParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionActParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final SessionActParams.Inputinput()Natural language instruction or Action object final Optional<String>frameId()Target frame ID for the action final Optional<SessionActParams.Options>options()final JsonField<SessionActParams.Input>_input()Returns the raw JSON value of input. final JsonField<String>_frameId()Returns the raw JSON value of frameId. final JsonField<SessionActParams.Options>_options()Returns the raw JSON value of options. final Map<String, JsonValue>_additionalProperties()final SessionActParams.Body.BuildertoBuilder()final SessionActParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionActParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
input
final SessionActParams.Input input()
Natural language instruction or Action object
-
options
final Optional<SessionActParams.Options> options()
-
_input
final JsonField<SessionActParams.Input> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_frameId
final JsonField<String> _frameId()
Returns the raw JSON value of frameId.
Unlike frameId, this method doesn't throw if the JSON field has an unexpected type.
-
_options
final JsonField<SessionActParams.Options> _options()
Returns the raw JSON value of options.
Unlike options, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionActParams.Body.Builder toBuilder()
-
validate
final SessionActParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SessionActParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.input()
-
-
-
-