Membership

public struct Membership

Membership contents.

Since

1.2.0
  • id

    The id of this membership.

    Since

    1.2.0

    Declaration

    Swift

    public var id: String?
  • The id of the person.

    Since

    1.2.0

    Declaration

    Swift

    public var personId: String?
  • The email address of the person.

    Since

    1.2.0

    Declaration

    Swift

    public var personEmail: EmailAddress?
  • The id of the room.

    Since

    1.2.0

    Declaration

    Swift

    public var roomId: String?
  • Whether this member is a moderator of the room in this membership.

    Since

    1.2.0

    Declaration

    Swift

    public var isModerator: Bool?
  • Whether this member is a monitor of the room in this membership.

    Since

    1.2.0

    Declaration

    Swift

    public var isMonitor: Bool?
  • The timestamp that the membership being created.

    Since

    1.2.0

    Declaration

    Swift

    public var created: Date?
  • The display name of the person

    Since

    1.4.0

    Declaration

    Swift

    public var personDisplayName: String?
  • The personOrgId name of the person

    Since

    1.4.0

    Declaration

    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)