Class RatioResult

  • All Implemented Interfaces:

    public class RatioResult
    extends Object
    implements Result
    Represents the result JSON object for the /ratio resource containing the timestamp together with two values and their resulting ratio.
    • Constructor Detail

      • RatioResult

        public RatioResult​(String timestamp,
                           double value,
                           double value2,
                           double ratio)
    • Method Detail

      • getTimestamp

        public String getTimestamp()
      • getValue

        public double getValue()
        Specified by:
        getValue in interface Result
      • getValue2

        public double getValue2()
      • getRatio

        public double getRatio()