Route
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.
Constructors
Link copied to clipboard
constructor(id: Int = INT_INVALID, name: String = EMPTY_STR, description: String = EMPTY_STR, identification: String = EMPTY_STR, status: PlaceStatusType = PlaceStatusType.UNKNOWN, type: RouteType = RouteType.UNKNOWN, distanceUnit: DistanceUnit = DistanceUnit.UNKNOWN, totalDuration: String = EMPTY_STR, totalDistance: Int = INT_INVALID, routeInfo: List<RouteInfo> = emptyList(), tripTypeIds: List<Int> = emptyList(), companyId: Int = INT_INVALID, addedOnDate: String = EMPTY_STR, updateOnDate: String = EMPTY_STR)
Properties
Link copied to clipboard
String The route added on.
Link copied to clipboard
String The route description.
Link copied to clipboard
DistanceUnit The route distance unit.
Link copied to clipboard
String The route identification.
Link copied to clipboard
PlaceStatusType The route status.
Link copied to clipboard
Int The route total distance.
Link copied to clipboard
String The route total duration.
Link copied to clipboard
Link copied to clipboard
String The route update on.