Sections

class Sections

The collection of all sections of a route.

Constructors

Link copied to clipboard
constructor(laneSections: List<LaneSection> = emptyList(), trafficSections: List<TrafficSection> = emptyList(), vehicleRestrictedSections: List<VehicleRestrictedSection> = emptyList(), speedLimitSections: List<SpeedLimitSection> = emptyList(), carpoolSections: List<CarpoolSection> = emptyList(), carTrainSections: List<CarTrainSection> = emptyList(), countrySections: List<CountrySection> = emptyList(), ferrySections: List<FerrySection> = emptyList(), lowEmissionZoneSections: List<LowEmissionZoneSection> = emptyList(), motorwaySections: List<MotorwaySection> = emptyList(), pedestrianSections: List<PedestrianSection> = emptyList(), roadShieldSections: List<RoadShieldSection> = emptyList(), tollSections: List<TollSection> = emptyList(), tollVignetteSections: List<TollVignetteSection> = emptyList(), tunnelSections: List<TunnelSection> = emptyList(), unpavedSections: List<UnpavedSection> = emptyList(), urbanSections: List<UrbanSection> = emptyList())
constructor(laneSections: List<LaneSection> = emptyList(), trafficSections: List<TrafficSection> = emptyList(), vehicleRestrictedSections: List<VehicleRestrictedSection> = emptyList(), speedLimitSections: List<SpeedLimitSection> = emptyList(), carpoolSections: List<CarpoolSection> = emptyList(), carTrainSections: List<CarTrainSection> = emptyList(), countrySections: List<CountrySection> = emptyList(), ferrySections: List<FerrySection> = emptyList(), lowEmissionZoneSections: List<LowEmissionZoneSection> = emptyList(), motorwaySections: List<MotorwaySection> = emptyList(), pedestrianSections: List<PedestrianSection> = emptyList(), roadShieldSections: List<RoadShieldSection> = emptyList(), tollRoadSections: List<TollRoadSection> = emptyList(), tollVignetteSections: List<TollVignetteSection> = emptyList(), tunnelSections: List<TunnelSection> = emptyList(), unpavedSections: List<UnpavedSection> = emptyList(), urbanSections: List<UrbanSection> = emptyList(), tollSections: List<TollSection> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun component1(): List<LaneSection>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun component15(): List<TunnelSection>
Link copied to clipboard
Link copied to clipboard
operator fun component17(): List<UrbanSection>
Link copied to clipboard
operator fun component2(): List<TrafficSection>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
operator fun component5(): List<CarpoolSection>
Link copied to clipboard
Link copied to clipboard
operator fun component7(): List<CountrySection>
Link copied to clipboard
operator fun component8(): List<FerrySection>
Link copied to clipboard
Link copied to clipboard
fun copy(laneSections: List<LaneSection> = this.laneSections, trafficSections: List<TrafficSection> = this.trafficSections, vehicleRestrictedSections: List<VehicleRestrictedSection> = this.vehicleRestrictedSections, speedLimitSections: List<SpeedLimitSection> = this.speedLimitSections, carpoolSections: List<CarpoolSection> = this.carpoolSections, carTrainSections: List<CarTrainSection> = this.carTrainSections, countrySections: List<CountrySection> = this.countrySections, ferrySections: List<FerrySection> = this.ferrySections, lowEmissionZoneSections: List<LowEmissionZoneSection> = this.lowEmissionZoneSections, motorwaySections: List<MotorwaySection> = this.motorwaySections, pedestrianSections: List<PedestrianSection> = this.pedestrianSections, roadShieldSections: List<RoadShieldSection> = this.roadShieldSections, tollRoadSections: List<TollRoadSection> = this.tollRoadSections, tollVignetteSections: List<TollVignetteSection> = this.tollVignetteSections, tunnelSections: List<TunnelSection> = this.tunnelSections, unpavedSections: List<UnpavedSection> = this.unpavedSections, urbanSections: List<UrbanSection> = this.urbanSections, tollSections: List<TollSection> = this.tollSections): Sections

Creates a copy of the object, with the option to modify some of its properties.

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

Indicates whether another object is equal to this one.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.