Class V1SimilarParams.Body
-
- All Implemented Interfaces:
public final class V1SimilarParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1SimilarParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringurl()URL of a legal document to find similar sources for final Optional<String>jurisdiction()Optional jurisdiction ID to filter results final Optional<Long>numResults()Number of results 1-25 (default: 10) final Optional<LocalDate>startPublishedDate()Optional ISO date to find only newer documents (e.g. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_jurisdiction()Returns the raw JSON value of jurisdiction. final JsonField<Long>_numResults()Returns the raw JSON value of numResults. final JsonField<LocalDate>_startPublishedDate()Returns the raw JSON value of startPublishedDate. final Map<String, JsonValue>_additionalProperties()final V1SimilarParams.Body.BuildertoBuilder()final V1SimilarParams.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 V1SimilarParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
jurisdiction
final Optional<String> jurisdiction()
Optional jurisdiction ID to filter results
-
numResults
final Optional<Long> numResults()
Number of results 1-25 (default: 10)
-
startPublishedDate
final Optional<LocalDate> startPublishedDate()
Optional ISO date to find only newer documents (e.g., "2020-01-01")
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_jurisdiction
final JsonField<String> _jurisdiction()
Returns the raw JSON value of jurisdiction.
Unlike jurisdiction, this method doesn't throw if the JSON field has an unexpected type.
-
_numResults
final JsonField<Long> _numResults()
Returns the raw JSON value of numResults.
Unlike numResults, this method doesn't throw if the JSON field has an unexpected type.
-
_startPublishedDate
final JsonField<LocalDate> _startPublishedDate()
Returns the raw JSON value of startPublishedDate.
Unlike startPublishedDate, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1SimilarParams.Body.Builder toBuilder()
-
validate
final V1SimilarParams.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 V1SimilarParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.url()
-
-
-
-