toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final eBSEnabled = this.eBSEnabled;
  final iops = this.iops;
  final volumeSize = this.volumeSize;
  final volumeType = this.volumeType;
  return {
    if (eBSEnabled != null) 'EBSEnabled': eBSEnabled,
    if (iops != null) 'Iops': iops,
    if (volumeSize != null) 'VolumeSize': volumeSize,
    if (volumeType != null) 'VolumeType': volumeType.toValue(),
  };
}