Package com.anthropic.models
Class BetaToolUnion
-
- All Implemented Interfaces:
public final class BetaToolUnion
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBetaToolUnion.VisitorAn interface that defines how to map each variant of BetaToolUnion to a value of type T.
-
Method Summary
-
-
Method Detail
-
computerUse20241022
final Optional<BetaToolComputerUse20241022> computerUse20241022()
-
bash20241022
final Optional<BetaToolBash20241022> bash20241022()
-
textEditor20241022
final Optional<BetaToolTextEditor20241022> textEditor20241022()
-
isBetaTool
final Boolean isBetaTool()
-
isComputerUse20241022
final Boolean isComputerUse20241022()
-
isBash20241022
final Boolean isBash20241022()
-
isTextEditor20241022
final Boolean isTextEditor20241022()
-
asBetaTool
final BetaTool asBetaTool()
-
asComputerUse20241022
final BetaToolComputerUse20241022 asComputerUse20241022()
-
asBash20241022
final BetaToolBash20241022 asBash20241022()
-
asTextEditor20241022
final BetaToolTextEditor20241022 asTextEditor20241022()
-
accept
final <T extends Any> T accept(BetaToolUnion.Visitor<T> visitor)
-
validate
final BetaToolUnion validate()
-
ofBetaTool
final static BetaToolUnion ofBetaTool(BetaTool betaTool)
-
ofComputerUse20241022
final static BetaToolUnion ofComputerUse20241022(BetaToolComputerUse20241022 computerUse20241022)
-
ofBash20241022
final static BetaToolUnion ofBash20241022(BetaToolBash20241022 bash20241022)
-
ofTextEditor20241022
final static BetaToolUnion ofTextEditor20241022(BetaToolTextEditor20241022 textEditor20241022)
-
-
-
-