GetBatchPredictionOutput.fromJson constructor
GetBatchPredictionOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetBatchPredictionOutput.fromJson(Map<String, dynamic> json) {
return GetBatchPredictionOutput(
batchPredictionDataSourceId:
json['BatchPredictionDataSourceId'] as String?,
batchPredictionId: json['BatchPredictionId'] as String?,
computeTime: json['ComputeTime'] as int?,
createdAt: timeStampFromJson(json['CreatedAt']),
createdByIamUser: json['CreatedByIamUser'] as String?,
finishedAt: timeStampFromJson(json['FinishedAt']),
inputDataLocationS3: json['InputDataLocationS3'] as String?,
invalidRecordCount: json['InvalidRecordCount'] as int?,
lastUpdatedAt: timeStampFromJson(json['LastUpdatedAt']),
logUri: json['LogUri'] as String?,
mLModelId: json['MLModelId'] as String?,
message: json['Message'] as String?,
name: json['Name'] as String?,
outputUri: json['OutputUri'] as String?,
startedAt: timeStampFromJson(json['StartedAt']),
status: (json['Status'] as String?)?.toEntityStatus(),
totalRecordCount: json['TotalRecordCount'] as int?,
);
}