// Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
importFoundation
importSwiftyJSON
classInitiatorResultModel:NSObject{
vardata:[InitiatorResultData]!
varmessage:String!
varsuccess:Bool!
/**
* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
data=[InitiatorResultData]()
letdataArray=json["data"].arrayValue
fordataJsonindataArray{
letvalue=InitiatorResultData(fromJson:dataJson)
data.append(value)
}
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
* 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
classTenantResultModel:NSObject{
vardata:TenantData!
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=TenantData(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
}
}
classTenantData:NSObject{
varpaging:TenantPaging!
varrecords:[TenantRecord]!
/**
* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
letpagingJson=json["paging"]
if!pagingJson.isEmpty{
paging=TenantPaging(fromJson:pagingJson)
}
records=[TenantRecord]()
letrecordsArray=json["records"].arrayValue
forrecordsJsoninrecordsArray{
letvalue=TenantRecord(fromJson:recordsJson)
records.append(value)
}
}
/**
* 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
* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
page=json["page"].intValue
pageCount=json["pageCount"].intValue
pageSize=json["pageSize"].intValue
recordCount=json["recordCount"].intValue
}
/**
* 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