toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (creationTimestamp != null) 'creationTimestamp': creationTimestamp!,
      if (description != null) 'description': description!,
      if (guestFlush != null) 'guestFlush': guestFlush!,
      if (id != null) 'id': id!,
      if (instanceProperties != null)
        'instanceProperties': instanceProperties!,
      if (kind != null) 'kind': kind!,
      if (machineImageEncryptionKey != null)
        'machineImageEncryptionKey': machineImageEncryptionKey!,
      if (name != null) 'name': name!,
      if (satisfiesPzi != null) 'satisfiesPzi': satisfiesPzi!,
      if (satisfiesPzs != null) 'satisfiesPzs': satisfiesPzs!,
      if (savedDisks != null) 'savedDisks': savedDisks!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (sourceDiskEncryptionKeys != null)
        'sourceDiskEncryptionKeys': sourceDiskEncryptionKeys!,
      if (sourceInstance != null) 'sourceInstance': sourceInstance!,
      if (sourceInstanceProperties != null)
        'sourceInstanceProperties': sourceInstanceProperties!,
      if (status != null) 'status': status!,
      if (storageLocations != null) 'storageLocations': storageLocations!,
      if (totalStorageBytes != null) 'totalStorageBytes': totalStorageBytes!,
    };