Package com.openai.models.batches
Class Batch.Errors
-
- All Implemented Interfaces:
public final class Batch.Errors
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
Batch.Errors.Builder
A builder for Errors.
-
Method Summary
Modifier and Type Method Description final Optional<List<BatchError>>
data()
final Optional<String>
object_()
The object type, which is always list
.final JsonField<List<BatchError>>
_data()
Returns the raw JSON value of data. final JsonField<String>
_object_()
Returns the raw JSON value of object_. final Map<String, JsonValue>
_additionalProperties()
final Batch.Errors
validate()
final Batch.Errors.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static Batch.Errors.Builder
builder()
Returns a mutable builder for constructing an instance of Errors. -
-
Method Detail
-
data
final Optional<List<BatchError>> data()
-
_data
final JsonField<List<BatchError>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_object_
final JsonField<String> _object_()
Returns the raw JSON value of object_.
Unlike object_, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final Batch.Errors validate()
-
toBuilder
final Batch.Errors.Builder toBuilder()
-
builder
final static Batch.Errors.Builder builder()
Returns a mutable builder for constructing an instance of Errors.
-
-
-
-