CrossRegionCopyRetainRule.fromJson constructor

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

Implementation

factory CrossRegionCopyRetainRule.fromJson(Map<String, dynamic> json) {
  return CrossRegionCopyRetainRule(
    interval: json['Interval'] as int?,
    intervalUnit:
        (json['IntervalUnit'] as String?)?.toRetentionIntervalUnitValues(),
  );
}