Interface BetaFallbackParam.Thinking.Visitor
-
- All Implemented Interfaces:
public interface BetaFallbackParam.Thinking.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitEnabled(BetaThinkingConfigEnabled enabled)abstract TvisitDisabled(BetaThinkingConfigDisabled disabled)abstract TvisitAdaptive(BetaThinkingConfigAdaptive adaptive)Tunknown(JsonValue json)Maps an unknown variant of Thinking to a value of type T. -
-
Method Detail
-
visitEnabled
abstract T visitEnabled(BetaThinkingConfigEnabled enabled)
-
visitDisabled
abstract T visitDisabled(BetaThinkingConfigDisabled disabled)
-
visitAdaptive
abstract T visitAdaptive(BetaThinkingConfigAdaptive adaptive)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Thinking to a value of type T.
An instance of Thinking 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.
-
-
-
-