Package com.anthropic.models
Class ContractSpendLimitReachedErrorDetails
-
- All Implemented Interfaces:
public final class ContractSpendLimitReachedErrorDetailsThe organization has reached the spend limit of its contract.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContractSpendLimitReachedErrorDetails.BuilderA builder for ContractSpendLimitReachedErrorDetails.
-
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("contract_spend_limit_reached")final Map<String, JsonValue>_additionalProperties()final ContractSpendLimitReachedErrorDetails.BuildertoBuilder()final ContractSpendLimitReachedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContractSpendLimitReachedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ContractSpendLimitReachedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("contract_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 ContractSpendLimitReachedErrorDetails.Builder toBuilder()
-
validate
final ContractSpendLimitReachedErrorDetails 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 ContractSpendLimitReachedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of ContractSpendLimitReachedErrorDetails.
-
-
-
-