Package com.anthropic.models
Class TextCitationParam
-
- All Implemented Interfaces:
public final class TextCitationParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTextCitationParam.VisitorAn interface that defines how to map each variant of TextCitationParam to a value of type T.
-
Method Summary
-
-
Method Detail
-
citationCharLocation
final Optional<CitationCharLocationParam> citationCharLocation()
-
citationPageLocation
final Optional<CitationPageLocationParam> citationPageLocation()
-
citationContentBlockLocation
final Optional<CitationContentBlockLocationParam> citationContentBlockLocation()
-
isCitationCharLocation
final Boolean isCitationCharLocation()
-
isCitationPageLocation
final Boolean isCitationPageLocation()
-
isCitationContentBlockLocation
final Boolean isCitationContentBlockLocation()
-
asCitationCharLocation
final CitationCharLocationParam asCitationCharLocation()
-
asCitationPageLocation
final CitationPageLocationParam asCitationPageLocation()
-
asCitationContentBlockLocation
final CitationContentBlockLocationParam asCitationContentBlockLocation()
-
accept
final <T extends Any> T accept(TextCitationParam.Visitor<T> visitor)
-
validate
final TextCitationParam validate()
-
ofCitationCharLocation
final static TextCitationParam ofCitationCharLocation(CitationCharLocationParam citationCharLocation)
-
ofCitationPageLocation
final static TextCitationParam ofCitationPageLocation(CitationPageLocationParam citationPageLocation)
-
ofCitationContentBlockLocation
final static TextCitationParam ofCitationContentBlockLocation(CitationContentBlockLocationParam citationContentBlockLocation)
-
-
-
-