toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (adaptationModifiers != null)
    'adaptationModifiers': adaptationModifiers!,
  if (additionalLicenses != null) 'additionalLicenses': additionalLicenses!,
  if (appliedLicense != null) 'appliedLicense': appliedLicense!,
  if (bootConversion != null) 'bootConversion': bootConversion!,
  if (bootOption != null) 'bootOption': bootOption!,
  if (computeScheduling != null) 'computeScheduling': computeScheduling!,
  if (diskReplicaZones != null) 'diskReplicaZones': diskReplicaZones!,
  if (diskType != null) 'diskType': diskType!,
  if (enableIntegrityMonitoring != null)
    'enableIntegrityMonitoring': enableIntegrityMonitoring!,
  if (enableVtpm != null) 'enableVtpm': enableVtpm!,
  if (encryption != null) 'encryption': encryption!,
  if (hostname != null) 'hostname': hostname!,
  if (labels != null) 'labels': labels!,
  if (licenseType != null) 'licenseType': licenseType!,
  if (machineType != null) 'machineType': machineType!,
  if (machineTypeSeries != null) 'machineTypeSeries': machineTypeSeries!,
  if (metadata != null) 'metadata': metadata!,
  if (networkInterfaces != null) 'networkInterfaces': networkInterfaces!,
  if (networkTags != null) 'networkTags': networkTags!,
  if (project != null) 'project': project!,
  if (secureBoot != null) 'secureBoot': secureBoot!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (vmName != null) 'vmName': vmName!,
  if (zone != null) 'zone': zone!,
};