Package com.openai.models.evals.runs
Class EvalApiError
-
- All Implemented Interfaces:
public final class EvalApiErrorAn object representing an error response from the Eval API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalApiError.BuilderA builder for EvalApiError.
-
Method Summary
Modifier and Type Method Description final Stringcode()The error code. final Stringmessage()The error message. final JsonField<String>_code()Returns the raw JSON value of code. final JsonField<String>_message()Returns the raw JSON value of message. final Map<String, JsonValue>_additionalProperties()final EvalApiError.BuildertoBuilder()final EvalApiErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalApiError.Builderbuilder()Returns a mutable builder for constructing an instance of EvalApiError. -
-
Method Detail
-
_code
final JsonField<String> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvalApiError.Builder toBuilder()
-
validate
final EvalApiError 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 EvalApiError.Builder builder()
Returns a mutable builder for constructing an instance of EvalApiError.
The following fields are required:
.code() .message()
-
-
-
-