ImageResource

@Serializable
data class ImageResource(val objectType: String, val id: String, val name: String? = null, val publicUrl: String? = null, val createdAt: Long? = null, val updatedAt: Long? = null)

Represents information about an image.

Constructors

Link copied to clipboard
constructor(objectType: String, id: String, name: String? = null, publicUrl: String? = null, createdAt: Long? = null, updatedAt: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Long? = null

The date when the image was created.

Link copied to clipboard
val id: String

The unique identifier of the image.

Link copied to clipboard
val name: String? = null

The name of the image.

Link copied to clipboard
@SerialName(value = "object")
val objectType: String
Link copied to clipboard
@SerialName(value = "public_url")
val publicUrl: String? = null

The publicly accessible URL for the image.

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: Long? = null

The date when the image was last updated.