toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (artifactUri != null) 'artifactUri': artifactUri!,
      if (automaticResources != null)
        'automaticResources': automaticResources!,
      if (containerSpec != null) 'containerSpec': containerSpec!,
      if (dedicatedResources != null)
        'dedicatedResources': dedicatedResources!,
      if (deployTaskName != null) 'deployTaskName': deployTaskName!,
      if (largeModelReference != null)
        'largeModelReference': largeModelReference!,
      if (modelDisplayName != null) 'modelDisplayName': modelDisplayName!,
      if (publicArtifactUri != null) 'publicArtifactUri': publicArtifactUri!,
      if (sharedResources != null) 'sharedResources': sharedResources!,
      if (title != null) 'title': title!,
    };