Membership
public struct Membership
extension Membership : Mappable
Membership contents.
Since
1.2.0-
The id of this membership.
Since
1.2.0Declaration
Swift
public var id: String?
-
The id of the person.
Since
1.2.0Declaration
Swift
public var personId: String?
-
The email address of the person.
Since
1.2.0Declaration
Swift
public var personEmail: EmailAddress?
-
The id of the space.
Since
1.2.0Declaration
Swift
public var spaceId: String?
-
Whether this member is a moderator of the space in this membership.
Since
1.2.0Declaration
Swift
public var isModerator: Bool?
-
Whether this member is a monitor of the space in this membership.
Since
1.2.0Declaration
Swift
@available(*, deprecated) public var isMonitor: Bool?
-
The timestamp that the membership being created.
Since
1.2.0Declaration
Swift
public var created: Date?
-
The display name of the person
Since
1.4.0Declaration
Swift
public var personDisplayName: String?
-
The personOrgId name of the person
Since
1.4.0Declaration
Swift
public var personOrgId: String?
-
Membership constructor.
Note
for internal use only.Declaration
Swift
public init?(map: Map)
-
Membership mapping from JSON.
Note
for internal use only.Declaration
Swift
public mutating func mapping(map: Map)