ORS Android Client
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
ORS Android Client
ORS Android Client
/
org.nitri.ors.domain.optimization
/
OptimizationRequestBuilder
Optimization
Request
Builder
class
OptimizationRequestBuilder
Builder used by
optimizationRequest
.
Members
Constructors
Optimization
Request
Builder
Link copied to clipboard
constructor
(
)
Functions
build
Link copied to clipboard
fun
build
(
)
:
OptimizationRequest
job
Link copied to clipboard
fun
job
(
id
:
Int
,
locationLon
:
Double
?
=
null
,
locationLat
:
Double
?
=
null
,
service
:
Int
?
=
null
,
priority
:
Int
?
=
null
)
:
<Error class: unknown class>
matrices
Link copied to clipboard
fun
matrices
(
m
:
Map
<
String
,
CustomMatrix
>
?
)
:
<Error class: unknown class>
options
Link copied to clipboard
fun
options
(
o
:
Map
<
String
,
JsonElement
>
?
)
:
<Error class: unknown class>
shipment
Link copied to clipboard
fun
shipment
(
id
:
Int
,
pickupLon
:
Double
,
pickupLat
:
Double
,
deliveryLon
:
Double
,
deliveryLat
:
Double
,
servicePickup
:
Int
?
=
null
,
serviceDelivery
:
Int
?
=
null
)
:
<Error class: unknown class>
vehicle
Link copied to clipboard
fun
vehicle
(
id
:
Int
,
profile
:
String
,
startLon
:
Double
?
=
null
,
startLat
:
Double
?
=
null
,
endLon
:
Double
?
=
null
,
endLat
:
Double
?
=
null
,
capacity
:
List
<
Int
>
?
=
null
)
:
<Error class: unknown class>