Class AerisFriendlyResponse

    • Field Detail

      • response

        protected AerisDataJSON response
        Data to allow access to.
    • Constructor Detail

      • AerisFriendlyResponse

        public AerisFriendlyResponse​(AerisDataJSON data)
        Constructor to hold the AerisDataJSON.
        Parameters:
        data - the JSON
    • Method Detail

      • getId

        public String getId()
        Get the id from the response.
        Returns:
        the id for the response.
      • getDataSource

        public String getDataSource()
        Get the data source from the response.
        Returns:
        the data source for the response.
      • getPlace

        public Place getPlace()
        Get the place from the response
        Returns:
        The place
      • getProfile

        public Profile getProfile()
        Get the profile for this response.
        Returns:
        The profile
      • getProfileTimezone

        public String getProfileTimezone()
        Get the timezone for the profile.
        Returns:
        the timezone.
      • getRelative

        public RelativeTo getRelative()
        Get the relative to for the response.
        Returns:
        The relative to
      • getLocation

        public AerisLocation getLocation()
        Gets the Aeris location from the response.
        Returns:
        the location