Class V1GetCitationsResponse.Citation
-
- All Implemented Interfaces:
public final class V1GetCitationsResponse.Citation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1GetCitationsResponse.Citation.BuilderA builder for Citation.
public final classV1GetCitationsResponse.Citation.ComponentsStructured Bluebook components. Null if citation format is not recognized.
public final classV1GetCitationsResponse.Citation.Span
-
Method Summary
Modifier and Type Method Description final Optional<V1GetCitationsResponse.Citation.Components>components()Structured Bluebook components. final Optional<Boolean>found()Whether citation was found in CourtListener database final Optional<String>normalized()Normalized citation string final Optional<String>original()Original citation as found in text final Optional<V1GetCitationsResponse.Citation.Span>span()final JsonField<V1GetCitationsResponse.Citation.Components>_components()Returns the raw JSON value of components. final JsonField<Boolean>_found()Returns the raw JSON value of found. final JsonField<String>_normalized()Returns the raw JSON value of normalized. final JsonField<String>_original()Returns the raw JSON value of original. final JsonField<V1GetCitationsResponse.Citation.Span>_span()Returns the raw JSON value of span. final Map<String, JsonValue>_additionalProperties()final V1GetCitationsResponse.Citation.BuildertoBuilder()final V1GetCitationsResponse.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 V1GetCitationsResponse.Citation.Builderbuilder()Returns a mutable builder for constructing an instance of Citation. -
-
Method Detail
-
components
final Optional<V1GetCitationsResponse.Citation.Components> components()
Structured Bluebook components. Null if citation format is not recognized.
-
normalized
final Optional<String> normalized()
Normalized citation string
-
span
final Optional<V1GetCitationsResponse.Citation.Span> span()
-
_components
final JsonField<V1GetCitationsResponse.Citation.Components> _components()
Returns the raw JSON value of components.
Unlike components, this method doesn't throw if the JSON field has an unexpected type.
-
_found
final JsonField<Boolean> _found()
Returns the raw JSON value of found.
Unlike found, 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<V1GetCitationsResponse.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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1GetCitationsResponse.Citation.Builder toBuilder()
-
validate
final V1GetCitationsResponse.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 V1GetCitationsResponse.Citation.Builder builder()
Returns a mutable builder for constructing an instance of Citation.
-
-
-
-