* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
data=[FloorLayerData]()
letdataArray=json["data"].arrayValue
fordataJsonindataArray{
letvalue=FloorLayerData(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
*/
functoDictionary()->[String:Any]
{
vardictionary=[String:Any]()
ifentityType!=nil{
dictionary["entityType"]=entityType
}
ifentityUuid!=nil{
dictionary["entityUuid"]=entityUuid
}
iffileName!=nil{
dictionary["fileName"]=fileName
}
iffileUrl!=nil{
dictionary["fileUrl"]=fileUrl
}
iflastModified!=nil{
dictionary["lastModified"]=lastModified
}
ifthumbnailFileName!=nil{
dictionary["thumbnailFileName"]=thumbnailFileName
}
ifuuid!=nil{
dictionary["uuid"]=uuid
}
returndictionary
}
}
classUpper:NSObject{
varcode:String!
varcreateId:String!
varcreateOperName:String!
varcreateTime:String!
varenabled:Bool!
varlastModifyId:String!
varlastModifyOperName:String!
varlastModifyTime:String!
varname:String!
varupper:AnyObject!
varuuid:String!
varversion:Int!
/**
* 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
// Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
importFoundation
importSwiftyJSON
classFlooryuResultModel:NSObject{
vardata:FlooryuData!
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=FlooryuData(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
}
}
classFlooryuData:NSObject{
varpaging:Paging!
varrecords:[FlooryuRecord]!
/**
* 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=Paging(fromJson:pagingJson)
}
records=[FlooryuRecord]()
letrecordsArray=json["records"].arrayValue
forrecordsJsoninrecordsArray{
letvalue=FlooryuRecord(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
* 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
classStoreResultModel:NSObject{
vardata:StoreResultData!
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=StoreResultData(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
}
}
classStoreResultData:NSObject{
varcode:String!
varcreateId:String!
varcreateOperName:String!
varcreateTime:String!
varenabled:Bool!
varlastModifyId:String!
varlastModifyOperName:String!
varlastModifyTime:String!
varname:String!
varupper:Upper!
varuuid:String!
varversion:Int!
/**
* 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
// Model file generated using JSONExport: https://github.com/Ahmed-Ali/JSONExport
importFoundation
importSwiftyJSON
classDepartmentResultModel2:NSObject{
vardata:[DepartmentResultData]!
varmessage:String!
varsuccess:Bool!
/**
* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
data=[DepartmentResultData]()
letdataArray=json["data"].arrayValue
fordataJsonindataArray{
letvalue=DepartmentResultData(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
* Instantiate the instance using the passed json values to set the properties values
*/
init(fromJsonjson:JSON!){
ifjson.isEmpty{
return
}
code=json["code"].stringValue
level=json["level"].intValue
name=json["name"].stringValue
path=json["path"].stringValue
upper=json["upper"].stringValue
uuid=json["uuid"].stringValue
}
/**
* 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