toJson method
Implementation
Map<String, dynamic> toJson() {
final maxAutoMLJobRuntimeInSeconds = this.maxAutoMLJobRuntimeInSeconds;
final maxCandidates = this.maxCandidates;
final maxRuntimePerTrainingJobInSeconds =
this.maxRuntimePerTrainingJobInSeconds;
return {
if (maxAutoMLJobRuntimeInSeconds != null)
'MaxAutoMLJobRuntimeInSeconds': maxAutoMLJobRuntimeInSeconds,
if (maxCandidates != null) 'MaxCandidates': maxCandidates,
if (maxRuntimePerTrainingJobInSeconds != null)
'MaxRuntimePerTrainingJobInSeconds': maxRuntimePerTrainingJobInSeconds,
};
}