Package com.anthropic.models
Class LinkedOrganizationSpendLimitReachedErrorDetails
-
- All Implemented Interfaces:
public final class LinkedOrganizationSpendLimitReachedErrorDetailsThe organization linked to the request's user profile has reached a spend limit that it set, or lacks credit for the request. The response does not say which applies.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classLinkedOrganizationSpendLimitReachedErrorDetails.BuilderA builder for LinkedOrganizationSpendLimitReachedErrorDetails.
-
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("linked_organization_spend_limit_reached")final Map<String, JsonValue>_additionalProperties()final LinkedOrganizationSpendLimitReachedErrorDetails.BuildertoBuilder()final LinkedOrganizationSpendLimitReachedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static LinkedOrganizationSpendLimitReachedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of LinkedOrganizationSpendLimitReachedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("linked_organization_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 LinkedOrganizationSpendLimitReachedErrorDetails.Builder toBuilder()
-
validate
final LinkedOrganizationSpendLimitReachedErrorDetails 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 LinkedOrganizationSpendLimitReachedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of LinkedOrganizationSpendLimitReachedErrorDetails.
-
-
-
-