ObjectsOnRoad

class ObjectsOnRoad(val animal: Boolean?, val people: Boolean?) : DetailedHazardInformation

Represents a hazard due to objects on the road.

Constructors

Link copied to clipboard
constructor(animal: Boolean?, people: Boolean?)

Properties

Link copied to clipboard

True if the obstacle is one or more animals. False otherwise. This property is null in the absence of the information about the nature of an obstacle.

Link copied to clipboard

True if the obstacle is caused by people. False otherwise. This property is null in the absence of the information about the nature of an obstacle.

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