feat: sub info
This commit is contained in:
parent
652da92ce7
commit
e8220b82cb
|
@ -47,4 +47,20 @@ class ClashProvider: Codable {
|
|||
let type: ProviderType
|
||||
let vehicleType: ProviderVehicleType
|
||||
let updatedAt: String?
|
||||
|
||||
let subscriptionInfo: ClashProviderSubInfo?
|
||||
}
|
||||
|
||||
class ClashProviderSubInfo: Codable {
|
||||
let upload: Int
|
||||
let download: Int
|
||||
let total: Int
|
||||
let expire: Int
|
||||
|
||||
private enum CodingKeys: String, CodingKey {
|
||||
case upload = "Upload",
|
||||
download = "Download",
|
||||
total = "Total",
|
||||
expire = "Expire"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue