Class TrafficIncidentPointOfInterest

java.lang.Object
com.azure.maps.traffic.models.TrafficIncidentPointOfInterest

public final class TrafficIncidentPointOfInterest extends Object
The TrafficIncidentPointOfInterest model.
  • Method Details

    • getId

      public String getId()
      Get the id property: ID of the traffic incident.
      Returns:
      the id value.
    • getPoint

      public MapsPoint getPoint()
      Get the point property: The point where an icon of the cluster or raw incident should be drawn, expressed in the requested projection. This is affected by traffic style, zoom level and road type.
      Returns:
      the point value.
    • getIconCategory

      public IconCategory getIconCategory()
      Get the iconCategory property: The icon category associated with this incident. Values are numbers in the range 0-13, with the following meanings -- 0: Unknown, 1: Accident, 2: Fog, 3: Dangerous Conditions, 4: Rain, 5: Ice, 6: Jam, 7: Lane Closed, 8: Road Closed, 9: Road Works, 10: Wind, 11: Flooding, 12: Detour, 13: Cluster.
      Returns:
      the iconCategory value.
    • getMagnitudeOfDelay

      public DelayMagnitude getMagnitudeOfDelay()
      Get the magnitudeOfDelay property: The magnitude of delay associated with incident. These values correspond to incident colors in the traffic tiles.
      Returns:
      the magnitudeOfDelay value.
    • getBottomLeftCoordinate

      public MapsPoint getBottomLeftCoordinate()
      Get the bottomLeftCoordinate property: Bottom left coordinate of the cluster in the projection of the request.
      Returns:
      the bottomLeftCoordinate value.
    • getTopLeftCoordinate

      public MapsPoint getTopLeftCoordinate()
      Get the topLeftCoordinate property: Top right coordinate of the cluster in the projection of the request.
      Returns:
      the topLeftCoordinate value.
    • getClusterSize

      public Integer getClusterSize()
      Get the clusterSize property: Cluster size: the number of incidents in the cluster.
      Returns:
      the clusterSize value.
    • getLengthInMeters

      public Integer getLengthInMeters()
      Get the lengthInMeters property: Length of the incident in meters.
      Returns:
      the lengthInMeters value.
    • getRoadNumbers

      public String getRoadNumbers()
      Get the roadNumbers property: The road number(s) affected by the incident. Multiple road numbers will delimited by slashes.
      Returns:
      the roadNumbers value.
    • getStartDate

      public OffsetDateTime getStartDate()
      Get the startDate property: Start date of the incident, if available. The date is described in the ISO8601 format.
      Returns:
      the startDate value.
    • getEndDate

      public OffsetDateTime getEndDate()
      Get the endDate property: Estimated end date of the incident, if available. The date is described in the ISO8601 format.
      Returns:
      the endDate value.
    • getDelayInSeconds

      public Integer getDelayInSeconds()
      Get the delayInSeconds property: Delay caused by the incident in seconds (except in road closures).
      Returns:
      the delayInSeconds value.
    • getTrafficEndLocation

      public String getTrafficEndLocation()
      Get the trafficEndLocation property: To: the name of the intersection or location where the traffic due to the incident ends.
      Returns:
      the trafficEndLocation value.
    • getTrafficStartLocation

      public String getTrafficStartLocation()
      Get the trafficStartLocation property: From: the name of the intersection or location where the traffic due to the incident starts.
      Returns:
      the trafficStartLocation value.
    • getDescription

      public String getDescription()
      Get the description property: Description of the incident in the language requested.
      Returns:
      the description value.
    • getCause

      public String getCause()
      Get the cause property: Cause of the incident, where available, in the language requested.
      Returns:
      the cause value.