SubmitCustomTrainingJobRequest constructor

SubmitCustomTrainingJobRequest({
  1. String? datasetId,
  2. String? registryItemId,
  3. String? organizationId,
  4. String? modelName,
  5. String? modelVersion,
  6. String? registryItemVersion,
  7. Map<String, String>? arguments,
})

Implementation

factory SubmitCustomTrainingJobRequest({
  $core.String? datasetId,
  $core.String? registryItemId,
  $core.String? organizationId,
  $core.String? modelName,
  $core.String? modelVersion,
  $core.String? registryItemVersion,
  $core.Map<$core.String, $core.String>? arguments,
}) {
  final $result = create();
  if (datasetId != null) {
    $result.datasetId = datasetId;
  }
  if (registryItemId != null) {
    $result.registryItemId = registryItemId;
  }
  if (organizationId != null) {
    $result.organizationId = organizationId;
  }
  if (modelName != null) {
    $result.modelName = modelName;
  }
  if (modelVersion != null) {
    $result.modelVersion = modelVersion;
  }
  if (registryItemVersion != null) {
    $result.registryItemVersion = registryItemVersion;
  }
  if (arguments != null) {
    $result.arguments.addAll(arguments);
  }
  return $result;
}