Files
Woka_Native_iOS/WOKA/OnBoarding Module/Model/AppUpdateDM.swift
BilalKhanWDI 750cc59cde - handled theme 2 player pause while the radio is opened and closed
- Completed forget username flow with hindi language
- Completed app update functionality, need the api to be updated as the version will not be a double, its going to be string
2024-08-20 19:50:11 +05:30

42 lines
986 B
Swift

//
// AppUpdateDM.swift
// WOKA
//
// Created by MacBook Pro on 20/08/24.
//
import Foundation
// MARK: - AppUpdateDM
struct AppUpdateDM: Codable {
let the0: The0?
let msg: String?
let url: String?
enum CodingKeys: String, CodingKey {
case the0 = "0"
case msg, url
}
// MARK: - The0
struct The0: Codable {
let id: Int?
let versionID, releaseDate: String?
let oldVersion: Int?
let newVersion, forceUpdateVersion: Double?
let forceUpdate: Int?
let releaseNotes: String?
enum CodingKeys: String, CodingKey {
case id
case versionID = "version_id"
case releaseDate = "release_date"
case oldVersion = "old_version"
case newVersion = "new_version"
case forceUpdateVersion = "force_update_version"
case forceUpdate = "force_update"
case releaseNotes = "release_notes"
}
}
}