DatasetImportJobSummary.fromJson constructor

DatasetImportJobSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DatasetImportJobSummary.fromJson(Map<String, dynamic> json) {
  return DatasetImportJobSummary(
    creationTime: timeStampFromJson(json['CreationTime']),
    dataSource: json['DataSource'] != null
        ? DataSource.fromJson(json['DataSource'] as Map<String, dynamic>)
        : null,
    datasetImportJobArn: json['DatasetImportJobArn'] as String?,
    datasetImportJobName: json['DatasetImportJobName'] as String?,
    lastModificationTime: timeStampFromJson(json['LastModificationTime']),
    message: json['Message'] as String?,
    status: json['Status'] as String?,
  );
}