TrainingJobMetadata constructor
TrainingJobMetadata({
- TrainingStatus? status,
- Timestamp? createdOn,
- Timestamp? lastModified,
- String? syncedModelId,
- String? id,
- Status? errorStatus,
- Timestamp? trainingStarted,
- Timestamp? trainingEnded,
- String? datasetId,
- String? organizationId,
- String? modelName,
- String? modelVersion,
- ModelType? modelType,
- Iterable<
String> ? tags, - ModelFramework? modelFramework,
- bool? isCustomJob,
- String? registryItemId,
- String? registryItemVersion,
Implementation
factory TrainingJobMetadata({
TrainingStatus? status,
$44.Timestamp? createdOn,
$44.Timestamp? lastModified,
$core.String? syncedModelId,
$core.String? id,
$46.Status? errorStatus,
$44.Timestamp? trainingStarted,
$44.Timestamp? trainingEnded,
$core.String? datasetId,
$core.String? organizationId,
$core.String? modelName,
$core.String? modelVersion,
ModelType? modelType,
$core.Iterable<$core.String>? tags,
ModelFramework? modelFramework,
$core.bool? isCustomJob,
$core.String? registryItemId,
$core.String? registryItemVersion,
}) {
final $result = create();
if (status != null) {
$result.status = status;
}
if (createdOn != null) {
$result.createdOn = createdOn;
}
if (lastModified != null) {
$result.lastModified = lastModified;
}
if (syncedModelId != null) {
$result.syncedModelId = syncedModelId;
}
if (id != null) {
$result.id = id;
}
if (errorStatus != null) {
$result.errorStatus = errorStatus;
}
if (trainingStarted != null) {
$result.trainingStarted = trainingStarted;
}
if (trainingEnded != null) {
$result.trainingEnded = trainingEnded;
}
if (datasetId != null) {
$result.datasetId = datasetId;
}
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 (modelFramework != null) {
$result.modelFramework = modelFramework;
}
if (isCustomJob != null) {
$result.isCustomJob = isCustomJob;
}
if (registryItemId != null) {
$result.registryItemId = registryItemId;
}
if (registryItemVersion != null) {
$result.registryItemVersion = registryItemVersion;
}
return $result;
}