Interface BetaFallbackCreditUsage.Status.Visitor
-
- All Implemented Interfaces:
public interface BetaFallbackCreditUsage.Status.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitRedeemed(BetaFallbackCreditRedeemed redeemed)The reprice was applied: the retry is billed as if the conversation had been on the retry model all along. abstract TvisitNotApplied(BetaFallbackCreditNotApplied notApplied)No reprice was applied; `reason`says why.Tunknown(JsonValue json)Maps an unknown variant of Status to a value of type T. -
-
Method Detail
-
visitRedeemed
abstract T visitRedeemed(BetaFallbackCreditRedeemed redeemed)
The reprice was applied: the retry is billed as if the conversation had been on the retry model all along.
-
visitNotApplied
abstract T visitNotApplied(BetaFallbackCreditNotApplied notApplied)
No reprice was applied;
`reason`says why.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Status to a value of type T.
An instance of Status 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.
-
-
-
-