UpdateEvent

@Serializable
data class UpdateEvent(val id: String, val type: UpdateEventType, val author: PandoroUser? = null, val timestamp: Long, val noteContent: String? = null, val extraContent: String? = null)

The UpdateEvent data class allows to represent an event occurred during the lifecycle of an update

Author

N7ghtm4r3 - Tecknobit

Since

1.2.0

Constructors

Link copied to clipboard
constructor(id: String, type: UpdateEventType, author: PandoroUser? = null, timestamp: Long, noteContent: String? = null, extraContent: String? = null)

Properties

Link copied to clipboard

The user who made the action which created the event

Link copied to clipboard
@SerialName(value = "extra_content")
val extraContent: String?

Extra content used when it is necessary add extra information such update version, etc...

Link copied to clipboard
val id: String

The identifier of the event

Link copied to clipboard
@SerialName(value = "content_note")
val noteContent: String?

The content of the note if it is an event related to a change note

Link copied to clipboard

When the event occurred

Link copied to clipboard
val type: UpdateEventType

The type of the occurred event