Skip to content

Instantly share code, notes, and snippets.

@rintoandrews90
Created July 27, 2019 16:37
Show Gist options
  • Save rintoandrews90/0e0e5e9960934b4be7a912a71e5e5844 to your computer and use it in GitHub Desktop.
Save rintoandrews90/0e0e5e9960934b4be7a912a71e5e5844 to your computer and use it in GitHub Desktop.
struct UserInfo: Codable{
var userId: String
var jobTitleName: String
var userfirstName: String
var userlastName: String
var preferredFullName: String
var employeeCode: String
var region: String
var phoneNumber: String
var emailAddress: String
var salary: Double
enum CodingKeys: String, CodingKey {
case userId
case jobTitleName
case userfirstName = "firstName"
case userlastName = "lastName"
case preferredFullName
case employeeCode
case region
case phoneNumber
case emailAddress
case salary
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment