Builder

class Builder(id: String)

Builder class for creating Incident instances.

Parameters

id

Unique identifier for incident.

Constructors

Link copied to clipboard
constructor(id: String)

Functions

Link copied to clipboard

Builds an Incident instance with the current builder values.

Link copied to clipboard

Sets the AlertC codes.

Link copied to clipboard

Sets the closed status.

Link copied to clipboard

Sets the congestion.

Link copied to clipboard

Sets the creation time.

Link copied to clipboard

Sets the description.

Link copied to clipboard

Sets the end time.

Link copied to clipboard
fun withGeometryIndexEnd(geometryIndexEnd: Int?): Incident.Builder

Sets the geometry index end point.

Link copied to clipboard
fun withGeometryIndexStart(geometryIndexStart: Int?): Incident.Builder

Sets the geometry index start point.

Link copied to clipboard

Sets the impact.

Link copied to clipboard

Sets the long description.

Link copied to clipboard

Sets the start time.

Link copied to clipboard

Sets the sub-type.

Link copied to clipboard

Sets the sub-type description.

Link copied to clipboard

Sets the type.