toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (containerSpec != null) 'containerSpec': containerSpec!,
  if (diskSpec != null) 'diskSpec': diskSpec!,
  if (lustreMounts != null) 'lustreMounts': lustreMounts!,
  if (machineSpec != null) 'machineSpec': machineSpec!,
  if (nfsMounts != null) 'nfsMounts': nfsMounts!,
  if (pythonPackageSpec != null) 'pythonPackageSpec': pythonPackageSpec!,
  if (replicaCount != null) 'replicaCount': replicaCount!,
};