Entity

interface Entity<T> : Representable

The Entity interface enforces conformance to Representable and requires the id and title properties.

Note: the property title is used instead of name because name in Enum is final and cannot be overridden.

Inheritors

Properties

Link copied to clipboard
abstract val id: T

The id used in the API.

Link copied to clipboard
abstract val title: String

The title as used in Documentation