Package com.anthropic.models
Class RampLimitExceededErrorDetails
-
- All Implemented Interfaces:
public final class RampLimitExceededErrorDetailsThe request would exceed a ramp limit, which caps how fast usage can grow. Retry after the time in the
retry-afterheader.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRampLimitExceededErrorDetails.BuilderA builder for RampLimitExceededErrorDetails.
-
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("ramp_limit_exceeded")final Map<String, JsonValue>_additionalProperties()final RampLimitExceededErrorDetails.BuildertoBuilder()final RampLimitExceededErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RampLimitExceededErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of RampLimitExceededErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("ramp_limit_exceeded")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 RampLimitExceededErrorDetails.Builder toBuilder()
-
validate
final RampLimitExceededErrorDetails 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 RampLimitExceededErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of RampLimitExceededErrorDetails.
-
-
-
-