Interface SpendLimitIncreaseRequestResolvedBy.Visitor
-
- All Implemented Interfaces:
public interface SpendLimitIncreaseRequestResolvedBy.Visitor<T extends Object>An interface that defines how to map each variant of SpendLimitIncreaseRequestResolvedBy to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitUserActor(SpendLimitUserActor userActor)A user within the organization. abstract TvisitScopedApiKeyActor(SpendLimitScopedApiKeyActor scopedApiKeyActor)A scoped Admin API key acting on behalf of the organization. Tunknown(JsonValue json)Maps an unknown variant of SpendLimitIncreaseRequestResolvedBy to a value of type T. -
-
Method Detail
-
visitUserActor
abstract T visitUserActor(SpendLimitUserActor 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(SpendLimitScopedApiKeyActor scopedApiKeyActor)
A scoped Admin API key acting on behalf of the organization.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of SpendLimitIncreaseRequestResolvedBy to a value of type T.
An instance of SpendLimitIncreaseRequestResolvedBy 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.
-
-
-
-