ApiCantEat

@Serializable
data class ApiCantEat(val id: String? = null, val name: String, val authorId: String)

Data class representing a CantEat item from the API.

Constructors

Link copied to clipboard
constructor(id: String? = null, name: String, authorId: String)

Properties

Link copied to clipboard

The ID of the author of the CantEat item.

Link copied to clipboard
val id: String? = null

The server ID of the CantEat item.

Link copied to clipboard

The name of the CantEat item.

Functions

Link copied to clipboard

Extension function to convert an ApiCantEat item to a CantEat item.