Class ExternalKeyValidationFailedErrorDetails
-
- All Implemented Interfaces:
public final class ExternalKeyValidationFailedErrorDetailsThe External Key failed Anthropic's validation, so the request was refused. The message gives the reason, if there is one.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classExternalKeyValidationFailedErrorDetails.BuilderA builder for ExternalKeyValidationFailedErrorDetails.
-
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("external_key_validation_failed")final Map<String, JsonValue>_additionalProperties()final ExternalKeyValidationFailedErrorDetails.BuildertoBuilder()final ExternalKeyValidationFailedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ExternalKeyValidationFailedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of ExternalKeyValidationFailedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("external_key_validation_failed")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 ExternalKeyValidationFailedErrorDetails.Builder toBuilder()
-
validate
final ExternalKeyValidationFailedErrorDetails 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 ExternalKeyValidationFailedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of ExternalKeyValidationFailedErrorDetails.
-
-
-
-