OrganizationInvitation

@Serializable
data class OrganizationInvitation(val id: String, val emailAddress: String, val organizationId: String? = null, val publicMetadata: JsonElement, val role: String, val status: OrganizationInvitation.Status, val createdAt: Long, val updatedAt: Long, val publicOrganizationData: PublicOrganizationData? = null)

Constructors

Link copied to clipboard
constructor(id: String, emailAddress: String, organizationId: String? = null, publicMetadata: JsonElement, role: String, status: OrganizationInvitation.Status, createdAt: Long, updatedAt: Long, publicOrganizationData: PublicOrganizationData? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard

The timestamp when the invitation was created.

Link copied to clipboard

The email address the invitation has been sent to.

Link copied to clipboard
val id: String

The unique identifier for this organization invitation.

Link copied to clipboard
val organizationId: String? = null

The organization ID of the organization this invitation is for.

Link copied to clipboard
val publicMetadata: JsonElement

Metadata that can be read from the Frontend API and Backend API and can be set only from the Backend API.

Link copied to clipboard

The role of the user in the organization.

Link copied to clipboard

The status of the invitation.

Link copied to clipboard

The timestamp when the invitation was last updated.

Functions