OrganizationMembershipRequest

@Serializable
data class OrganizationMembershipRequest(val id: String, val organizationId: String, val publicUserData: PublicUserData? = null, val status: String, val createdAt: Long, val updatedAt: Long)

The model that describes the request of a user to join an organization.

This data class represents a membership request that a user has made to join a specific organization. It contains all the necessary information about the request including its status, timing, and associated user data.

Constructors

Link copied to clipboard
constructor(id: String, organizationId: String, publicUserData: PublicUserData? = null, status: String, createdAt: Long, updatedAt: Long)

Properties

Link copied to clipboard

Timestamp the request was created.

Link copied to clipboard
val id: String

Unique identifier for this membership request

Link copied to clipboard

Organization Id of the organization this request is for.

Link copied to clipboard

Public information about the user that this request belongs to.

Link copied to clipboard

The status of the request.

Link copied to clipboard

Timestamp the request was last updated.

Functions

Link copied to clipboard

Accepts this organization membership request.

Link copied to clipboard

Rejects this organization membership request.