Created
July 27, 2019 16:37
-
-
Save rintoandrews90/0e0e5e9960934b4be7a912a71e5e5844 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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