Class VehicleBatteryCapacity

  • All Implemented Interfaces:
    java.io.Serializable

    public class VehicleBatteryCapacity
    extends ApiData
    POJO for Smartcar /battery/capacity endpoint
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getCapacity()
      Returns the battery capacity
      java.lang.String toString()
      Returns the stored data string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VehicleBatteryCapacity

        public VehicleBatteryCapacity()
    • Method Detail

      • getCapacity

        public double getCapacity()
        Returns the battery capacity
        Returns:
        battery capacity
      • toString

        public java.lang.String toString()
        Description copied from class: ApiData
        Returns the stored data string.
        Overrides:
        toString in class ApiData
        Returns:
        a stringified representation of VehicleBattery