Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Capabilities(val getEnergyState: GetEnergyStateCapability? = null)

Summary of supported endpoints and data points for a vehicle.

Link copied to clipboard
@Serializable
data class CapabilitiesResponse(val status: Int? = null, val operationId: String? = null, val data: Capabilities? = null)

Vehicle capabilities response.

Link copied to clipboard
@Serializable
data class Capability(val isSupported: Boolean? = null)

Individual capability indicator.

Link copied to clipboard
@Serializable
data class EnergyState(val batteryChargeLevel: ResourceResultFloatWithUnit? = null, val electricRange: ResourceResultIntegerWithUnit? = null, val chargerConnectionStatus: ResourceResultString? = null, val chargingStatus: ResourceResultString? = null, val chargingType: ResourceResultString? = null, val chargerPowerStatus: ResourceResultString? = null, val estimatedChargingTimeToTargetBatteryChargeLevel: ResourceResultIntegerWithUnit? = null, val targetBatteryChargeLevel: ResourceResultIntegerWithUnit? = null, val chargingCurrentLimit: ResourceResultIntegerWithUnit? = null, val chargingPower: ResourceResultIntegerWithUnit? = null)

Latest energy state data for the vehicle.

Link copied to clipboard
@Serializable
data class EnergyStateResponse(val status: Int? = null, val operationId: String? = null, val data: EnergyState? = null)

Vehicle energy state response.

Link copied to clipboard
@Serializable
data class GetEnergyStateCapability(val isSupported: Boolean? = null, val batteryChargeLevel: Capability? = null, val electricRange: Capability? = null, val chargerConnectionStatus: Capability? = null, val chargingSystemStatus: Capability? = null, val chargingType: Capability? = null, val chargerPowerStatus: Capability? = null, val estimatedChargingTimeToTargetBatteryChargeLevel: Capability? = null, val chargingCurrentLimit: Capability? = null, val targetBatteryChargeLevel: Capability? = null, val chargingPower: Capability? = null)

Capability information for the energy state endpoint.

Link copied to clipboard
@Serializable
data class ResourceResultFloatWithUnit(val status: String, val value: Float? = null, val updatedAt: Instant? = null, val unit: String? = null, val code: String? = null, val message: String? = null)

Resource result with float value and unit.

Link copied to clipboard
@Serializable
data class ResourceResultIntegerWithUnit(val status: String, val value: Int? = null, val updatedAt: Instant? = null, val unit: String? = null, val code: String? = null, val message: String? = null)

Resource result with integer value and unit.

Link copied to clipboard
@Serializable
data class ResourceResultString(val status: String, val value: String? = null, val updatedAt: Instant? = null, val code: String? = null, val message: String? = null)

Base result with status indicator.

Properties