ComprehendMedicalAsyncJobProperties.fromJson constructor
ComprehendMedicalAsyncJobProperties.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ComprehendMedicalAsyncJobProperties.fromJson(
Map<String, dynamic> json) {
return ComprehendMedicalAsyncJobProperties(
dataAccessRoleArn: json['DataAccessRoleArn'] as String?,
endTime: timeStampFromJson(json['EndTime']),
expirationTime: timeStampFromJson(json['ExpirationTime']),
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(),
kMSKey: json['KMSKey'] as String?,
languageCode: (json['LanguageCode'] as String?)?.toLanguageCode(),
manifestFilePath: json['ManifestFilePath'] as String?,
message: json['Message'] as String?,
modelVersion: json['ModelVersion'] as String?,
outputDataConfig: json['OutputDataConfig'] != null
? OutputDataConfig.fromJson(
json['OutputDataConfig'] as Map<String, dynamic>)
: null,
submitTime: timeStampFromJson(json['SubmitTime']),
);
}