RouteResultSection interface

An interface representing RouteResultSection.

Properties

delayInSeconds

Delay in seconds caused by the incident. NOTE: This property will not be serialized. It can only be populated by the server.

effectiveSpeedInKmh

Effective speed of the incident in km/h, averaged over its entire length. NOTE: This property will not be serialized. It can only be populated by the server.

endPointIndex

End Point Index property NOTE: This property will not be serialized. It can only be populated by the server.

magnitudeOfDelay

The magnitude of delay caused by the incident. These values correspond to the values of the response field of the Get Traffic Incident Detail API. Possible values include: '0', '1', '2', '3', '4' NOTE: This property will not be serialized. It can only be populated by the server.

sectionType

Section Type property NOTE: This property will not be serialized. It can only be populated by the server.

simpleCategory

Type of the incident. Can currently be JAM, ROAD_WORK, ROAD_CLOSURE, or OTHER. See "tec" for detailed information. NOTE: This property will not be serialized. It can only be populated by the server.

startPointIndex

Start Point Index property NOTE: This property will not be serialized. It can only be populated by the server.

tec
travelMode

Travel Mode property NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

delayInSeconds

Delay in seconds caused by the incident. NOTE: This property will not be serialized. It can only be populated by the server.

delayInSeconds?: number

Property Value

number

effectiveSpeedInKmh

Effective speed of the incident in km/h, averaged over its entire length. NOTE: This property will not be serialized. It can only be populated by the server.

effectiveSpeedInKmh?: number

Property Value

number

endPointIndex

End Point Index property NOTE: This property will not be serialized. It can only be populated by the server.

endPointIndex?: number

Property Value

number

magnitudeOfDelay

The magnitude of delay caused by the incident. These values correspond to the values of the response field of the Get Traffic Incident Detail API. Possible values include: '0', '1', '2', '3', '4' NOTE: This property will not be serialized. It can only be populated by the server.

magnitudeOfDelay?: MagnitudeOfDelay

Property Value

sectionType

Section Type property NOTE: This property will not be serialized. It can only be populated by the server.

sectionType?: string

Property Value

string

simpleCategory

Type of the incident. Can currently be JAM, ROAD_WORK, ROAD_CLOSURE, or OTHER. See "tec" for detailed information. NOTE: This property will not be serialized. It can only be populated by the server.

simpleCategory?: string

Property Value

string

startPointIndex

Start Point Index property NOTE: This property will not be serialized. It can only be populated by the server.

startPointIndex?: number

Property Value

number

tec

tec?: RouteResultSectionTec

Property Value

travelMode

Travel Mode property NOTE: This property will not be serialized. It can only be populated by the server.

travelMode?: string

Property Value

string