com.smartcar.sdk.data.VehicleOdometer 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;
/** POJO for Smartcar /odometer endpoint */
public class VehicleOdometer extends ApiData {
private double distance;
/**
* Returns the odometer distance
*
* @return odometer distance
*/
public double getDistance() {
return this.distance;
}
/** @return a stringified representation of VehicleOdometer */
@Override
public String toString() {
return this.getClass().getName() + "{" + "distance=" + distance + '}';
}
}