Package com.anthropic.models
Class EnforcedSpendLimitReachedErrorDetails
-
- All Implemented Interfaces:
public final class EnforcedSpendLimitReachedErrorDetailsThe organization has crossed the monthly API usage threshold of its API tier.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEnforcedSpendLimitReachedErrorDetails.BuilderA builder for EnforcedSpendLimitReachedErrorDetails.
-
Method Summary
Modifier and Type Method Description final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("enforced_spend_limit_reached")final Map<String, JsonValue>_additionalProperties()final EnforcedSpendLimitReachedErrorDetails.BuildertoBuilder()final EnforcedSpendLimitReachedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EnforcedSpendLimitReachedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of EnforcedSpendLimitReachedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("enforced_spend_limit_reached")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EnforcedSpendLimitReachedErrorDetails.Builder toBuilder()
-
validate
final EnforcedSpendLimitReachedErrorDetails 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 EnforcedSpendLimitReachedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of EnforcedSpendLimitReachedErrorDetails.
-
-
-
-