Package com.anthropic.models.beta
Class BetaUnsupportedCharsetErrorDetails
-
- All Implemented Interfaces:
public final class BetaUnsupportedCharsetErrorDetailsThe request's
Content-Typeheader names a charset other than UTF-8, ISO-8859-1 or US-ASCII. Send the request with no charset, or with one of these.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaUnsupportedCharsetErrorDetails.BuilderA builder for BetaUnsupportedCharsetErrorDetails.
-
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("unsupported_charset")final Map<String, JsonValue>_additionalProperties()final BetaUnsupportedCharsetErrorDetails.BuildertoBuilder()final BetaUnsupportedCharsetErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaUnsupportedCharsetErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of BetaUnsupportedCharsetErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("unsupported_charset")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 BetaUnsupportedCharsetErrorDetails.Builder toBuilder()
-
validate
final BetaUnsupportedCharsetErrorDetails 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 BetaUnsupportedCharsetErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of BetaUnsupportedCharsetErrorDetails.
-
-
-
-