TrafficIncidentsQueryOptions (API Reference)
Class TrafficIncidentsQueryOptions
The options to specify how incidents should be queried.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe earliest start time of incidents to be queried.The list of incident impacts to be queried.The language code of the query.The latest end time of incidents to be queried.The list of incident types to be queried. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
typeFilter
The list of incident types to be queried. If the list is empty, all types will be queried.
-
impactFilter
The list of incident impacts to be queried. If the list is empty, all incident impacts will be queried.
-
earliestStartTime
The earliest start time of incidents to be queried. If the value is null filtering by the earliest start time is not applied.
-
latestEndTime
The latest end time of incidents to be queried. If the value is null filtering by the latest end time is not applied.
-
languageCode
The language code of the query. It's the expected language of fields
TrafficIncidentBase.getDescription()andTrafficIncident.getSummary()in the relevant response. However, the language code doesn't impact onTrafficLocation.description. If the language code is null or not supported then response fields are expected in the original language of the country that the incident belongs to.
-
-
Constructor Details
-
TrafficIncidentsQueryOptions
public TrafficIncidentsQueryOptions()Creates a new instance with default values.
-
-
Method Details