Class V1VerifyResponse.Citation.Builder
-
- All Implemented Interfaces:
public final class V1VerifyResponse.Citation.BuilderA builder for Citation.
-
-
Method Summary
-
-
Method Detail
-
candidates
final V1VerifyResponse.Citation.Builder candidates(List<V1VerifyResponse.Citation.Candidate> candidates)
Multiple candidates (when multiple_matches or heuristic verification)
-
candidates
final V1VerifyResponse.Citation.Builder candidates(JsonField<List<V1VerifyResponse.Citation.Candidate>> candidates)
Sets Builder.candidates to an arbitrary JSON value.
You should usually call Builder.candidates with a well-typed
List<Candidate>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addCandidate
final V1VerifyResponse.Citation.Builder addCandidate(V1VerifyResponse.Citation.Candidate candidate)
Adds a single Candidate to candidates.
-
case_
final V1VerifyResponse.Citation.Builder case_(V1VerifyResponse.Citation.Case case_)
Case metadata (when verified)
-
case_
final V1VerifyResponse.Citation.Builder case_(JsonField<V1VerifyResponse.Citation.Case> case_)
Sets Builder.case_ to an arbitrary JSON value.
You should usually call Builder.case_ with a well-typed Case value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
confidence
final V1VerifyResponse.Citation.Builder confidence(Double confidence)
Confidence score (1.0 for CourtListener, heuristic score for fallback).
-
confidence
final V1VerifyResponse.Citation.Builder confidence(JsonField<Double> confidence)
Sets Builder.confidence to an arbitrary JSON value.
You should usually call Builder.confidence with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
normalized
final V1VerifyResponse.Citation.Builder normalized(String normalized)
Normalized citation string
-
normalized
final V1VerifyResponse.Citation.Builder normalized(JsonField<String> normalized)
Sets Builder.normalized to an arbitrary JSON value.
You should usually call Builder.normalized with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
original
final V1VerifyResponse.Citation.Builder original(String original)
Original citation as found in text
-
original
final V1VerifyResponse.Citation.Builder original(JsonField<String> original)
Sets Builder.original to an arbitrary JSON value.
You should usually call Builder.original with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
span
final V1VerifyResponse.Citation.Builder span(V1VerifyResponse.Citation.Span span)
-
span
final V1VerifyResponse.Citation.Builder span(JsonField<V1VerifyResponse.Citation.Span> span)
Sets Builder.span to an arbitrary JSON value.
You should usually call Builder.span with a well-typed Span value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
status
final V1VerifyResponse.Citation.Builder status(V1VerifyResponse.Citation.Status status)
-
status
final V1VerifyResponse.Citation.Builder status(JsonField<V1VerifyResponse.Citation.Status> status)
Sets Builder.status to an arbitrary JSON value.
You should usually call Builder.status with a well-typed Status value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
verificationSource
final V1VerifyResponse.Citation.Builder verificationSource(V1VerifyResponse.Citation.VerificationSource verificationSource)
Source of verification result (heuristic for fallback matches).
-
verificationSource
final V1VerifyResponse.Citation.Builder verificationSource(JsonField<V1VerifyResponse.Citation.VerificationSource> verificationSource)
Sets Builder.verificationSource to an arbitrary JSON value.
You should usually call Builder.verificationSource with a well-typed VerificationSource value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final V1VerifyResponse.Citation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final V1VerifyResponse.Citation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final V1VerifyResponse.Citation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final V1VerifyResponse.Citation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final V1VerifyResponse.Citation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final V1VerifyResponse.Citation build()
Returns an immutable instance of Citation.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-