Class BetaSpendLimitScopedApiKeyActor
-
- All Implemented Interfaces:
public final class BetaSpendLimitScopedApiKeyActorA scoped Admin API key acting on behalf of the organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSpendLimitScopedApiKeyActor.BuilderA builder for BetaSpendLimitScopedApiKeyActor.
-
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 BetaSpendLimitScopedApiKeyActor.BuildertoBuilder()final BetaSpendLimitScopedApiKeyActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSpendLimitScopedApiKeyActor.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSpendLimitScopedApiKeyActor. final static BetaSpendLimitScopedApiKeyActorof(String scopedApiKeyId)Returns an immutable instance of BetaSpendLimitScopedApiKeyActor 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 BetaSpendLimitScopedApiKeyActor.Builder toBuilder()
-
validate
final BetaSpendLimitScopedApiKeyActor 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 BetaSpendLimitScopedApiKeyActor.Builder builder()
Returns a mutable builder for constructing an instance of BetaSpendLimitScopedApiKeyActor.
The following fields are required:
.scopedApiKeyId()
-
of
final static BetaSpendLimitScopedApiKeyActor of(String scopedApiKeyId)
Returns an immutable instance of BetaSpendLimitScopedApiKeyActor with the required scopedApiKeyId set to the given value.
-
-
-
-