Package-level declarations

Types

Link copied to clipboard
data class Route(val id: Int = INT_INVALID, val name: String = EMPTY_STR, val description: String = EMPTY_STR, val identification: String = EMPTY_STR, val status: PlaceStatusType = PlaceStatusType.UNKNOWN, val type: RouteType = RouteType.UNKNOWN, val distanceUnit: DistanceUnit = DistanceUnit.UNKNOWN, val totalDuration: String = EMPTY_STR, val totalDistance: Int = INT_INVALID, val routeInfo: List<RouteInfo> = emptyList(), val tripTypeIds: List<Int> = emptyList(), val companyId: Int = INT_INVALID, val addedOnDate: String = EMPTY_STR, val updateOnDate: String = EMPTY_STR)

Route is the data model for a route.

Link copied to clipboard
data class RouteFilters(val ids: List<Int>? = null, val names: List<String>? = null, val descriptions: List<String>? = null, val identifications: List<String>? = null, val status: List<PlaceStatusType>? = null, val types: List<RouteType>? = null, val distanceUnits: List<DistanceUnit>? = null, val totalDurations: List<String>? = null, val totalDistances: List<Int>? = null, val tripTypeIds: List<Int>? = null, val companyIds: List<Int>? = null, val addedOnDates: List<String>? = null, val updateOnDates: List<String>? = null)

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

Link copied to clipboard
data class RouteInfo(val originPortId: Int = INT_INVALID, val destinationPortId: Int = INT_INVALID, val duration: String = EMPTY_STR, val sequence: Int = INT_INVALID, val distance: Int = INT_INVALID, val segmentPolyline: String = EMPTY_STR)

RouteInfo is the specific internal record response for Route.

Link copied to clipboard
data class RouteOrderSort(val id: ApiSortType? = null, val name: ApiSortType? = null, val description: ApiSortType? = null, val identification: ApiSortType? = null, val status: ApiSortType? = null, val type: ApiSortType? = null, val distanceUnit: ApiSortType? = null, val totalDuration: ApiSortType? = null, val totalDistance: ApiSortType? = null, val routeInfo: ApiSortType? = null, val tripTypeIds: ApiSortType? = null, val companyId: ApiSortType? = null, val addedOnDate: ApiSortType? = null, val updateOnDate: ApiSortType? = null)

RouteOrderSort is a data class that represents the order to sort the Route registers on the API.