Package com.aerisweather.aeris.response
Class AirQualityResponse
- java.lang.Object
-
- com.aerisweather.aeris.response.AerisFriendlyResponse
-
- com.aerisweather.aeris.response.AirQualityResponse
-
public class AirQualityResponse extends AerisFriendlyResponse
-
-
Field Summary
-
Fields inherited from class com.aerisweather.aeris.response.AerisFriendlyResponse
response
-
-
Constructor Summary
Constructors Constructor Description AirQualityResponse(AerisDataJSON data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the id from the response.AerisLocation
getLocation()
Gets the Aeris location from the response.List<Period>
getPeriods()
Place
getPlace()
Get the place from the responseProfile
getProfile()
Get the profile for this response.-
Methods inherited from class com.aerisweather.aeris.response.AerisFriendlyResponse
getDataSource, getProfileTimezone, getRelative
-
-
-
-
Constructor Detail
-
AirQualityResponse
public AirQualityResponse(AerisDataJSON data)
-
-
Method Detail
-
getId
public String getId()
Description copied from class:AerisFriendlyResponse
Get the id from the response.- Overrides:
getId
in classAerisFriendlyResponse
- Returns:
- the id for the response.
-
getLocation
public AerisLocation getLocation()
Description copied from class:AerisFriendlyResponse
Gets the Aeris location from the response.- Overrides:
getLocation
in classAerisFriendlyResponse
- Returns:
- the location
-
getPlace
public Place getPlace()
Description copied from class:AerisFriendlyResponse
Get the place from the response- Overrides:
getPlace
in classAerisFriendlyResponse
- Returns:
- The place
-
getProfile
public Profile getProfile()
Description copied from class:AerisFriendlyResponse
Get the profile for this response.- Overrides:
getProfile
in classAerisFriendlyResponse
- Returns:
- The profile
-
-