UpdateRecoveryPointLifecycleOutput.fromJson constructor

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

Implementation

factory UpdateRecoveryPointLifecycleOutput.fromJson(
    Map<String, dynamic> json) {
  return UpdateRecoveryPointLifecycleOutput(
    backupVaultArn: json['BackupVaultArn'] as String?,
    calculatedLifecycle: json['CalculatedLifecycle'] != null
        ? CalculatedLifecycle.fromJson(
            json['CalculatedLifecycle'] as Map<String, dynamic>)
        : null,
    lifecycle: json['Lifecycle'] != null
        ? Lifecycle.fromJson(json['Lifecycle'] as Map<String, dynamic>)
        : null,
    recoveryPointArn: json['RecoveryPointArn'] as String?,
  );
}