toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (architecture != null) 'architecture': architecture!,
      if (autoCreated != null) 'autoCreated': autoCreated!,
      if (chainName != null) 'chainName': chainName!,
      if (creationSizeBytes != null) 'creationSizeBytes': creationSizeBytes!,
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (diskSizeGb != null) 'diskSizeGb': diskSizeGb!,
      if (downloadBytes != null) 'downloadBytes': downloadBytes!,
      if (enableConfidentialCompute != null)
        'enableConfidentialCompute': enableConfidentialCompute!,
      if (guestOsFeatures != null) 'guestOsFeatures': guestOsFeatures!,
      if (id != null) 'id': id!,
      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 (locationHint != null) 'locationHint': locationHint!,
      if (name != null) 'name': name!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (snapshotEncryptionKey != null)
        'snapshotEncryptionKey': snapshotEncryptionKey!,
      if (snapshotType != null) 'snapshotType': snapshotType!,
      if (sourceDisk != null) 'sourceDisk': sourceDisk!,
      if (sourceDiskEncryptionKey != null)
        'sourceDiskEncryptionKey': sourceDiskEncryptionKey!,
      if (sourceDiskForRecoveryCheckpoint != null)
        'sourceDiskForRecoveryCheckpoint': sourceDiskForRecoveryCheckpoint!,
      if (sourceDiskId != null) 'sourceDiskId': sourceDiskId!,
      if (sourceInstantSnapshot != null)
        'sourceInstantSnapshot': sourceInstantSnapshot!,
      if (sourceInstantSnapshotEncryptionKey != null)
        'sourceInstantSnapshotEncryptionKey':
            sourceInstantSnapshotEncryptionKey!,
      if (sourceInstantSnapshotId != null)
        'sourceInstantSnapshotId': sourceInstantSnapshotId!,
      if (sourceSnapshotSchedulePolicy != null)
        'sourceSnapshotSchedulePolicy': sourceSnapshotSchedulePolicy!,
      if (sourceSnapshotSchedulePolicyId != null)
        'sourceSnapshotSchedulePolicyId': sourceSnapshotSchedulePolicyId!,
      if (status != null) 'status': status!,
      if (storageBytes != null) 'storageBytes': storageBytes!,
      if (storageBytesStatus != null)
        'storageBytesStatus': storageBytesStatus!,
      if (storageLocations != null) 'storageLocations': storageLocations!,
    };