Module constructor
Module({})
Implementation
factory Module({
$core.String? moduleId,
$core.String? name,
Visibility? visibility,
$core.Iterable<VersionHistory>? versions,
$core.String? url,
$core.String? description,
$core.Iterable<Model>? models,
$fixnum.Int64? totalRobotUsage,
$fixnum.Int64? totalOrganizationUsage,
$core.String? organizationId,
$core.String? entrypoint,
$core.String? publicNamespace,
$core.String? firstRun,
}) {
final $result = create();
if (moduleId != null) {
$result.moduleId = moduleId;
}
if (name != null) {
$result.name = name;
}
if (visibility != null) {
$result.visibility = visibility;
}
if (versions != null) {
$result.versions.addAll(versions);
}
if (url != null) {
$result.url = url;
}
if (description != null) {
$result.description = description;
}
if (models != null) {
$result.models.addAll(models);
}
if (totalRobotUsage != null) {
$result.totalRobotUsage = totalRobotUsage;
}
if (totalOrganizationUsage != null) {
$result.totalOrganizationUsage = totalOrganizationUsage;
}
if (organizationId != null) {
$result.organizationId = organizationId;
}
if (entrypoint != null) {
$result.entrypoint = entrypoint;
}
if (publicNamespace != null) {
$result.publicNamespace = publicNamespace;
}
if (firstRun != null) {
$result.firstRun = firstRun;
}
return $result;
}