toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (archiveSizeBytes != null) 'archiveSizeBytes': archiveSizeBytes!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (deprecated != null) 'deprecated': deprecated!,
      if (description != null) 'description': description!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (enableConfidentialCompute != null)
        'enableConfidentialCompute': enableConfidentialCompute!,
      if (family != null) 'family': family!,
      if (guestOsFeatures != null) 'guestOsFeatures': guestOsFeatures!,
      if (id != null) 'id': id!,
      if (imageEncryptionKey != null)
        'imageEncryptionKey': imageEncryptionKey!,
      if (kind != null) 'kind': kind!,
      if (labelFingerprint != null) 'labelFingerprint': labelFingerprint!,
      if (labels != null) 'labels': labels!,
      if (licenseCodes != null) 'licenseCodes': licenseCodes!,
      if (licenses != null) 'licenses': licenses!,
      if (name != null) 'name': name!,
      if (rawDisk != null) 'rawDisk': rawDisk!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (shieldedInstanceInitialState != null)
        'shieldedInstanceInitialState': shieldedInstanceInitialState!,
      if (sourceDisk != null) 'sourceDisk': sourceDisk!,
      if (sourceDiskEncryptionKey != null)
        'sourceDiskEncryptionKey': sourceDiskEncryptionKey!,
      if (sourceDiskId != null) 'sourceDiskId': sourceDiskId!,
      if (sourceImage != null) 'sourceImage': sourceImage!,
      if (sourceImageEncryptionKey != null)
        'sourceImageEncryptionKey': sourceImageEncryptionKey!,
      if (sourceImageId != null) 'sourceImageId': sourceImageId!,
      if (sourceSnapshot != null) 'sourceSnapshot': sourceSnapshot!,
      if (sourceSnapshotEncryptionKey != null)
        'sourceSnapshotEncryptionKey': sourceSnapshotEncryptionKey!,
      if (sourceSnapshotId != null) 'sourceSnapshotId': sourceSnapshotId!,
      if (sourceType != null) 'sourceType': sourceType!,
      if (status != null) 'status': status!,
      if (storageLocations != null) 'storageLocations': storageLocations!,
    };