AutomaticTapeCreationRule.fromJson constructor

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

Implementation

factory AutomaticTapeCreationRule.fromJson(Map<String, dynamic> json) {
  return AutomaticTapeCreationRule(
    minimumNumTapes: json['MinimumNumTapes'] as int,
    poolId: json['PoolId'] as String,
    tapeBarcodePrefix: json['TapeBarcodePrefix'] as String,
    tapeSizeInBytes: json['TapeSizeInBytes'] as int,
    worm: json['Worm'] as bool?,
  );
}