Class SevereWeatherAlert

java.lang.Object
com.azure.maps.weather.models.SevereWeatherAlert

public final class SevereWeatherAlert extends Object
Information about a severe weather alert.
  • Method Details

    • getCountryCode

      public String getCountryCode()
      Get the countryCode property: 2-character ISO 3166-1 Alpha-2 country code, for example, "US".
      Returns:
      the countryCode value.
    • getAlertId

      public Integer getAlertId()
      Get the alertId property: A unique numerical identifier for a weather alert.
      Returns:
      the alertId value.
    • getDescription

      public SevereWeatherAlertDescription getDescription()
      Get the description property: Description of the alert.
      Returns:
      the description value.
    • getCategory

      public String getCategory()
      Get the category property: Category of the alert.
      Returns:
      the category value.
    • getPriority

      public Integer getPriority()
      Get the priority property: Number signifying the importance or ranking order of the given alert within the country/region it has originated. A lower number signifies a higher priority. For example, 1 is the highest priority. The number varies by country/region and can change over time as each country/region evolves their alert systems.
      Returns:
      the priority value.
    • getClassification

      public String getClassification()
      Get the classification property: Classification of the alert. This field is not available for all countries and therefore not always returned.
      Returns:
      the classification value.
    • getLevel

      public String getLevel()
      Get the level property: Severity level of the alert. This field is not available for all countries and therefore not always returned.
      Returns:
      the level value.
    • getSource

      public String getSource()
      Get the source property: The provider of the alert information. By default the source is returned in English (en-US). The alerts are from official Government Meteorological Agencies and leading global weather alert providers.
      Returns:
      the source value.
    • getSourceId

      public Integer getSourceId()
      Get the sourceId property: A numerical identifier associated with the source provider name of the alert data.
      Returns:
      the sourceId value.
    • getDisclaimer

      public String getDisclaimer()
      Get the disclaimer property: A disclaimer regarding the source of the alert information. This field is not always available. For example, disclaimer may include details about the delays or potential issues related to the alarm.
      Returns:
      the disclaimer value.
    • getAlertDetails

      public List<AlertDetails> getAlertDetails()
      Get the alertDetails property: Information about the alert specific to the affected area(s).
      Returns:
      the alertDetails value.