toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (completionStats != null) 'completionStats': completionStats!,
      if (createTime != null) 'createTime': createTime!,
      if (dedicatedResources != null)
        'dedicatedResources': dedicatedResources!,
      if (disableContainerLogging != null)
        'disableContainerLogging': disableContainerLogging!,
      if (displayName != null) 'displayName': displayName!,
      if (encryptionSpec != null) 'encryptionSpec': encryptionSpec!,
      if (endTime != null) 'endTime': endTime!,
      if (error != null) 'error': error!,
      if (explanationSpec != null) 'explanationSpec': explanationSpec!,
      if (generateExplanation != null)
        'generateExplanation': generateExplanation!,
      if (inputConfig != null) 'inputConfig': inputConfig!,
      if (instanceConfig != null) 'instanceConfig': instanceConfig!,
      if (labels != null) 'labels': labels!,
      if (manualBatchTuningParameters != null)
        'manualBatchTuningParameters': manualBatchTuningParameters!,
      if (model != null) 'model': model!,
      if (modelParameters != null) 'modelParameters': modelParameters!,
      if (modelVersionId != null) 'modelVersionId': modelVersionId!,
      if (name != null) 'name': name!,
      if (outputConfig != null) 'outputConfig': outputConfig!,
      if (outputInfo != null) 'outputInfo': outputInfo!,
      if (partialFailures != null) 'partialFailures': partialFailures!,
      if (resourcesConsumed != null) 'resourcesConsumed': resourcesConsumed!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (startTime != null) 'startTime': startTime!,
      if (state != null) 'state': state!,
      if (unmanagedContainerModel != null)
        'unmanagedContainerModel': unmanagedContainerModel!,
      if (updateTime != null) 'updateTime': updateTime!,
    };