Package com.openai.models.videos
Class VideoCreateError
-
- All Implemented Interfaces:
public final class VideoCreateErrorAn error that occurred while generating the response.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVideoCreateError.BuilderA builder for VideoCreateError.
-
Method Summary
Modifier and Type Method Description final Stringcode()A machine-readable error code that was returned. final Stringmessage()A human-readable description of the error that was returned. 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 VideoCreateError.BuildertoBuilder()final VideoCreateErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VideoCreateError.Builderbuilder()Returns a mutable builder for constructing an instance of VideoCreateError. -
-
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 VideoCreateError.Builder toBuilder()
-
validate
final VideoCreateError 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 VideoCreateError.Builder builder()
Returns a mutable builder for constructing an instance of VideoCreateError.
The following fields are required:
.code() .message()
-
-
-
-