BadRoadConditions

class BadRoadConditions constructor(val hasPotholes: Boolean) : DetailedHazardInformation

Represents a hazard due to bad road conditions.

Constructors

Link copied to clipboard

Represents a hazard due to bad road conditions.

constructor(hasPotholes: Boolean)

Types

Link copied to clipboard
value class Cause

Represents the cause of the bad road conditions.

Properties

Link copied to clipboard

The causes of the bad road conditions.

Link copied to clipboard

true if bad road conditions are caused by potholes.

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