IncidentsOptions

class IncidentsOptions

Electronic Horizon supports live incidents on a most probable path. To enable live incidents IncidentsOptions should be provided. If both graph and apiUrl are empty, live incidents are disabled (by default).

Parameters

graph

incidents provider graph name

apiUrl

LTS incidents service API url, if empty line is supplied will use default url

Types

Builder
Link copied to clipboard
class Builder
Build a new IncidentsOptions

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Regenerate whenever a change is made
hashCode
Link copied to clipboard
open override fun hashCode(): Int
Regenerate whenever a change is made
toBuilder
Link copied to clipboard
fun toBuilder(): IncidentsOptions.Builder
Get a builder to customize a subset of current options.
toString
Link copied to clipboard
open override fun toString(): String
Returns a string representation of the object.

Properties

apiUrl
Link copied to clipboard
val apiUrl: String
LTS incidents service API url, if empty line is supplied will use default url
graph
Link copied to clipboard
val graph: String
incidents provider graph name