Class V1ResearchResponse.Candidate
-
- All Implemented Interfaces:
public final class V1ResearchResponse.Candidate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1ResearchResponse.Candidate.BuilderA builder for Candidate.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>highlights()Highlighted relevant passages final Optional<String>publishedDate()Publication date 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<List<String>>_highlights()Returns the raw JSON value of highlights. final JsonField<String>_publishedDate()Returns the raw JSON value of publishedDate. 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 V1ResearchResponse.Candidate.BuildertoBuilder()final V1ResearchResponse.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 V1ResearchResponse.Candidate.Builderbuilder()Returns a mutable builder for constructing an instance of Candidate. -
-
Method Detail
-
highlights
final Optional<List<String>> highlights()
Highlighted relevant passages
-
publishedDate
final Optional<String> publishedDate()
Publication date
-
_highlights
final JsonField<List<String>> _highlights()
Returns the raw JSON value of highlights.
Unlike highlights, this method doesn't throw if the JSON field has an unexpected type.
-
_publishedDate
final JsonField<String> _publishedDate()
Returns the raw JSON value of publishedDate.
Unlike publishedDate, this method doesn't throw if the JSON field has an unexpected type.
-
_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 V1ResearchResponse.Candidate.Builder toBuilder()
-
validate
final V1ResearchResponse.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 V1ResearchResponse.Candidate.Builder builder()
Returns a mutable builder for constructing an instance of Candidate.
-
-
-
-