toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() {
final baseModel = this.baseModel;
final createTime = this.createTime;
final description = this.description;
final encryptionSpec = this.encryptionSpec;
final endTime = this.endTime;
final error = this.error;
final experiment = this.experiment;
final labels = this.labels;
final name = this.name;
final preTunedModel = this.preTunedModel;
final preferenceOptimizationSpec = this.preferenceOptimizationSpec;
final serviceAccount = this.serviceAccount;
final startTime = this.startTime;
final state = this.state;
final supervisedTuningSpec = this.supervisedTuningSpec;
final tunedModel = this.tunedModel;
final tunedModelDisplayName = this.tunedModelDisplayName;
final tuningDataStats = this.tuningDataStats;
final updateTime = this.updateTime;
return {
'baseModel': ?baseModel,
'createTime': ?createTime,
'description': ?description,
'encryptionSpec': ?encryptionSpec,
'endTime': ?endTime,
'error': ?error,
'experiment': ?experiment,
'labels': ?labels,
'name': ?name,
'preTunedModel': ?preTunedModel,
'preferenceOptimizationSpec': ?preferenceOptimizationSpec,
'serviceAccount': ?serviceAccount,
'startTime': ?startTime,
'state': ?state,
'supervisedTuningSpec': ?supervisedTuningSpec,
'tunedModel': ?tunedModel,
'tunedModelDisplayName': ?tunedModelDisplayName,
'tuningDataStats': ?tuningDataStats,
'updateTime': ?updateTime,
};
}