Package com.aerisweather.aeris.response
Class LightningResponse
- java.lang.Object
- 
- com.aerisweather.aeris.response.AerisFriendlyResponse
- 
- com.aerisweather.aeris.response.LightningResponse
 
 
- 
 public class LightningResponse extends AerisFriendlyResponse 
- 
- 
Field Summary- 
Fields inherited from class com.aerisweather.aeris.response.AerisFriendlyResponseresponse
 
- 
 - 
Constructor SummaryConstructors Constructor Description LightningResponse(AerisDataJSON data)Initialize with aeris json data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get the id from the response.LightningObservationgetLightningObservation()Gets the lightning observation dataAerisLocationgetLocation()Gets the Aeris location from the response.- 
Methods inherited from class com.aerisweather.aeris.response.AerisFriendlyResponsegetDataSource, getPlace, getProfile, getProfileTimezone, getRelative
 
- 
 
- 
- 
- 
Constructor Detail- 
LightningResponsepublic LightningResponse(AerisDataJSON data) Initialize with aeris json data.- Parameters:
- data- data to initialize with.
 
 
- 
 - 
Method Detail- 
getIdpublic String getId() Description copied from class:AerisFriendlyResponseGet the id from the response.- Overrides:
- getIdin class- AerisFriendlyResponse
- Returns:
- the id for the response.
 
 - 
getLocationpublic AerisLocation getLocation() Description copied from class:AerisFriendlyResponseGets the Aeris location from the response.- Overrides:
- getLocationin class- AerisFriendlyResponse
- Returns:
- the location
 
 - 
getLightningObservationpublic LightningObservation getLightningObservation() Gets the lightning observation data- Returns:
- lightning observation data
 
 
- 
 
-