toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalLicenses != null)
        'additionalLicenses': additionalLicenses!,
      if (appliedLicense != null) 'appliedLicense': appliedLicense!,
      if (bootOption != null) 'bootOption': bootOption!,
      if (computeScheduling != null) 'computeScheduling': computeScheduling!,
      if (diskType != null) 'diskType': diskType!,
      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!,
    };