Array.<WeatherAlert>WeatherDataArray.<WeatherData>LocationDetailsArray.<WeatherData>Array.<WeatherData>WeatherServiceDataWeatherServiceDataWeatherServiceDataWeatherServiceDataWeatherServiceDataWeatherServiceDataArray.<WeatherAlert>Get the Alerts
Kind: Instance method of WeatherServiceData
Returns: Array.<WeatherAlert> - the KEY_ALERTS value
WeatherDataGet the CurrentForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherData - the KEY_CURRENT_FORECAST value
Array.<WeatherData>Get the HourlyForecast
Kind: Instance method of WeatherServiceData
Returns: Array.<WeatherData> - the KEY_HOURLY_FORECAST value
LocationDetailsGet the Location
Kind: Instance method of WeatherServiceData
Returns: LocationDetails - the KEY_LOCATION value
Array.<WeatherData>Get the MinuteForecast
Kind: Instance method of WeatherServiceData
Returns: Array.<WeatherData> - the KEY_MINUTE_FORECAST value
Array.<WeatherData>Get the MultidayForecast
Kind: Instance method of WeatherServiceData
Returns: Array.<WeatherData> - the KEY_MULTIDAY_FORECAST value
WeatherServiceDataSet the Alerts
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| alerts | Array.<WeatherAlert> |
This array should be ordered with the first object being the current day - The desired Alerts. {'array_min_size': 1, 'array_max_size': 10} |
WeatherServiceDataSet the CurrentForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| forecast | WeatherData |
The desired CurrentForecast. |
WeatherServiceDataSet the HourlyForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| forecast | Array.<WeatherData> |
The desired HourlyForecast. {'array_min_size': 1, 'array_max_size': 96} |
WeatherServiceDataSet the Location
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| location | LocationDetails |
The desired Location. |
WeatherServiceDataSet the MinuteForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| forecast | Array.<WeatherData> |
The desired MinuteForecast. {'array_min_size': 15, 'array_max_size': 60} |
WeatherServiceDataSet the MultidayForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData - The class instance for method chaining.
| Param | Type | Description |
|---|---|---|
| forecast | Array.<WeatherData> |
The desired MultidayForecast. {'array_min_size': 1, 'array_max_size': 30} |