RestoreJobsListMember.fromJson constructor
RestoreJobsListMember.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RestoreJobsListMember.fromJson(Map<String, dynamic> json) {
return RestoreJobsListMember(
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?,
);
}