Disruptive Documentation

Enumeration Member.​Account​Type

public enum AccountType: Decodable, Equatable  

The type of account the membership represents.

%105 Member.AccountType Member.AccountType Decodable Decodable Member.AccountType->Decodable Equatable Equatable Member.AccountType->Equatable

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

Decodable
Equatable

Initializers

init(from:​)

public init(from decoder: Decoder) throws  

Enumeration Cases

user

case user

Indicates that the account linked to the Member is a user.

service​Account

case serviceAccount

Indicates that the account linked to the Member is a Service Account.

unknown

case unknown(value: String) 

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