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 class
FileDeleted.Builder
A builder for FileDeleted.
-
Method Summary
Modifier and Type Method Description final String
id()
final Boolean
deleted()
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.Builder
toBuilder()
final FileDeleted
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static FileDeleted.Builder
builder()
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()
-
builder
final static FileDeleted.Builder builder()
Returns a mutable builder for constructing an instance of FileDeleted.
The following fields are required:
.id() .deleted()
-
-
-
-