Package com.anthropic.models
Interface BetaBase64PdfBlock.Source.Visitor
-
- All Implemented Interfaces:
public interface BetaBase64PdfBlock.Source.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitBetaBase64Pdf(BetaBase64PdfSource betaBase64Pdf)abstract TvisitBetaPlainText(BetaPlainTextSource betaPlainText)abstract TvisitBetaContentBlock(BetaContentBlockSource betaContentBlock)Tunknown(JsonValue json)Maps an unknown variant of Source to a value of type T. -
-
Method Detail
-
visitBetaBase64Pdf
abstract T visitBetaBase64Pdf(BetaBase64PdfSource betaBase64Pdf)
-
visitBetaPlainText
abstract T visitBetaPlainText(BetaPlainTextSource betaPlainText)
-
visitBetaContentBlock
abstract T visitBetaContentBlock(BetaContentBlockSource betaContentBlock)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Source to a value of type T.
An instance of Source can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-