Array.<WeatherAlert>
WeatherData
Array.<WeatherData>
LocationDetails
Array.<WeatherData>
Array.<WeatherData>
WeatherServiceData
WeatherServiceData
WeatherServiceData
WeatherServiceData
WeatherServiceData
WeatherServiceData
Array.<WeatherAlert>
Get the Alerts
Kind: Instance method of WeatherServiceData
Returns: Array.<WeatherAlert>
- the KEY_ALERTS value
WeatherData
Get 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
LocationDetails
Get 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
WeatherServiceData
Set 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} |
WeatherServiceData
Set the CurrentForecast
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
forecast | WeatherData |
The desired CurrentForecast. |
WeatherServiceData
Set 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} |
WeatherServiceData
Set the Location
Kind: Instance method of WeatherServiceData
Returns: WeatherServiceData
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
location | LocationDetails |
The desired Location. |
WeatherServiceData
Set 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} |
WeatherServiceData
Set 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} |