Package dev.case.api.models.legal.v1
Class V1FindResponse.Candidate
-
- All Implemented Interfaces:
public final class V1FindResponse.Candidate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1FindResponse.Candidate.BuilderA builder for Candidate.
-
Method Summary
Modifier and Type Method Description final Optional<String>snippet()Text excerpt from the document final Optional<String>source()Domain of the source final Optional<String>title()Title of the document final Optional<String>url()URL of the legal source final JsonField<String>_snippet()Returns the raw JSON value of snippet. final JsonField<String>_source()Returns the raw JSON value of source. final JsonField<String>_title()Returns the raw JSON value of title. final JsonField<String>_url()Returns the raw JSON value of url. final Map<String, JsonValue>_additionalProperties()final V1FindResponse.Candidate.BuildertoBuilder()final V1FindResponse.Candidatevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1FindResponse.Candidate.Builderbuilder()Returns a mutable builder for constructing an instance of Candidate. -
-
Method Detail
-
_snippet
final JsonField<String> _snippet()
Returns the raw JSON value of snippet.
Unlike snippet, this method doesn't throw if the JSON field has an unexpected type.
-
_source
final JsonField<String> _source()
Returns the raw JSON value of source.
Unlike source, this method doesn't throw if the JSON field has an unexpected type.
-
_title
final JsonField<String> _title()
Returns the raw JSON value of title.
Unlike title, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1FindResponse.Candidate.Builder toBuilder()
-
validate
final V1FindResponse.Candidate 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 V1FindResponse.Candidate.Builder builder()
Returns a mutable builder for constructing an instance of Candidate.
-
-
-
-