Package com.openai.models.responses
Class ResponseErrorEvent
-
- All Implemented Interfaces:
public final class ResponseErrorEventEmitted when an error occurs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseErrorEvent.BuilderA builder for ResponseErrorEvent.
-
Method Summary
Modifier and Type Method Description final Optional<String>code()The error code. final Stringmessage()The error message. final Optional<String>param()The error parameter. final JsonValue_type()The type of the event. final JsonField<String>_code()The error code. final JsonField<String>_message()The error message. final JsonField<String>_param()The error parameter. final Map<String, JsonValue>_additionalProperties()final ResponseErrorEventvalidate()final ResponseErrorEvent.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseErrorEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseErrorEvent. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ResponseErrorEvent validate()
-
toBuilder
final ResponseErrorEvent.Builder toBuilder()
-
builder
final static ResponseErrorEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseErrorEvent.
The following fields are required:
.code() .message() .param()
-
-
-
-