ListRegistryItemsRequest constructor
ListRegistryItemsRequest({
- String? organizationId,
- Iterable<
PackageType> ? types, - Iterable<
Visibility> ? visibilities, - Iterable<
String> ? platforms, - Iterable<
RegistryItemStatus> ? statuses, - String? searchTerm,
- String? pageToken,
- Iterable<
String> ? publicNamespaces,
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;
}