DocumentClassificationJobProperties.fromJson constructor
DocumentClassificationJobProperties.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DocumentClassificationJobProperties.fromJson(
Map<String, dynamic> json) {
return DocumentClassificationJobProperties(
dataAccessRoleArn: json['DataAccessRoleArn'] as String?,
documentClassifierArn: json['DocumentClassifierArn'] as String?,
endTime: timeStampFromJson(json['EndTime']),
inputDataConfig: json['InputDataConfig'] != null
? InputDataConfig.fromJson(
json['InputDataConfig'] as Map<String, dynamic>)
: null,
jobId: json['JobId'] as String?,
jobName: json['JobName'] as String?,
jobStatus: (json['JobStatus'] as String?)?.toJobStatus(),
message: json['Message'] as String?,
outputDataConfig: json['OutputDataConfig'] != null
? OutputDataConfig.fromJson(
json['OutputDataConfig'] as Map<String, dynamic>)
: null,
submitTime: timeStampFromJson(json['SubmitTime']),
volumeKmsKeyId: json['VolumeKmsKeyId'] as String?,
vpcConfig: json['VpcConfig'] != null
? VpcConfig.fromJson(json['VpcConfig'] as Map<String, dynamic>)
: null,
);
}