Enumeration
Role.RoleType
public enum RoleType: Codable, Equatable
The level of access that is given to a role.
Relationships
Member Of
Role
Represents a role that a user can have within a project or an organization.
Conforms To
Codable
Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Enumeration Cases
projectAdmin
case projectAdmin
Can move devices between projects inside the organization. Can add and remove users in the project.
organizationAdmin
case organizationAdmin
Can create new Projects and have Project administrator access in all Projects of the Organization.
unknown
case unknown(value: String)
The access level received for the role was unknown. Added for backwards compatibility in case a new access level is added on the backend, and not yet added to this client library.
Methods
encode(to:)
public func encode(to encoder: Encoder) throws