2022-05-19 07:29:25 -06:00
|
|
|
struct SelectedTrackCriteria {
|
|
|
|
let type: String
|
2024-05-04 07:20:59 -06:00
|
|
|
let value: String?
|
2023-12-07 00:47:40 -07:00
|
|
|
|
2022-05-19 07:29:25 -06:00
|
|
|
let json: NSDictionary?
|
2023-12-07 00:47:40 -07:00
|
|
|
|
2022-05-19 07:29:25 -06:00
|
|
|
init(_ json: NSDictionary!) {
|
|
|
|
guard json != nil else {
|
|
|
|
self.json = nil
|
|
|
|
self.type = ""
|
|
|
|
self.value = nil
|
|
|
|
return
|
|
|
|
}
|
|
|
|
self.json = json
|
|
|
|
self.type = json["type"] as? String ?? ""
|
2024-05-04 07:20:59 -06:00
|
|
|
self.value = json["value"] as? String
|
2022-05-19 07:29:25 -06:00
|
|
|
}
|
|
|
|
}
|