Host History Event

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

The HostHistoryEvent class represent the information related to a host event

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(id: String, type: HostEventType, 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: HostEventType

The type of the event