DescribeRestoreJobOutput.fromJson constructor
DescribeRestoreJobOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeRestoreJobOutput.fromJson(Map<String, dynamic> json) {
return DescribeRestoreJobOutput(
accountId: json['AccountId'] as String?,
backupSizeInBytes: json['BackupSizeInBytes'] as int?,
completionDate: timeStampFromJson(json['CompletionDate']),
createdResourceArn: json['CreatedResourceArn'] as String?,
creationDate: timeStampFromJson(json['CreationDate']),
expectedCompletionTimeMinutes:
json['ExpectedCompletionTimeMinutes'] as int?,
iamRoleArn: json['IamRoleArn'] as String?,
percentDone: json['PercentDone'] as String?,
recoveryPointArn: json['RecoveryPointArn'] as String?,
resourceType: json['ResourceType'] as String?,
restoreJobId: json['RestoreJobId'] as String?,
status: (json['Status'] as String?)?.toRestoreJobStatus(),
statusMessage: json['StatusMessage'] as String?,
);
}