RecoveryPointByResource.fromJson constructor

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

Implementation

factory RecoveryPointByResource.fromJson(Map<String, dynamic> json) {
  return RecoveryPointByResource(
    backupSizeBytes: json['BackupSizeBytes'] as int?,
    backupVaultName: json['BackupVaultName'] as String?,
    creationDate: timeStampFromJson(json['CreationDate']),
    encryptionKeyArn: json['EncryptionKeyArn'] as String?,
    recoveryPointArn: json['RecoveryPointArn'] as String?,
    status: (json['Status'] as String?)?.toRecoveryPointStatus(),
  );
}