SubmitTrainingJobRequest constructor

SubmitTrainingJobRequest({
  1. String? organizationId,
  2. String? modelName,
  3. String? modelVersion,
  4. ModelType? modelType,
  5. Iterable<String>? tags,
  6. String? datasetId,
})

Implementation

factory SubmitTrainingJobRequest({
  $core.String? organizationId,
  $core.String? modelName,
  $core.String? modelVersion,
  ModelType? modelType,
  $core.Iterable<$core.String>? tags,
  $core.String? datasetId,
}) {
  final $result = create();
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (modelName != null) {
    $result.modelName = modelName;
  }
  if (modelVersion != null) {
    $result.modelVersion = modelVersion;
  }
  if (modelType != null) {
    $result.modelType = modelType;
  }
  if (tags != null) {
    $result.tags.addAll(tags);
  }
  if (datasetId != null) {
    $result.datasetId = datasetId;
  }
  return $result;
}