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 classBatch.Errors.BuilderA 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.BuildertoBuilder()final Batch.Errorsvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Batch.Errors.Builderbuilder()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()
-
toBuilder
final Batch.Errors.Builder toBuilder()
-
validate
final Batch.Errors validate()
-
builder
final static Batch.Errors.Builder builder()
Returns a mutable builder for constructing an instance of Errors.
-
-
-
-