Package dev.case.api.models.legal.v1
Class V1DraftParams.Length.Builder
-
- All Implemented Interfaces:
public final class V1DraftParams.Length.BuilderA builder for Length.
-
-
Method Summary
Modifier and Type Method Description final V1DraftParams.Length.Buildertarget(Double target)Target value (e.g. final V1DraftParams.Length.Buildertarget(JsonField<Double> target)Sets Builder.target to an arbitrary JSON value. final V1DraftParams.Length.Builderunit(V1DraftParams.Length.Unit unit)final V1DraftParams.Length.Builderunit(JsonField<V1DraftParams.Length.Unit> unit)Sets Builder.unit to an arbitrary JSON value. final V1DraftParams.Length.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final V1DraftParams.Length.BuilderputAdditionalProperty(String key, JsonValue value)final V1DraftParams.Length.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final V1DraftParams.Length.BuilderremoveAdditionalProperty(String key)final V1DraftParams.Length.BuilderremoveAllAdditionalProperties(Set<String> keys)final V1DraftParams.Lengthbuild()Returns an immutable instance of Length. -
-
Method Detail
-
target
final V1DraftParams.Length.Builder target(Double target)
Target value (e.g., 2000 words or 5 pages)
-
target
final V1DraftParams.Length.Builder target(JsonField<Double> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
unit
final V1DraftParams.Length.Builder unit(V1DraftParams.Length.Unit unit)
-
unit
final V1DraftParams.Length.Builder unit(JsonField<V1DraftParams.Length.Unit> unit)
Sets Builder.unit to an arbitrary JSON value.
You should usually call Builder.unit with a well-typed Unit value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1DraftParams.Length.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1DraftParams.Length.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1DraftParams.Length.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1DraftParams.Length.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1DraftParams.Length.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1DraftParams.Length build()
Returns an immutable instance of Length.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-