Created
June 29, 2018 17:36
-
-
Save deya-eldeen/f05519a2a199995e2f71d7ebd5e0e7ee to your computer and use it in GitHub Desktop.
model
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
import Foundation | |
import ObjectMapper | |
class Basic: Mappable { | |
required init?(map: Map){} | |
var success: String? | |
var responseCode: Int? | |
func mapping(map: Map) { | |
success <- map["success"] | |
responseCode <- map["responseCode"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment