Class OrganizationOnHoldErrorDetails
-
- All Implemented Interfaces:
public final class OrganizationOnHoldErrorDetailsAnthropic has disabled the organization for trust and safety reasons. An organization disabled for any other reason, such as billing, does not get this code.
appeal_url, when present, is where the organization can appeal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationOnHoldErrorDetails.BuilderA builder for OrganizationOnHoldErrorDetails.
-
Method Summary
Modifier and Type Method Description final Optional<String>appealUrl()final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("organization_on_hold")final JsonField<String>_appealUrl()Returns the raw JSON value of appealUrl. final Map<String, JsonValue>_additionalProperties()final OrganizationOnHoldErrorDetails.BuildertoBuilder()final OrganizationOnHoldErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationOnHoldErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationOnHoldErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("organization_on_hold")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_appealUrl
final JsonField<String> _appealUrl()
Returns the raw JSON value of appealUrl.
Unlike appealUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OrganizationOnHoldErrorDetails.Builder toBuilder()
-
validate
final OrganizationOnHoldErrorDetails 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 OrganizationOnHoldErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationOnHoldErrorDetails.
-
-
-
-