Package com.openai.models.evals.runs
Class EvalApiError
-
- All Implemented Interfaces:
public final class EvalApiError
An object representing an error response from the Eval API.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
EvalApiError.Builder
A builder for EvalApiError.
-
Method Summary
Modifier and Type Method Description final String
code()
The error code. final String
message()
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.Builder
toBuilder()
final EvalApiError
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static EvalApiError.Builder
builder()
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()
-
builder
final static EvalApiError.Builder builder()
Returns a mutable builder for constructing an instance of EvalApiError.
The following fields are required:
.code() .message()
-
-
-
-