Package com.anthropic.models.messages
Class CitationsDelta
-
- All Implemented Interfaces:
public final class CitationsDelta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCitationsDelta.BuilderA builder for CitationsDelta.
public final classCitationsDelta.Citation
-
Method Summary
Modifier and Type Method Description final CitationsDelta.Citationcitation()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("citations_delta")final JsonField<CitationsDelta.Citation>_citation()Returns the raw JSON value of citation. final Map<String, JsonValue>_additionalProperties()final CitationsDelta.BuildertoBuilder()final CitationsDeltavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CitationsDelta.Builderbuilder()Returns a mutable builder for constructing an instance of CitationsDelta. -
-
Method Detail
-
citation
final CitationsDelta.Citation citation()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("citations_delta")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_citation
final JsonField<CitationsDelta.Citation> _citation()
Returns the raw JSON value of citation.
Unlike citation, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CitationsDelta.Builder toBuilder()
-
validate
final CitationsDelta 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 CitationsDelta.Builder builder()
Returns a mutable builder for constructing an instance of CitationsDelta.
The following fields are required:
.citation()
-
-
-
-