BatchInferenceJob.fromJson constructor
BatchInferenceJob.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BatchInferenceJob.fromJson(Map<String, dynamic> json) {
return BatchInferenceJob(
batchInferenceJobArn: json['batchInferenceJobArn'] as String?,
batchInferenceJobConfig: json['batchInferenceJobConfig'] != null
? BatchInferenceJobConfig.fromJson(
json['batchInferenceJobConfig'] as Map<String, dynamic>)
: null,
creationDateTime: timeStampFromJson(json['creationDateTime']),
failureReason: json['failureReason'] as String?,
filterArn: json['filterArn'] as String?,
jobInput: json['jobInput'] != null
? BatchInferenceJobInput.fromJson(
json['jobInput'] as Map<String, dynamic>)
: null,
jobName: json['jobName'] as String?,
jobOutput: json['jobOutput'] != null
? BatchInferenceJobOutput.fromJson(
json['jobOutput'] as Map<String, dynamic>)
: null,
lastUpdatedDateTime: timeStampFromJson(json['lastUpdatedDateTime']),
numResults: json['numResults'] as int?,
roleArn: json['roleArn'] as String?,
solutionVersionArn: json['solutionVersionArn'] as String?,
status: json['status'] as String?,
);
}