feat: sub info

This commit is contained in:
mrFq1 2022-11-09 22:06:29 +08:00
parent 652da92ce7
commit e8220b82cb
1 changed files with 16 additions and 0 deletions

View File

@ -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"
}
}