ListRegistryItemsRequest constructor
Implementation
factory ListRegistryItemsRequest({
$core.String? organizationId,
$core.Iterable<$8.PackageType>? types,
$core.Iterable<Visibility>? visibilities,
$core.Iterable<$core.String>? platforms,
$core.Iterable<RegistryItemStatus>? statuses,
$core.String? searchTerm,
$core.String? pageToken,
$core.Iterable<$core.String>? publicNamespaces,
}) {
final $result = create();
if (organizationId != null) {
$result.organizationId = organizationId;
}
if (types != null) {
$result.types.addAll(types);
}
if (visibilities != null) {
$result.visibilities.addAll(visibilities);
}
if (platforms != null) {
$result.platforms.addAll(platforms);
}
if (statuses != null) {
$result.statuses.addAll(statuses);
}
if (searchTerm != null) {
$result.searchTerm = searchTerm;
}
if (pageToken != null) {
$result.pageToken = pageToken;
}
if (publicNamespaces != null) {
$result.publicNamespaces.addAll(publicNamespaces);
}
return $result;
}