TeamMembership

public struct TeamMembership

A data type represents a relationship between Team and Person at Cisco Spark cloud.

Since

1.2.0
  • id

    The identifier of this team membership.

    Since

    1.2.0

    Declaration

    Swift

    public var id: String?
  • The identifier of the team.

    Since

    1.2.0

    Declaration

    Swift

    public var teamId: String?
  • The identifier 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 display name of the person.

    Since

    1.2.0

    Declaration

    Swift

    public var personDisplayName: String?
  • True if the person in this membership is a moderator of the team.

    Since

    1.2.0

    Declaration

    Swift

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

    Since

    1.2.0

    Declaration

    Swift

    public var created: Date?
  • The personOrgId of the person.

    Since

    1.4.0

    Declaration

    Swift

    public var personOrgId: String?
  • Contructus a new TeamMembership object.

    Note

    for internal use only.

    Declaration

    Swift

    public init?(map: Map)
  • Maps a TeamMembership from JSON.

    Note

    for internal use only.

    Declaration

    Swift

    public mutating func mapping(map: Map)