Class V1ResearchParams.Body
-
- All Implemented Interfaces:
public final class V1ResearchParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1ResearchParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringquery()Primary search query final Optional<List<String>>additionalQueries()Additional query variations to search (e.g. final Optional<String>jurisdiction()Optional jurisdiction ID from resolveJurisdiction final Optional<Long>numResults()Number of results 1-25 (default: 10) final JsonField<String>_query()Returns the raw JSON value of query. final JsonField<List<String>>_additionalQueries()Returns the raw JSON value of additionalQueries. final JsonField<String>_jurisdiction()Returns the raw JSON value of jurisdiction. final JsonField<Long>_numResults()Returns the raw JSON value of numResults. final Map<String, JsonValue>_additionalProperties()final V1ResearchParams.Body.BuildertoBuilder()final V1ResearchParams.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 V1ResearchParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
additionalQueries
final Optional<List<String>> additionalQueries()
Additional query variations to search (e.g., different phrasings of the legal issue)
-
jurisdiction
final Optional<String> jurisdiction()
Optional jurisdiction ID from resolveJurisdiction
-
numResults
final Optional<Long> numResults()
Number of results 1-25 (default: 10)
-
_query
final JsonField<String> _query()
Returns the raw JSON value of query.
Unlike query, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalQueries
final JsonField<List<String>> _additionalQueries()
Returns the raw JSON value of additionalQueries.
Unlike additionalQueries, 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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1ResearchParams.Body.Builder toBuilder()
-
validate
final V1ResearchParams.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 V1ResearchParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.query()
-
-
-
-