com.geotab.model.enumeration.ElectricEnergyEconomyUnit Maven / Gradle / Ivy
/*
*
* 2020 Copyright (C) Geotab Inc. All rights reserved.
*/
package com.geotab.model.enumeration;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Various Electric Energy Economy units Geotab supports. Currently supported units: L-e/100 km,
* km/L-e, kWh/100 km, Wh/km, km/kWh, MPG-e (US), MPG-e (Imp), kWh/100 miles, Wh/mile and mile/kWh.
*/
public enum ElectricEnergyEconomyUnit {
/**
* The liters-e per 100 km unit.
*/
LITERS_E_PER_100_KM("LitersEPer100Km"),
/**
* The km per liter-e unit.
*/
KM_PER_LITERS_E("KmPerLitersE"),
/**
* The kilowatt hour per 100 km unit.
*/
KILOWH_PER_100_KM("KiloWhPer100Km"),
/**
* The watt hour per km unit.
*/
WH_PER_KM("WhPerKm"),
/**
* The km per kilowatt hour unit.
*/
KM_PER_KILO_WH("KmPerKiloWh"),
/**
* The miles per gallon-e (US) unit.
*/
MPG_E_US("MPGEUS"),
/**
* The miles per gallon-e (Imperial) unit.
*/
MPG_E_IMPERIAL("MPGEImperial"),
/**
* The kilowatt hour per 100 miles unit.
*/
KILOWH_PER_100_MILES("KiloWhPer100Miles"),
/**
* The watt hour per mile unit.
*/
WH_PER_MILE("WhPerMile"),
/**
* The mile per kilowatt hour unit.
*/
MILE_PER_KILOWH("MilePerKiloWh");
private String name;
ElectricEnergyEconomyUnit(String name) {
this.name = name;
}
@JsonValue
public String getName() {
return name;
}
}