Disruptive Documentation

Enumeration Member.​Status

public enum Status: Codable, Equatable  

Indicates the current status of the membership.

%243 Member.Status Member.Status Equatable Equatable Member.Status->Equatable Codable Codable Member.Status->Codable

Member Of

Member

A Member assigns a specific role to an account within a project or an organization. The account can be either a user or a service account.

Conforms To

Codable
Equatable

Initializers

init(from:​)

public init(from decoder: Decoder) throws  

Enumeration Cases

pending

case pending

Pending on the User to acknowledge the membership. The UI can use this to indicate that the member is not yet active.

accepted

case accepted

User has accepted the membership.

unknown

case unknown(value: String) 

The status received for the member was unknown. Used for backwards compatibility in case a new status is added on the backend, and not yet added to this client library.

Methods

encode(to:​)

public func encode(to encoder: Encoder) throws