Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
89 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
extension Conference { | ||
public struct Track: Codable, CustomStringConvertible, Equatable, Hashable { | ||
private enum CodingKeys: String, CodingKey { | ||
case id | ||
case roomId = "room_id" | ||
case name | ||
} | ||
|
||
public let id: String | ||
public let roomId: String | ||
public let name: String | ||
|
||
public var description: String { | ||
return "Track(id: \(id), roomId: \(roomId), name: \(name))" | ||
} | ||
} | ||
} | ||
|
||
extension Conference.Track { | ||
public struct Room: Codable, CustomStringConvertible, Equatable, Hashable { | ||
private enum CodingKeys: String, CodingKey { | ||
case id | ||
case venueId = "venue_id" | ||
case name | ||
case capacity | ||
} | ||
|
||
public let id: String | ||
public let venueId: String | ||
public let name: String | ||
public let capacity: Int | ||
|
||
public var description: String { | ||
return "Room(id: \(id), venueId: \(venueId), name: \(name), capacity: \(capacity))" | ||
} | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.