Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ApiResponse: Codable {
- let errorCode: ErrorCode
- let name: String
- let age: Int
- private enum CodingKeys: String, CodingKey {
- case errorCode = "errorcode"
- case name = "firstname"
- case age = "userage"
- }
- }
Add Comment
Please, Sign In to add comment