Package com.aerisweather.aeris.response
Class PostalcodesResponse
- java.lang.Object
-
- com.aerisweather.aeris.response.AerisFriendlyResponse
-
- com.aerisweather.aeris.response.PlacesResponse
-
- com.aerisweather.aeris.response.PostalcodesResponse
-
public class PostalcodesResponse extends PlacesResponse
Object to make theplaces/postalcodes
endpoint response more friendly to determine what parts of the AerisDataJSON have come back in the response.
-
-
Field Summary
-
Fields inherited from class com.aerisweather.aeris.response.AerisFriendlyResponse
response
-
-
Constructor Summary
Constructors Constructor Description PostalcodesResponse(AerisDataJSON data)
Constructor the the places/postalcodes response.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
Get the id from the response.-
Methods inherited from class com.aerisweather.aeris.response.PlacesResponse
getLocation, getPlace, getProfile, getRelative
-
Methods inherited from class com.aerisweather.aeris.response.AerisFriendlyResponse
getDataSource, getProfileTimezone
-
-
-
-
Constructor Detail
-
PostalcodesResponse
public PostalcodesResponse(AerisDataJSON data)
Constructor the the places/postalcodes response. Wraps the JSON data into a friendlier object to determine what data is available.- Parameters:
data
- JSON 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.
-
-