Created
September 24, 2020 05:59
-
-
Save IhwanID/dff0a34524c12dde15ea07b2ba19518e to your computer and use it in GitHub Desktop.
Stats Dekontaminasi COVID19
This file contains hidden or 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
struct StatsResponse: Codable { | |
let regions: [Province] | |
let numbers: Numbers | |
let timestamp: Int | |
let name: String | |
let type: String | |
} | |
struct Province: Codable { | |
let type: String | |
let name: String | |
let numbers: Numbers | |
} | |
struct Numbers: Codable{ | |
let infected: Int | |
let recovered: Int | |
let fatal: Int | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment