Service Event

@Serializable
data class ServiceEvent(val id: String, val type: ServiceEventType, val eventDate: Long, val extra: JsonElement? = null)

The ServiceEvent class represent the information related to a service event

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(id: String, type: ServiceEventType, eventDate: Long, extra: JsonElement? = null)

Properties

Link copied to clipboard
@SerialName(value = "event_date" )
val eventDate: Long

The date when the event occurred

Link copied to clipboard
val extra: JsonElement?

The extra information related to an event to display

Link copied to clipboard
val id: String

The identifier of the event

Link copied to clipboard
val type: ServiceEventType

The type of the event