toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (diskCount != null) 'diskCount': diskCount!,
      if (lastResizeTimestamp != null)
        'lastResizeTimestamp': lastResizeTimestamp!,
      if (maxTotalProvisionedDiskCapacityGb != null)
        'maxTotalProvisionedDiskCapacityGb':
            maxTotalProvisionedDiskCapacityGb!,
      if (poolUsedCapacityBytes != null)
        'poolUsedCapacityBytes': poolUsedCapacityBytes!,
      if (poolUsedIops != null) 'poolUsedIops': poolUsedIops!,
      if (poolUsedThroughput != null)
        'poolUsedThroughput': poolUsedThroughput!,
      if (poolUserWrittenBytes != null)
        'poolUserWrittenBytes': poolUserWrittenBytes!,
      if (totalProvisionedDiskCapacityGb != null)
        'totalProvisionedDiskCapacityGb': totalProvisionedDiskCapacityGb!,
      if (totalProvisionedDiskIops != null)
        'totalProvisionedDiskIops': totalProvisionedDiskIops!,
      if (totalProvisionedDiskThroughput != null)
        'totalProvisionedDiskThroughput': totalProvisionedDiskThroughput!,
    };