toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accelerators != null) 'accelerators': accelerators!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (deprecated != null) 'deprecated': deprecated!,
      if (description != null) 'description': description!,
      if (guestCpus != null) 'guestCpus': guestCpus!,
      if (id != null) 'id': id!,
      if (imageSpaceGb != null) 'imageSpaceGb': imageSpaceGb!,
      if (isSharedCpu != null) 'isSharedCpu': isSharedCpu!,
      if (kind != null) 'kind': kind!,
      if (maximumPersistentDisks != null)
        'maximumPersistentDisks': maximumPersistentDisks!,
      if (maximumPersistentDisksSizeGb != null)
        'maximumPersistentDisksSizeGb': maximumPersistentDisksSizeGb!,
      if (memoryMb != null) 'memoryMb': memoryMb!,
      if (name != null) 'name': name!,
      if (scratchDisks != null) 'scratchDisks': scratchDisks!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (zone != null) 'zone': zone!,
    };