Class AerisMapsDefaultPointParameters.SpecificPointParameters

  • Enclosing class:
    AerisMapsDefaultPointParameters

    public class AerisMapsDefaultPointParameters.SpecificPointParameters
    extends Object
    Specific point parameter is a wrapper class that holds the parameter values needed to pass to a parameter builder. Then a ParameterBuilder is passed into SpecificPointParameters to attach the values to the builder needed for a request.
    • Field Detail

      • sort

        public final String sort
      • limit

        public int limit
      • query

        public final String query
      • from

        public final String from
    • Constructor Detail

      • SpecificPointParameters

        public SpecificPointParameters​(String sort,
                                       int limit,
                                       String query,
                                       String from)
        Initialize with values. Limit will default to 500 if none is passed. Others can be null.
        Parameters:
        sort - sort value to use.
        limit - limit value to use. Defaults to 500.
        query - query value to use.
        from - from value to use.
    • Method Detail

      • attachParametersToBuilder

        public void attachParametersToBuilder​(com.aerisweather.aeris.communication.parameter.ParameterBuilder builder)
        Attached the parameters that are not null in this wrapper object to the builder object.
        Parameters:
        builder - builder object to attach values to.