Team

@Serializable
data class Team(val id: String, val name: String, val accessCode: String, val logoUrl: String? = null, val createdAt: Instant, val updatedAt: Instant, val deletedAt: Instant? = null, val members: List<User> = emptyList())

A team in Umami.

See also

Constructors

Link copied to clipboard
constructor(id: String, name: String, accessCode: String, logoUrl: String? = null, createdAt: Instant, updatedAt: Instant, deletedAt: Instant? = null, members: List<User> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "accessCode")
val accessCode: String

The access code for the team.

Link copied to clipboard
@SerialName(value = "createdAt")
val createdAt: Instant

The date and time the team was created.

Link copied to clipboard
@SerialName(value = "deletedAt")
val deletedAt: Instant?

The date and time the team was deleted.

Link copied to clipboard
@SerialName(value = "id")
val id: String

The unique identifier of the team.

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

The URL of the team's logo.

Link copied to clipboard
@SerialName(value = "members")
val members: List<User>

The members of the team.

Link copied to clipboard
@SerialName(value = "name")
val name: String

The name of the team.

Link copied to clipboard
@SerialName(value = "updatedAt")
val updatedAt: Instant

The date and time the team was last updated.