Package com.openai.models.beta.responses
Class BetaResponseInjectFailedEvent.Error
-
- All Implemented Interfaces:
public final class BetaResponseInjectFailedEvent.ErrorInformation about why the input was not committed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseInjectFailedEvent.Error.BuilderA builder for Error.
public final classBetaResponseInjectFailedEvent.Error.CodeA machine-readable error code.
-
Method Summary
Modifier and Type Method Description final BetaResponseInjectFailedEvent.Error.Codecode()A machine-readable error code. final Stringmessage()A human-readable description of the error. final JsonField<BetaResponseInjectFailedEvent.Error.Code>_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 BetaResponseInjectFailedEvent.Error.BuildertoBuilder()final BetaResponseInjectFailedEvent.Errorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseInjectFailedEvent.Error.Builderbuilder()Returns a mutable builder for constructing an instance of Error. -
-
Method Detail
-
code
final BetaResponseInjectFailedEvent.Error.Code code()
A machine-readable error code.
-
_code
final JsonField<BetaResponseInjectFailedEvent.Error.Code> _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 BetaResponseInjectFailedEvent.Error.Builder toBuilder()
-
validate
final BetaResponseInjectFailedEvent.Error 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 BetaResponseInjectFailedEvent.Error.Builder builder()
Returns a mutable builder for constructing an instance of Error.
The following fields are required:
.code() .message()
-
-
-
-