Filter constructor
Filter({
- String? componentName,
- String? componentType,
- String? method,
- String? robotName,
- String? robotId,
- String? partName,
- String? partId,
- Iterable<
String> ? locationIds, - Iterable<
String> ? organizationIds, - Iterable<
String> ? mimeType, - CaptureInterval? interval,
- TagsFilter? tagsFilter,
- Iterable<
String> ? bboxLabels, - String? datasetId,
Implementation
factory Filter({
$core.String? componentName,
$core.String? componentType,
$core.String? method,
$core.String? robotName,
$core.String? robotId,
$core.String? partName,
$core.String? partId,
$core.Iterable<$core.String>? locationIds,
$core.Iterable<$core.String>? organizationIds,
$core.Iterable<$core.String>? mimeType,
CaptureInterval? interval,
TagsFilter? tagsFilter,
$core.Iterable<$core.String>? bboxLabels,
$core.String? datasetId,
}) {
final $result = create();
if (componentName != null) {
$result.componentName = componentName;
}
if (componentType != null) {
$result.componentType = componentType;
}
if (method != null) {
$result.method = method;
}
if (robotName != null) {
$result.robotName = robotName;
}
if (robotId != null) {
$result.robotId = robotId;
}
if (partName != null) {
$result.partName = partName;
}
if (partId != null) {
$result.partId = partId;
}
if (locationIds != null) {
$result.locationIds.addAll(locationIds);
}
if (organizationIds != null) {
$result.organizationIds.addAll(organizationIds);
}
if (mimeType != null) {
$result.mimeType.addAll(mimeType);
}
if (interval != null) {
$result.interval = interval;
}
if (tagsFilter != null) {
$result.tagsFilter = tagsFilter;
}
if (bboxLabels != null) {
$result.bboxLabels.addAll(bboxLabels);
}
if (datasetId != null) {
$result.datasetId = datasetId;
}
return $result;
}