CompanyFilters

data class CompanyFilters(val ids: List<Int>? = null, val names: List<String>? = null)

CompanyFilters is a data class that represents the filters to apply on the API search to get the Company registers.

Note: The filter query depends on the ApiLogicalOperator configured in the search. And this operator will be used to join the filters.

Example: if the operator is ApiLogicalOperator.AND, then the query will be like: id1 AND id2 AND id3 AND ... AND name1 AND name2 AND name3... If the operator is ApiLogicalOperator.OR, then the query will be like: id1 OR id2 OR id3 OR ... OR name1 OR name2 OR name3...

Constructors

Link copied to clipboard
constructor(ids: List<Int>? = null, names: List<String>? = null)

Properties

Link copied to clipboard
val ids: List<Int>? = null

List<Int> the ids of the companies to search/filter. If null, it will be ignored.

Link copied to clipboard
val names: List<String>? = null

List<String> the names of the companies to search/filter. If null, it will be ignored.