Room

public struct Room

A data type represents a Room at Cisco Spark cloud.

Note

Room has been renamed to Space in Cisco Spark.

Since

1.2.0
  • id

    The identifier of this room.

    Since

    1.2.0

    Declaration

    Swift

    public var id: String?
  • The title of this room.

    Since

    1.2.0

    Declaration

    Swift

    public var title: String?
  • The type of this room.

    Since

    1.2.0

    Declaration

    Swift

    public var type: RoomType?
  • Indicate if this room is locked.

    Since

    1.2.0

    Declaration

    Swift

    public var isLocked: Bool?
  • Last activity of this room.

    Since

    1.2.0

    Declaration

    Swift

    @available(*, deprecated: 1.3.0, renamed: "lastActivityTimestamp")
    public var lastActivity: String?
  • The timestamp that last activity of this room.

    Since

    1.3.0

    Declaration

    Swift

    public var lastActivityTimestamp: Date?
  • The timestamp that this room being created.

    Since

    1.2.0

    Declaration

    Swift

    public var created: Date?
  • The team Id that this room associated with.

    Since

    1.2.0

    Declaration

    Swift

    public var teamId: String?
  • The sipAddress that this room associated with.

    Since

    1.4.0

    Declaration

    Swift

    public var sipAddress: String?
  • Constructs a Room object.

    Note

    for internal use only.

    Declaration

    Swift

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

    Note

    for internal use only.

    Declaration

    Swift

    public mutating func mapping(map: Map)