Package com.anthropic.models
Class CitationsDelta.Citation
-
- All Implemented Interfaces:
public final class CitationsDelta.Citation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCitationsDelta.Citation.VisitorAn interface that defines how to map each variant of Citation to a value of type T.
-
Method Summary
Modifier and Type Method Description final Optional<CitationCharLocation>charLocation()final Optional<CitationPageLocation>pageLocation()final Optional<CitationContentBlockLocation>contentBlockLocation()final BooleanisCharLocation()final BooleanisPageLocation()final BooleanisContentBlockLocation()final CitationCharLocationasCharLocation()final CitationPageLocationasPageLocation()final CitationContentBlockLocationasContentBlockLocation()final Optional<JsonValue>_json()final <T extends Any> Taccept(CitationsDelta.Citation.Visitor<T> visitor)final CitationsDelta.Citationvalidate()Booleanequals(Object other)IntegerhashCode()StringtoString()final static CitationsDelta.CitationofCharLocation(CitationCharLocation charLocation)final static CitationsDelta.CitationofPageLocation(CitationPageLocation pageLocation)final static CitationsDelta.CitationofContentBlockLocation(CitationContentBlockLocation contentBlockLocation)-
-
Method Detail
-
charLocation
final Optional<CitationCharLocation> charLocation()
-
pageLocation
final Optional<CitationPageLocation> pageLocation()
-
contentBlockLocation
final Optional<CitationContentBlockLocation> contentBlockLocation()
-
isCharLocation
final Boolean isCharLocation()
-
isPageLocation
final Boolean isPageLocation()
-
isContentBlockLocation
final Boolean isContentBlockLocation()
-
asCharLocation
final CitationCharLocation asCharLocation()
-
asPageLocation
final CitationPageLocation asPageLocation()
-
asContentBlockLocation
final CitationContentBlockLocation asContentBlockLocation()
-
accept
final <T extends Any> T accept(CitationsDelta.Citation.Visitor<T> visitor)
-
validate
final CitationsDelta.Citation validate()
-
ofCharLocation
final static CitationsDelta.Citation ofCharLocation(CitationCharLocation charLocation)
-
ofPageLocation
final static CitationsDelta.Citation ofPageLocation(CitationPageLocation pageLocation)
-
ofContentBlockLocation
final static CitationsDelta.Citation ofContentBlockLocation(CitationContentBlockLocation contentBlockLocation)
-
-
-
-