Interface BetaSpendLimitIncreaseRequestResolvedBy.Visitor
-
- All Implemented Interfaces:
public interface BetaSpendLimitIncreaseRequestResolvedBy.Visitor<T extends Object>An interface that defines how to map each variant of BetaSpendLimitIncreaseRequestResolvedBy to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitUserActor(BetaSpendLimitUserActor userActor)A user within the organization. abstract TvisitScopedApiKeyActor(BetaSpendLimitScopedApiKeyActor scopedApiKeyActor)A scoped Admin API key acting on behalf of the organization. Tunknown(JsonValue json)Maps an unknown variant of BetaSpendLimitIncreaseRequestResolvedBy to a value of type T. -
-
Method Detail
-
visitUserActor
abstract T visitUserActor(BetaSpendLimitUserActor userActor)
A user within the organization.
nameandemail_addressare null when the underlying account is unavailable or has been deleted;deletedis true only for deleted accounts.
-
visitScopedApiKeyActor
abstract T visitScopedApiKeyActor(BetaSpendLimitScopedApiKeyActor scopedApiKeyActor)
A scoped Admin API key acting on behalf of the organization.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaSpendLimitIncreaseRequestResolvedBy to a value of type T.
An instance of BetaSpendLimitIncreaseRequestResolvedBy 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.
-
-
-
-