AutoMLJobCompletionCriteria.fromJson constructor

AutoMLJobCompletionCriteria.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AutoMLJobCompletionCriteria.fromJson(Map<String, dynamic> json) {
  return AutoMLJobCompletionCriteria(
    maxAutoMLJobRuntimeInSeconds:
        json['MaxAutoMLJobRuntimeInSeconds'] as int?,
    maxCandidates: json['MaxCandidates'] as int?,
    maxRuntimePerTrainingJobInSeconds:
        json['MaxRuntimePerTrainingJobInSeconds'] as int?,
  );
}