2024-05-08 13:51:47 +08:00
|
|
|
class ServiceAuthResultEntity {
|
|
|
|
|
ServiceAuthResultEntity(
|
|
|
|
|
{this.errorCode, this.description, this.errorMsg, this.data});
|
|
|
|
|
|
|
|
|
|
ServiceAuthResultEntity.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
errorCode = json['errorCode'];
|
|
|
|
|
description = json['description'];
|
|
|
|
|
errorMsg = json['errorMsg'];
|
|
|
|
|
data = json['data'] != null ? Data.fromJson(json['data']) : null;
|
|
|
|
|
}
|
2024-05-22 10:41:44 +08:00
|
|
|
int? errorCode;
|
|
|
|
|
String? description;
|
|
|
|
|
String? errorMsg;
|
|
|
|
|
Data? data;
|
2024-05-08 13:51:47 +08:00
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['errorCode'] = errorCode;
|
|
|
|
|
data['description'] = description;
|
|
|
|
|
data['errorMsg'] = errorMsg;
|
|
|
|
|
if (this.data != null) {
|
|
|
|
|
data['data'] = this.data!.toJson();
|
|
|
|
|
}
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class Data {
|
|
|
|
|
Data.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
nextFaceValidateTime = json['nextFaceValidateTime'];
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-22 10:41:44 +08:00
|
|
|
Data({this.nextFaceValidateTime});
|
|
|
|
|
int? nextFaceValidateTime;
|
|
|
|
|
|
2024-05-08 13:51:47 +08:00
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = <String, dynamic>{};
|
|
|
|
|
data['nextFaceValidateTime'] = nextFaceValidateTime;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|