toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (dataState != null) 'dataState': dataState!,
      if (displayName != null) 'displayName': displayName!,
      if (filteringOption != null) 'filteringOption': filteringOption!,
      if (lastTuneTime != null) 'lastTuneTime': lastTuneTime!,
      if (modelFeaturesConfig != null)
        'modelFeaturesConfig': modelFeaturesConfig!,
      if (name != null) 'name': name!,
      if (optimizationObjective != null)
        'optimizationObjective': optimizationObjective!,
      if (periodicTuningState != null)
        'periodicTuningState': periodicTuningState!,
      if (servingConfigLists != null)
        'servingConfigLists': servingConfigLists!,
      if (servingState != null) 'servingState': servingState!,
      if (trainingState != null) 'trainingState': trainingState!,
      if (tuningOperation != null) 'tuningOperation': tuningOperation!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
    };