RegistryItem constructor
RegistryItem({
- String? itemId,
- String? organizationId,
- String? publicNamespace,
- String? name,
- PackageType? type,
- Visibility? visibility,
- String? url,
- String? description,
- Int64? totalRobotUsage,
- Int64? totalOrganizationUsage,
- ModuleMetadata? moduleMetadata,
- MLModelMetadata? mlModelMetadata,
- Int64? totalExternalRobotUsage,
- Int64? totalExternalOrganizationUsage,
- Timestamp? createdAt,
- Timestamp? updatedAt,
- MLTrainingMetadata? mlTrainingMetadata,
Implementation
factory RegistryItem({
$core.String? itemId,
$core.String? organizationId,
$core.String? publicNamespace,
$core.String? name,
$8.PackageType? type,
Visibility? visibility,
$core.String? url,
$core.String? description,
$fixnum.Int64? totalRobotUsage,
$fixnum.Int64? totalOrganizationUsage,
ModuleMetadata? moduleMetadata,
MLModelMetadata? mlModelMetadata,
$fixnum.Int64? totalExternalRobotUsage,
$fixnum.Int64? totalExternalOrganizationUsage,
$44.Timestamp? createdAt,
$44.Timestamp? updatedAt,
MLTrainingMetadata? mlTrainingMetadata,
}) {
final $result = create();
if (itemId != null) {
$result.itemId = itemId;
}
if (organizationId != null) {
$result.organizationId = organizationId;
}
if (publicNamespace != null) {
$result.publicNamespace = publicNamespace;
}
if (name != null) {
$result.name = name;
}
if (type != null) {
$result.type = type;
}
if (visibility != null) {
$result.visibility = visibility;
}
if (url != null) {
$result.url = url;
}
if (description != null) {
$result.description = description;
}
if (totalRobotUsage != null) {
$result.totalRobotUsage = totalRobotUsage;
}
if (totalOrganizationUsage != null) {
$result.totalOrganizationUsage = totalOrganizationUsage;
}
if (moduleMetadata != null) {
$result.moduleMetadata = moduleMetadata;
}
if (mlModelMetadata != null) {
$result.mlModelMetadata = mlModelMetadata;
}
if (totalExternalRobotUsage != null) {
$result.totalExternalRobotUsage = totalExternalRobotUsage;
}
if (totalExternalOrganizationUsage != null) {
$result.totalExternalOrganizationUsage = totalExternalOrganizationUsage;
}
if (createdAt != null) {
$result.createdAt = createdAt;
}
if (updatedAt != null) {
$result.updatedAt = updatedAt;
}
if (mlTrainingMetadata != null) {
$result.mlTrainingMetadata = mlTrainingMetadata;
}
return $result;
}