DescribeDatasetImportJobResponse.fromJson constructor
DescribeDatasetImportJobResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeDatasetImportJobResponse.fromJson(Map<String, dynamic> json) {
return DescribeDatasetImportJobResponse(
creationTime: timeStampFromJson(json['CreationTime']),
dataSize: json['DataSize'] as double?,
dataSource: json['DataSource'] != null
? DataSource.fromJson(json['DataSource'] as Map<String, dynamic>)
: null,
datasetArn: json['DatasetArn'] as String?,
datasetImportJobArn: json['DatasetImportJobArn'] as String?,
datasetImportJobName: json['DatasetImportJobName'] as String?,
fieldStatistics: (json['FieldStatistics'] as Map<String, dynamic>?)?.map(
(k, e) =>
MapEntry(k, Statistics.fromJson(e as Map<String, dynamic>))),
geolocationFormat: json['GeolocationFormat'] as String?,
lastModificationTime: timeStampFromJson(json['LastModificationTime']),
message: json['Message'] as String?,
status: json['Status'] as String?,
timeZone: json['TimeZone'] as String?,
timestampFormat: json['TimestampFormat'] as String?,
useGeolocationForTimeZone: json['UseGeolocationForTimeZone'] as bool?,
);
}