toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final minimumNumTapes = this.minimumNumTapes;
  final poolId = this.poolId;
  final tapeBarcodePrefix = this.tapeBarcodePrefix;
  final tapeSizeInBytes = this.tapeSizeInBytes;
  final worm = this.worm;
  return {
    'MinimumNumTapes': minimumNumTapes,
    'PoolId': poolId,
    'TapeBarcodePrefix': tapeBarcodePrefix,
    'TapeSizeInBytes': tapeSizeInBytes,
    if (worm != null) 'Worm': worm,
  };
}