Filter constructor

Filter({
  1. String? componentName,
  2. String? componentType,
  3. String? method,
  4. String? robotName,
  5. String? robotId,
  6. String? partName,
  7. String? partId,
  8. Iterable<String>? locationIds,
  9. Iterable<String>? organizationIds,
  10. Iterable<String>? mimeType,
  11. CaptureInterval? interval,
  12. TagsFilter? tagsFilter,
  13. Iterable<String>? bboxLabels,
  14. 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;
}