Skip to content

Instantly share code, notes, and snippets.

@IhwanID
Created September 24, 2020 05:59
Show Gist options
  • Save IhwanID/dff0a34524c12dde15ea07b2ba19518e to your computer and use it in GitHub Desktop.
Save IhwanID/dff0a34524c12dde15ea07b2ba19518e to your computer and use it in GitHub Desktop.
Stats Dekontaminasi COVID19
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