* 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
// Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
importFoundation
importSwiftyJSON
classProjectResultModel:NSObject{
vardata:ProjectResultData!
varmessage:String!
varsuccess:Bool!
/**
* 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=ProjectResultData(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
*/
functoDictionary()->[String:Any]
{
vardictionary=[String:Any]()
ifdata!=nil{
dictionary["data"]=data.toDictionary()
}
ifmessage!=nil{
dictionary["message"]=message
}
ifsuccess!=nil{
dictionary["success"]=success
}
returndictionary
}
}
classProjectResultData:NSObject{
varpaging:Paging!
varrecords:[ProjectResultRecord]!
/**
* Instantiate the instance using the passed json values to set the properties values
* 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
* 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