Class SessionExtractParams.Body
-
- All Implemented Interfaces:
public final class SessionExtractParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExtractParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>frameId()Target frame ID for the extraction final Optional<String>instruction()Natural language instruction for what to extract final Optional<SessionExtractParams.Options>options()final Optional<SessionExtractParams.Schema>schema()JSON Schema defining the structure of data to extract final JsonField<String>_frameId()Returns the raw JSON value of frameId. final JsonField<String>_instruction()Returns the raw JSON value of instruction. final JsonField<SessionExtractParams.Options>_options()Returns the raw JSON value of options. final JsonField<SessionExtractParams.Schema>_schema()Returns the raw JSON value of schema. final Map<String, JsonValue>_additionalProperties()final SessionExtractParams.Body.BuildertoBuilder()final SessionExtractParams.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 SessionExtractParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
instruction
final Optional<String> instruction()
Natural language instruction for what to extract
-
options
final Optional<SessionExtractParams.Options> options()
-
schema
final Optional<SessionExtractParams.Schema> schema()
JSON Schema defining the structure of data to extract
-
_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.
-
_instruction
final JsonField<String> _instruction()
Returns the raw JSON value of instruction.
Unlike instruction, this method doesn't throw if the JSON field has an unexpected type.
-
_options
final JsonField<SessionExtractParams.Options> _options()
Returns the raw JSON value of options.
Unlike options, this method doesn't throw if the JSON field has an unexpected type.
-
_schema
final JsonField<SessionExtractParams.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExtractParams.Body.Builder toBuilder()
-
validate
final SessionExtractParams.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 SessionExtractParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-