ProjectUpdate

@Serializable
data class ProjectUpdate(val id: String, val author: GroupMember, val creationDate: Long, val targetVersion: String, val status: <Error class: unknown class>, val startedBy: GroupMember? = null, val startDate: Long = -1, val publishedBy: GroupMember? = null, val publishDate: Long = -1, val notes: List<Note>)

The ProjectUpdate data class allow to represent a update data

Author

N7ghtm4r3 - Tecknobit

Constructors

Link copied to clipboard
constructor(id: String, author: GroupMember, creationDate: Long, targetVersion: String, status: <Error class: unknown class>, startedBy: GroupMember? = null, startDate: Long = -1, publishedBy: GroupMember? = null, publishDate: Long = -1, notes: List<Note>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The author of update project

Link copied to clipboard
@SerialName
val creationDate: Long

The date when the update has been scheduled

Link copied to clipboard
val id: String

The identifier of the update

Link copied to clipboard

The attached change notes list

Link copied to clipboard
@SerialName
val publishDate: Long

The date when the update has been published

Link copied to clipboard
@SerialName
val publishedBy: GroupMember? = null

The user who publish the update

Link copied to clipboard
@SerialName
val startDate: Long

The date when the update has been started

Link copied to clipboard
@SerialName
val startedBy: GroupMember? = null

The user who start the update

Link copied to clipboard
val status: <Error class: unknown class>

The current status of the update

Link copied to clipboard
@SerialName
val targetVersion: String

The version to reach with this update

Functions

Link copied to clipboard

Method to check whether all the notes attached are completed

Link copied to clipboard

Method to count all the completed notes

Link copied to clipboard

Method to count the current development days spent