ContinuousBackupsDescription.fromJson constructor

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

Implementation

factory ContinuousBackupsDescription.fromJson(Map<String, dynamic> json) {
  return ContinuousBackupsDescription(
    continuousBackupsStatus: (json['ContinuousBackupsStatus'] as String)
        .toContinuousBackupsStatus(),
    pointInTimeRecoveryDescription: json['PointInTimeRecoveryDescription'] !=
            null
        ? PointInTimeRecoveryDescription.fromJson(
            json['PointInTimeRecoveryDescription'] as Map<String, dynamic>)
        : null,
  );
}