iOS/Sources/Shared/API/Requests/MobileAppUpdateRegistrationRequest.swift
Zac West 640cca884b
Add SwiftFormat to project (#1463)
Adds new fastlane lanes:
- `fastlane lint` which checks the linters
- `fastlane autocorrect` which applies the linters which can autocorrect (Rubocop, SwiftFormat)

Adds a build step to the Codegen abstract target which runs SwiftFormat in lint mode, pointing out what it's going to change when run.

Applies SwiftFormat to nearly all code -- exempts a few externally-sourced files and generated code.
2021-02-05 22:06:25 -08:00

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