Changelog

@Serializable
data class Changelog(val id: String, val event: <Error class: unknown class>, val timestamp: Long, val project: Project? = null, val group: Group? = null, val extraContent: String? = null, val read: Boolean)

The Changelog data class allow to represent a changelog data

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(id: String, event: <Error class: unknown class>, timestamp: Long, project: Project? = null, group: Group? = null, extraContent: String? = null, read: Boolean)

Properties

Link copied to clipboard
@SerialName
val event: <Error class: unknown class>

The event of the changelog

Link copied to clipboard
@SerialName
val extraContent: String? = null

The extra content of the changelog

Link copied to clipboard
val group: Group? = null

The group attached to the changelog

Link copied to clipboard
val id: String

The identifier of the changelog

Link copied to clipboard
val project: Project? = null

The project attached to the changelog

Link copied to clipboard
@SerialName
val read: Boolean

Whether the changelog is already read

Link copied to clipboard

The timestamp of the changelog

Functions

Link copied to clipboard

Method to get the content message

Link copied to clipboard

Method to get the title based on the locale

Link copied to clipboard

Method to check whether the changelog as attached items such group or project

Link copied to clipboard

Method to check whether the event is INVITED_GROUP event

Link copied to clipboard

Method to get the thumbnail of the items attached to the changelog