Pool constructor
Pool({
- String? name,
- Iterable<
DoubleRangeFilter> ? doubleRangeFilters, - Iterable<
StringEqualsFilter> ? stringEqualsFilters, - Iterable<
TagPresentFilter> ? tagPresentFilters, - Timestamp? createdBefore,
- Timestamp? createdAfter,
Implementation
factory Pool({
$core.String? name,
$core.Iterable<DoubleRangeFilter>? doubleRangeFilters,
$core.Iterable<StringEqualsFilter>? stringEqualsFilters,
$core.Iterable<TagPresentFilter>? tagPresentFilters,
$7.Timestamp? createdBefore,
$7.Timestamp? createdAfter,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (doubleRangeFilters != null) {
_result.doubleRangeFilters.addAll(doubleRangeFilters);
}
if (stringEqualsFilters != null) {
_result.stringEqualsFilters.addAll(stringEqualsFilters);
}
if (tagPresentFilters != null) {
_result.tagPresentFilters.addAll(tagPresentFilters);
}
if (createdBefore != null) {
_result.createdBefore = createdBefore;
}
if (createdAfter != null) {
_result.createdAfter = createdAfter;
}
return _result;
}