-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
1a0d1a1
commit a9a8581
Showing
2 changed files
with
71 additions
and
55 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
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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
import Foundation | ||
|
||
public struct JSONData: Decodable { | ||
public let contents: [Video] | ||
public let contents: [Video] | ||
} | ||
|
||
public struct Video: Decodable { | ||
public let id: String | ||
public let staticContentId: Int | ||
public let eventContentId: Int | ||
public let eventId: String | ||
public let webPermalink: String | ||
public let description: String | ||
public let title: String | ||
public let topicIds: [Int] | ||
public let type: String | ||
public let trackId: Int | ||
public let startTime: String | ||
public let endTime: String | ||
public let media: Media? | ||
public let id: String | ||
public let staticContentId: Int | ||
public let eventContentId: Int | ||
public let eventId: String | ||
public let webPermalink: String | ||
public let description: String | ||
public let title: String | ||
public let topicIds: [Int] | ||
public let type: String | ||
public let trackId: Int | ||
public let startTime: String? | ||
public let originalPublishingDate: String? | ||
// public let endTime: String = "" | ||
public let media: Media? | ||
} | ||
|
||
public struct Media: Decodable { | ||
public let duration: Int | ||
public let duration: Int | ||
} |