PortFilters

data class PortFilters(val ids: List<Int>? = null, val names: List<String>? = null, val descriptions: List<String>? = null, val identifications: List<String>? = null, val countries: List<String>? = null, val departments: List<String>? = null, val cities: List<String>? = null, val address: List<String>? = null, val latitudes: List<Double>? = null, val longitudes: List<Double>? = null, val dockIds: List<Int>? = null, val entranceRadiusMeters: List<Int>? = null, val departureRadiusMeters: List<Int>? = null, val status: List<PlaceStatusType>? = null, val companyIds: List<Int>? = null, val addedOnDates: List<String>? = null, val updateOnDates: List<String>? = null)

PortFilters is a data class that represents the filters to apply on the API search to get the Port 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, descriptions: List<String>? = null, identifications: List<String>? = null, countries: List<String>? = null, departments: List<String>? = null, cities: List<String>? = null, address: List<String>? = null, latitudes: List<Double>? = null, longitudes: List<Double>? = null, dockIds: List<Int>? = null, entranceRadiusMeters: List<Int>? = null, departureRadiusMeters: List<Int>? = null, status: List<PlaceStatusType>? = null, companyIds: List<Int>? = null, addedOnDates: List<String>? = null, updateOnDates: List<String>? = null)

Properties

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

List<String> the added on dates of the ports to search/filter. If null, it will be ignored.

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

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

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

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

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

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

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

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

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

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

Link copied to clipboard

List<Int> the departure radius meters of the ports to search/filter. If null, it will be ignored.

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

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

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

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

Link copied to clipboard

List<Int> the entrance radius meters of the ports to search/filter. If null, it will be ignored.

Link copied to clipboard

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

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

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

Link copied to clipboard
val latitudes: List<Double>? = null

List<Double> the latitudes of the ports to search/filter. If null, it will be ignored.

Link copied to clipboard
val longitudes: List<Double>? = null

List<Double> the longitudes of the ports to search/filter. If null, it will be ignored.

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

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

Link copied to clipboard

List<PlaceStatusType> the status of the ports to search/filter. If null, it will be ignored.

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

List<String> the update on dates of the ports to search/filter. If null, it will be ignored.