violatedRestrictions property

List<ViolatedRestriction> violatedRestrictions
getter/setter pair

The following property violated_restrictions contains the notice detail information. Only three types of restrictions can have notice details: time dependent restriction, vehicle restriction and transport mode restriction. There is no one-to-one match of the SectionNotice.code and these three restriction types. For example, if SectionNotice.code is SectionNoticeCode.violatedVehicleRestriction, then it can be either vehicle restriction or transport mode restriction. If SectionNotice.code is SectionNoticeCode.seasonalClosure, then it is time dependent restriction. If the section notice is none of the above-mentioned three types, then this will be an empty list.

Implementation

List<ViolatedRestriction> violatedRestrictions;