FileDeleted

@Serializable
class FileDeleted(val id: String, val object: String, val deleted: Boolean)

Outcome of removing a file from the Files API.

See also

Constructors

Link copied to clipboard
constructor(id: String, object: String, deleted: Boolean)

Properties

Link copied to clipboard

true when the file was removed.

Link copied to clipboard
val id: String

Identifier of the file the request targeted.

Link copied to clipboard

Object type discriminator; always file.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String