toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoDelete != null) 'autoDelete': autoDelete!,
  if (boot != null) 'boot': boot!,
  if (deviceName != null) 'deviceName': deviceName!,
  if (diskEncryptionKey != null) 'diskEncryptionKey': diskEncryptionKey!,
  if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
  if (diskType != null) 'diskType': diskType!,
  if (guestOsFeatures != null) 'guestOsFeatures': guestOsFeatures!,
  if (index != null) 'index': index!,
  if (interface != null) 'interface': interface!,
  if (kind != null) 'kind': kind!,
  if (licenses != null) 'licenses': licenses!,
  if (mode != null) 'mode': mode!,
  if (source != null) 'source': source!,
  if (storageBytes != null) 'storageBytes': storageBytes!,
  if (storageBytesStatus != null) 'storageBytesStatus': storageBytesStatus!,
  if (type != null) 'type': type!,
};