Class V1DraftParams.Body
-
- All Implemented Interfaces:
public final class V1DraftParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1DraftParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringinstructions()What to draft — the core task. final StringvaultId()Vault ID where the final document will be uploaded final Optional<Boolean>citations()Research and include legal citations final Optional<String>format()Court or jurisdiction formatting hint. final Optional<V1DraftParams.Length>length()Target document length final Optional<String>model()LLM model override. final Optional<List<String>>objectIds()Vault object IDs to use as source/reference documents final Optional<String>outputName()Filename for the output document. final Optional<V1DraftParams.OutputType>outputType()Output file format final Optional<Boolean>verified()Verify all citations in a loop — re-run verification and repair bad citations until they pass final JsonField<String>_instructions()Returns the raw JSON value of instructions. final JsonField<String>_vaultId()Returns the raw JSON value of vaultId. final JsonField<Boolean>_citations()Returns the raw JSON value of citations. final JsonField<String>_format()Returns the raw JSON value of format. final JsonField<V1DraftParams.Length>_length()Returns the raw JSON value of length. final JsonField<String>_model()Returns the raw JSON value of model. final JsonField<List<String>>_objectIds()Returns the raw JSON value of objectIds. final JsonField<String>_outputName()Returns the raw JSON value of outputName. final JsonField<V1DraftParams.OutputType>_outputType()Returns the raw JSON value of outputType. final JsonField<Boolean>_verified()Returns the raw JSON value of verified. final Map<String, JsonValue>_additionalProperties()final V1DraftParams.Body.BuildertoBuilder()final V1DraftParams.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 V1DraftParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
instructions
final String instructions()
What to draft — the core task. E.g., "Motion to compel defendant to produce discovery responses"
-
format
final Optional<String> format()
Court or jurisdiction formatting hint. Triggers a legal-skills search. E.g., "California Superior Court", "SDNY", "federal pleading"
-
length
final Optional<V1DraftParams.Length> length()
Target document length
-
objectIds
final Optional<List<String>> objectIds()
Vault object IDs to use as source/reference documents
-
outputName
final Optional<String> outputName()
Filename for the output document. Auto-generated if omitted.
-
outputType
final Optional<V1DraftParams.OutputType> outputType()
Output file format
-
verified
final Optional<Boolean> verified()
Verify all citations in a loop — re-run verification and repair bad citations until they pass
-
_instructions
final JsonField<String> _instructions()
Returns the raw JSON value of instructions.
Unlike instructions, this method doesn't throw if the JSON field has an unexpected type.
-
_vaultId
final JsonField<String> _vaultId()
Returns the raw JSON value of vaultId.
Unlike vaultId, this method doesn't throw if the JSON field has an unexpected type.
-
_citations
final JsonField<Boolean> _citations()
Returns the raw JSON value of citations.
Unlike citations, this method doesn't throw if the JSON field has an unexpected type.
-
_format
final JsonField<String> _format()
Returns the raw JSON value of format.
Unlike format, this method doesn't throw if the JSON field has an unexpected type.
-
_length
final JsonField<V1DraftParams.Length> _length()
Returns the raw JSON value of length.
Unlike length, this method doesn't throw if the JSON field has an unexpected type.
-
_model
final JsonField<String> _model()
Returns the raw JSON value of model.
Unlike model, this method doesn't throw if the JSON field has an unexpected type.
-
_objectIds
final JsonField<List<String>> _objectIds()
Returns the raw JSON value of objectIds.
Unlike objectIds, this method doesn't throw if the JSON field has an unexpected type.
-
_outputName
final JsonField<String> _outputName()
Returns the raw JSON value of outputName.
Unlike outputName, this method doesn't throw if the JSON field has an unexpected type.
-
_outputType
final JsonField<V1DraftParams.OutputType> _outputType()
Returns the raw JSON value of outputType.
Unlike outputType, this method doesn't throw if the JSON field has an unexpected type.
-
_verified
final JsonField<Boolean> _verified()
Returns the raw JSON value of verified.
Unlike verified, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1DraftParams.Body.Builder toBuilder()
-
validate
final V1DraftParams.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 V1DraftParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.instructions() .vaultId()
-
-
-
-