UpdateRegistryItemRequest constructor
Implementation
factory UpdateRegistryItemRequest({
$core.String? itemId,
$9.PackageType? type,
$core.String? description,
Visibility? visibility,
$core.String? url,
UpdateModuleMetadata? moduleUpdateMetadata,
UpdateMLModelMetadata? mlModelUpdateMetadata,
UpdateMLTrainingMetadata? mlTrainingUpdateMetadata,
}) {
final $result = create();
if (itemId != null) {
$result.itemId = itemId;
}
if (type != null) {
$result.type = type;
}
if (description != null) {
$result.description = description;
}
if (visibility != null) {
$result.visibility = visibility;
}
if (url != null) {
$result.url = url;
}
if (moduleUpdateMetadata != null) {
$result.moduleUpdateMetadata = moduleUpdateMetadata;
}
if (mlModelUpdateMetadata != null) {
$result.mlModelUpdateMetadata = mlModelUpdateMetadata;
}
if (mlTrainingUpdateMetadata != null) {
$result.mlTrainingUpdateMetadata = mlTrainingUpdateMetadata;
}
return $result;
}