toJson method
Implementation
@override
Object toJson() => {
if (dedicatedResources != null)
'dedicatedResources': dedicatedResources!.toJson(),
if (automaticResources != null)
'automaticResources': automaticResources!.toJson(),
if (sharedResources != null) 'sharedResources': sharedResources,
if (modelDisplayName.isNotDefault) 'modelDisplayName': modelDisplayName,
if (largeModelReference != null)
'largeModelReference': largeModelReference!.toJson(),
if (containerSpec != null) 'containerSpec': containerSpec!.toJson(),
if (artifactUri.isNotDefault) 'artifactUri': artifactUri,
if (deployTaskName != null) 'deployTaskName': deployTaskName,
if (deployMetadata != null) 'deployMetadata': deployMetadata!.toJson(),
'title': title,
if (publicArtifactUri.isNotDefault) 'publicArtifactUri': publicArtifactUri,
};