Package com.openai.models.files
Class FileDeleted
-
- All Implemented Interfaces:
public final class FileDeleted
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileDeleted.BuilderA builder for FileDeleted.
-
Method Summary
Modifier and Type Method Description final Stringid()final Booleandeleted()final JsonValue_object_()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("file")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Boolean>_deleted()Returns the raw JSON value of deleted. final Map<String, JsonValue>_additionalProperties()final FileDeleted.BuildertoBuilder()final FileDeletedvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileDeleted.Builderbuilder()Returns a mutable builder for constructing an instance of FileDeleted. -
-
Method Detail
-
_object_
final JsonValue _object_()
Expected to always return the following:
JsonValue.from("file")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_deleted
final JsonField<Boolean> _deleted()
Returns the raw JSON value of deleted.
Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileDeleted.Builder toBuilder()
-
validate
final FileDeleted 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 FileDeleted.Builder builder()
Returns a mutable builder for constructing an instance of FileDeleted.
The following fields are required:
.id() .deleted()
-
-
-
-