Activity

@Serializable
data class Activity(val week: LocalDate, val statusCount: Long, val loginCount: Long, val registrationCount: Long)

Represents a weekly bucket of instance activity.

Constructors

Link copied to clipboard
constructor(week: LocalDate, statusCount: Long, loginCount: Long, registrationCount: Long)

Properties

Link copied to clipboard

Number of logins during the week.

Link copied to clipboard

Number of users that registered during the week.

Link copied to clipboard

Number of statuses posted during the week.

Link copied to clipboard
@Serializable(with = TimestampToLocalDateSerializer::class)
val week: LocalDate

First day of the week corresponding to this activity.