open class NativeSection : Serializable
Represents information about the route section.
NativeSection() NativeSection(startPointIndex: Int!, endPointIndex: Int!, travelMode: NativeTravelMode!, sectionType: NativeSectionType!, countryCode: String!, simpleCategory: NativeSectionSimpleCategory!, effectiveSpeedInKmh: Int!, delay: Seconds!, magnitudeOfDelay: Int!, tec: NativeTec!) |
open fun getCountryCode(): Optional<String!>!
Returns the 3-character ISO 3166-1 alpha-3 country code. |
|
open fun getDelay(): Optional<Seconds!>!
Returns the delay in seconds caused by the incident. |
|
open fun getEffectiveSpeedInKmh(): Optional<Int!>!
Returns the effective speed of the incident in km/h, averaged over its entire length. |
|
open fun getEndPointIndex(): Optional<Int!>!
Returns the index of the last point in the route this section applies to. |
|
open fun getMagnitudeOfDelay(): Optional<Int!>!
Returns the magnitude of delay caused by the incident. |
|
open fun getSectionType(): Optional<NativeSectionType!>!
Returns the response section type. |
|
open fun getSimpleCategory(): Optional<NativeSectionSimpleCategory!>!
Returns the type of the incident. |
|
open fun getStartPointIndex(): Optional<Int!>!
Returns the index of the first point in the route this section applies to. |
|
open fun getTec(): Optional<NativeTec!>!
Returns the details of the traffic event. |
|
open fun getTravelMode(): Optional<NativeTravelMode!>!
Returns the requested travel mode. |
|
open fun toString(): String |