Team

@Serializable
data class Team(val id: String, val name: String, val accessCode: String, val logoUrl: String? = null, val createdAt: Instant, val updatedAt: Instant? = null, val deletedAt: Instant? = null, val teamUser: List<TeamMember> = 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? = null, deletedAt: Instant? = null, teamUser: List<TeamMember> = 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 = "name")
val name: String

The name of the team.

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

The users of the team.

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

The date and time the team was last updated.