toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (artifactUri != null) 'artifactUri': artifactUri!,
      if (baseModelSource != null) 'baseModelSource': baseModelSource!,
      if (containerSpec != null) 'containerSpec': containerSpec!,
      if (createTime != null) 'createTime': createTime!,
      if (dataStats != null) 'dataStats': dataStats!,
      if (deployedModels != null) 'deployedModels': deployedModels!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (etag != null) 'etag': etag!,
      if (explanationSpec != null) 'explanationSpec': explanationSpec!,
      if (labels != null) 'labels': labels!,
      if (metadata != null) 'metadata': metadata!,
      if (metadataArtifact != null) 'metadataArtifact': metadataArtifact!,
      if (metadataSchemaUri != null) 'metadataSchemaUri': metadataSchemaUri!,
      if (modelSourceInfo != null) 'modelSourceInfo': modelSourceInfo!,
      if (name != null) 'name': name!,
      if (originalModelInfo != null) 'originalModelInfo': originalModelInfo!,
      if (pipelineJob != null) 'pipelineJob': pipelineJob!,
      if (predictSchemata != null) 'predictSchemata': predictSchemata!,
      if (supportedDeploymentResourcesTypes != null)
        'supportedDeploymentResourcesTypes':
            supportedDeploymentResourcesTypes!,
      if (supportedExportFormats != null)
        'supportedExportFormats': supportedExportFormats!,
      if (supportedInputStorageFormats != null)
        'supportedInputStorageFormats': supportedInputStorageFormats!,
      if (supportedOutputStorageFormats != null)
        'supportedOutputStorageFormats': supportedOutputStorageFormats!,
      if (trainingPipeline != null) 'trainingPipeline': trainingPipeline!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (versionAliases != null) 'versionAliases': versionAliases!,
      if (versionCreateTime != null) 'versionCreateTime': versionCreateTime!,
      if (versionDescription != null)
        'versionDescription': versionDescription!,
      if (versionId != null) 'versionId': versionId!,
      if (versionUpdateTime != null) 'versionUpdateTime': versionUpdateTime!,
    };