Image

data class Image(val imageId: String = "", val uploaderUserId: String = "", val url: String = "")

Represents an image uploaded by a user which stores its unique ID, the user ID of the uploader, and its download URL (for now).

Constructors

Link copied to clipboard
constructor(imageId: String = "", uploaderUserId: String = "", url: String = "")

Properties

Link copied to clipboard

The unique ID of the image.

Link copied to clipboard

The ID of the user who uploaded the image.

Link copied to clipboard
val url: String

The URL used to access the image.