Class V1VerifyResponse.Citation
-
- All Implemented Interfaces:
public final class V1VerifyResponse.Citation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1VerifyResponse.Citation.BuilderA builder for Citation.
public final classV1VerifyResponse.Citation.Candidatepublic final classV1VerifyResponse.Citation.CaseCase metadata (when verified)
public final classV1VerifyResponse.Citation.Spanpublic final classV1VerifyResponse.Citation.Statuspublic final classV1VerifyResponse.Citation.VerificationSourceSource of verification result (heuristic for fallback matches).
-
Method Summary
Modifier and Type Method Description final Optional<List<V1VerifyResponse.Citation.Candidate>>candidates()Multiple candidates (when multiple_matches or heuristic verification) final Optional<V1VerifyResponse.Citation.Case>case_()Case metadata (when verified) final Optional<Double>confidence()Confidence score (1.0 for CourtListener, heuristic score for fallback). final Optional<String>normalized()Normalized citation string final Optional<String>original()Original citation as found in text final Optional<V1VerifyResponse.Citation.Span>span()final Optional<V1VerifyResponse.Citation.Status>status()final Optional<V1VerifyResponse.Citation.VerificationSource>verificationSource()Source of verification result (heuristic for fallback matches). final JsonField<List<V1VerifyResponse.Citation.Candidate>>_candidates()Returns the raw JSON value of candidates. final JsonField<V1VerifyResponse.Citation.Case>_case_()Returns the raw JSON value of case_. final JsonField<Double>_confidence()Returns the raw JSON value of confidence. final JsonField<String>_normalized()Returns the raw JSON value of normalized. final JsonField<String>_original()Returns the raw JSON value of original. final JsonField<V1VerifyResponse.Citation.Span>_span()Returns the raw JSON value of span. final JsonField<V1VerifyResponse.Citation.Status>_status()Returns the raw JSON value of status. final JsonField<V1VerifyResponse.Citation.VerificationSource>_verificationSource()Returns the raw JSON value of verificationSource. final Map<String, JsonValue>_additionalProperties()final V1VerifyResponse.Citation.BuildertoBuilder()final V1VerifyResponse.Citationvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1VerifyResponse.Citation.Builderbuilder()Returns a mutable builder for constructing an instance of Citation. -
-
Method Detail
-
candidates
final Optional<List<V1VerifyResponse.Citation.Candidate>> candidates()
Multiple candidates (when multiple_matches or heuristic verification)
-
case_
final Optional<V1VerifyResponse.Citation.Case> case_()
Case metadata (when verified)
-
confidence
final Optional<Double> confidence()
Confidence score (1.0 for CourtListener, heuristic score for fallback).
-
normalized
final Optional<String> normalized()
Normalized citation string
-
span
final Optional<V1VerifyResponse.Citation.Span> span()
-
status
final Optional<V1VerifyResponse.Citation.Status> status()
-
verificationSource
final Optional<V1VerifyResponse.Citation.VerificationSource> verificationSource()
Source of verification result (heuristic for fallback matches).
-
_candidates
final JsonField<List<V1VerifyResponse.Citation.Candidate>> _candidates()
Returns the raw JSON value of candidates.
Unlike candidates, this method doesn't throw if the JSON field has an unexpected type.
-
_case_
final JsonField<V1VerifyResponse.Citation.Case> _case_()
Returns the raw JSON value of case_.
Unlike case_, this method doesn't throw if the JSON field has an unexpected type.
-
_confidence
final JsonField<Double> _confidence()
Returns the raw JSON value of confidence.
Unlike confidence, this method doesn't throw if the JSON field has an unexpected type.
-
_normalized
final JsonField<String> _normalized()
Returns the raw JSON value of normalized.
Unlike normalized, this method doesn't throw if the JSON field has an unexpected type.
-
_original
final JsonField<String> _original()
Returns the raw JSON value of original.
Unlike original, this method doesn't throw if the JSON field has an unexpected type.
-
_span
final JsonField<V1VerifyResponse.Citation.Span> _span()
Returns the raw JSON value of span.
Unlike span, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<V1VerifyResponse.Citation.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_verificationSource
final JsonField<V1VerifyResponse.Citation.VerificationSource> _verificationSource()
Returns the raw JSON value of verificationSource.
Unlike verificationSource, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1VerifyResponse.Citation.Builder toBuilder()
-
validate
final V1VerifyResponse.Citation 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 V1VerifyResponse.Citation.Builder builder()
Returns a mutable builder for constructing an instance of Citation.
-
-
-
-