class MinePersonGetUploadFileInfoEntity { int? errorCode; String? description; String? errorMsg; Data? data; MinePersonGetUploadFileInfoEntity( {this.errorCode, this.description, this.errorMsg, this.data}); MinePersonGetUploadFileInfoEntity.fromJson(Map json) { errorCode = json['errorCode']; description = json['description']; errorMsg = json['errorMsg']; data = json['data'] != null ? Data.fromJson(json['data']) : null; } Map toJson() { final Map data = {}; data['errorCode'] = errorCode; data['description'] = description; data['errorMsg'] = errorMsg; if (this.data != null) { data['data'] = this.data!.toJson(); } return data; } } class Data { String? uploadUrl; Map? formData; String? fileUrl; String? fileField; Data({this.uploadUrl, this.formData, this.fileUrl, this.fileField}); Data.fromJson(Map json) { uploadUrl = json['uploadUrl']; formData = json['formData']; fileUrl = json['fileUrl']; fileField = json['fileField']; } Map toJson() { final Map data = {}; data['uploadUrl'] = uploadUrl; data['formData'] = formData; data['fileUrl'] = fileUrl; data['fileField'] = fileField; return data; } } // class GetFormData { // String? oSSAccessKeyId; // String? host; // String? policy; // String? signature; // int? expire; // String? key; // // GetFormData( // {this.oSSAccessKeyId, // this.host, // this.policy, // this.signature, // this.expire, // this.key}); // // GetFormData.fromJson(Map json) { // oSSAccessKeyId = json['OSSAccessKeyId']; // host = json['host']; // policy = json['policy']; // signature = json['signature']; // expire = json['expire']; // key = json['key']; // } // // Map toJson() { // final Map data = {}; // data['OSSAccessKeyId'] = oSSAccessKeyId; // data['host'] = host; // data['policy'] = policy; // data['signature'] = signature; // data['expire'] = expire; // data['key'] = key; // return data; // } // }