* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
letdataJson=json["data"]
if!dataJson.isEmpty{
data=UserModel(fromJson:dataJson)
}
message=json["message"].stringValue
success=json["success"].boolValue
}
/**
* Returns all the available property values in the form of [String:Any] object where the key is the approperiate json key and the value is the value of the corresponding property
* Returns all the available property values in the form of [String:Any] object where the key is the approperiate json key and the value is the value of the corresponding property