ApiLike

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

Data class representing a Like item from the API.

Constructors

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

Properties

Link copied to clipboard

The ID of the author of the Like item.

Link copied to clipboard

The category of the Like item.

Link copied to clipboard
val id: String? = null

The server ID of the Like item.

Link copied to clipboard

The name of the Like item.

Functions

Link copied to clipboard

Extension function to convert an ApiLike item to a Like item.