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