DangerousGoodsRestriction

class DangerousGoodsRestriction(    val id: Int,     val pathId: Int,     val startOffset: Distance,     val endOffset: Distance,     val restrictions: List<DangerousGoodsRestrictionData>) : HorizonElement

Describes dangerous goods restrictions on the horizon element.

Important: This is a Public Preview API. It may be changed or removed at any time.

Parameters

id

Identifier of this element.

pathId

Identifier of the path this element belongs to.

startOffset

Start offset on the path.

endOffset

End offset on the path.

restrictions

A list of dangerous goods restrictions.

Constructors

Link copied to clipboard
constructor(id: Int, pathId: Int, startOffset: Distance, endOffset: Distance, restrictions: List<DangerousGoodsRestrictionData>)

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
open override val endOffset: Distance
Link copied to clipboard
open override val id: Int
Link copied to clipboard
open override val pathId: Int
Link copied to clipboard
open override val startOffset: Distance