AwsRedshiftClusterRestoreStatus.fromJson constructor
AwsRedshiftClusterRestoreStatus.fromJson(
- Map<String, dynamic> json
)
Implementation
factory AwsRedshiftClusterRestoreStatus.fromJson(Map<String, dynamic> json) {
return AwsRedshiftClusterRestoreStatus(
currentRestoreRateInMegaBytesPerSecond:
json['CurrentRestoreRateInMegaBytesPerSecond'] as double?,
elapsedTimeInSeconds: json['ElapsedTimeInSeconds'] as int?,
estimatedTimeToCompletionInSeconds:
json['EstimatedTimeToCompletionInSeconds'] as int?,
progressInMegaBytes: json['ProgressInMegaBytes'] as int?,
snapshotSizeInMegaBytes: json['SnapshotSizeInMegaBytes'] as int?,
status: json['Status'] as String?,
);
}