com.smartcar.sdk.data.VehicleChargeLimit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for the Smartcar platform
package com.smartcar.sdk.data;
public class VehicleChargeLimit extends ApiData {
private double limit;
/**
* Returns whether charging cable is plugged in
*
* @return whether charging cable is plugged in
*/
public double getChargeLimit() {
return this.limit;
}
// TODO: add .toString()
/** @return a stringified representation of VehicleFuel */
@Override
public String toString() {
return this.getClass().getName()
+ "{"
+ "limit="
+ limit
+ '}';
}
}