toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dataPersistentDiskSpec != null)
        'dataPersistentDiskSpec': dataPersistentDiskSpec!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (eucConfig != null) 'eucConfig': eucConfig!,
      if (idleShutdownConfig != null)
        'idleShutdownConfig': idleShutdownConfig!,
      if (isDefault != null) 'isDefault': isDefault!,
      if (labels != null) 'labels': labels!,
      if (machineSpec != null) 'machineSpec': machineSpec!,
      if (name != null) 'name': name!,
      if (networkSpec != null) 'networkSpec': networkSpec!,
      if (networkTags != null) 'networkTags': networkTags!,
      if (notebookRuntimeType != null)
        'notebookRuntimeType': notebookRuntimeType!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (shieldedVmConfig != null) 'shieldedVmConfig': shieldedVmConfig!,
      if (updateTime != null) 'updateTime': updateTime!,
    };