25 lines
576 B
Swift
25 lines
576 B
Swift
import Foundation
|
|
import ObjectMapper
|
|
|
|
class MobileAppUpdateRegistrationRequest: Mappable {
|
|
var AppData: [String: Any]?
|
|
var AppVersion: String?
|
|
var DeviceName: String?
|
|
var Manufacturer: String?
|
|
var Model: String?
|
|
var OSVersion: String?
|
|
|
|
init() {}
|
|
|
|
required init?(map: Map) {}
|
|
|
|
func mapping(map: Map) {
|
|
AppData <- map["app_data"]
|
|
AppVersion <- map["app_version"]
|
|
DeviceName <- map["device_name"]
|
|
Manufacturer <- map["manufacturer"]
|
|
Model <- map["model"]
|
|
OSVersion <- map["os_version"]
|
|
}
|
|
}
|