Package dev.case.api.models.legal.v1
Class V1FindResponse
-
- All Implemented Interfaces:
public final class V1FindResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1FindResponse.BuilderA builder for V1FindResponse.
public final classV1FindResponse.Candidate
-
Method Summary
Modifier and Type Method Description final Optional<List<V1FindResponse.Candidate>>candidates()final Optional<Long>found()Number of candidates found final Optional<String>hint()Usage guidance final Optional<String>jurisdiction()Jurisdiction filter applied final Optional<String>query()Original search query final JsonField<List<V1FindResponse.Candidate>>_candidates()Returns the raw JSON value of candidates. final JsonField<Long>_found()Returns the raw JSON value of found. final JsonField<String>_hint()Returns the raw JSON value of hint. final JsonField<String>_jurisdiction()Returns the raw JSON value of jurisdiction. final JsonField<String>_query()Returns the raw JSON value of query. final Map<String, JsonValue>_additionalProperties()final V1FindResponse.BuildertoBuilder()final V1FindResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1FindResponse.Builderbuilder()Returns a mutable builder for constructing an instance of V1FindResponse. -
-
Method Detail
-
candidates
final Optional<List<V1FindResponse.Candidate>> candidates()
-
jurisdiction
final Optional<String> jurisdiction()
Jurisdiction filter applied
-
_candidates
final JsonField<List<V1FindResponse.Candidate>> _candidates()
Returns the raw JSON value of candidates.
Unlike candidates, this method doesn't throw if the JSON field has an unexpected type.
-
_found
final JsonField<Long> _found()
Returns the raw JSON value of found.
Unlike found, this method doesn't throw if the JSON field has an unexpected type.
-
_hint
final JsonField<String> _hint()
Returns the raw JSON value of hint.
Unlike hint, 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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1FindResponse.Builder toBuilder()
-
validate
final V1FindResponse validate()
-
builder
final static V1FindResponse.Builder builder()
Returns a mutable builder for constructing an instance of V1FindResponse.
-
-
-
-