Package dev.case.api.models.legal.v1
Class V1DraftParams.Length
-
- All Implemented Interfaces:
public final class V1DraftParams.LengthTarget document length
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1DraftParams.Length.BuilderA builder for Length.
public final classV1DraftParams.Length.UnitWhether the target length is measured in words or pages
-
Method Summary
Modifier and Type Method Description final Optional<Double>target()Target value (e.g. final Optional<V1DraftParams.Length.Unit>unit()Whether the target length is measured in words or pages final JsonField<Double>_target()Returns the raw JSON value of target. final JsonField<V1DraftParams.Length.Unit>_unit()Returns the raw JSON value of unit. final Map<String, JsonValue>_additionalProperties()final V1DraftParams.Length.BuildertoBuilder()final V1DraftParams.Lengthvalidate()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.Length.Builderbuilder()Returns a mutable builder for constructing an instance of Length. -
-
Method Detail
-
unit
final Optional<V1DraftParams.Length.Unit> unit()
Whether the target length is measured in words or pages
-
_target
final JsonField<Double> _target()
Returns the raw JSON value of target.
Unlike target, this method doesn't throw if the JSON field has an unexpected type.
-
_unit
final JsonField<V1DraftParams.Length.Unit> _unit()
Returns the raw JSON value of unit.
Unlike unit, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1DraftParams.Length.Builder toBuilder()
-
validate
final V1DraftParams.Length 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.Length.Builder builder()
Returns a mutable builder for constructing an instance of Length.
-
-
-
-