Class SpendLimitScopedApiKeyActor
-
- All Implemented Interfaces:
public final class SpendLimitScopedApiKeyActorA scoped Admin API key acting on behalf of the organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendLimitScopedApiKeyActor.BuilderA builder for SpendLimitScopedApiKeyActor.
-
Method Summary
Modifier and Type Method Description final StringscopedApiKeyId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("scoped_api_key_actor")final JsonField<String>_scopedApiKeyId()Returns the raw JSON value of scopedApiKeyId. final Map<String, JsonValue>_additionalProperties()final SpendLimitScopedApiKeyActor.BuildertoBuilder()final SpendLimitScopedApiKeyActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpendLimitScopedApiKeyActor.Builderbuilder()Returns a mutable builder for constructing an instance of SpendLimitScopedApiKeyActor. final static SpendLimitScopedApiKeyActorof(String scopedApiKeyId)Returns an immutable instance of SpendLimitScopedApiKeyActor with the required scopedApiKeyId set to the given value. -
-
Method Detail
-
scopedApiKeyId
final String scopedApiKeyId()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("scoped_api_key_actor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_scopedApiKeyId
final JsonField<String> _scopedApiKeyId()
Returns the raw JSON value of scopedApiKeyId.
Unlike scopedApiKeyId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SpendLimitScopedApiKeyActor.Builder toBuilder()
-
validate
final SpendLimitScopedApiKeyActor validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SpendLimitScopedApiKeyActor.Builder builder()
Returns a mutable builder for constructing an instance of SpendLimitScopedApiKeyActor.
The following fields are required:
.scopedApiKeyId()
-
of
final static SpendLimitScopedApiKeyActor of(String scopedApiKeyId)
Returns an immutable instance of SpendLimitScopedApiKeyActor with the required scopedApiKeyId set to the given value.
-
-
-
-