ChargingPoint

class ChargingPoint(val chargingPointId: ChargingPoint.Id, val capabilities: List<Capability> = emptyList(), val restrictions: List<ParkingRestriction> = emptyList(), val status: Status? = null, val connectors: List<Connector> = emptyList(), val physicalReference: String? = null)

A charging point has several charging connectors, of which only one can be used at a time.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
constructor(chargingPointId: ChargingPoint.Id, capabilities: List<Capability> = emptyList(), restrictions: List<ParkingRestriction> = emptyList(), status: Status? = null, connectors: List<Connector> = emptyList(), physicalReference: String? = null)

Types

Link copied to clipboard
value class Id(val id: String)

Class that represents the identifier of a charging point.

Properties

Link copied to clipboard

List of the chargers' capabilities.

Link copied to clipboard

The Id object that includes the identifier of the charging point.

Link copied to clipboard

List of connectors with charging power attributes.

Link copied to clipboard

Physical identification of the charging station printed on the station and visible to the driver. One of the parameters that can be used for booking or charging purposes to locate the physical station. No standard format available.

Link copied to clipboard

List of parking restrictions.

Link copied to clipboard
val status: Status? = null

Dynamic availability status of charging point. If null, no status information is currently available.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Checks if this object is equal to another object.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for the object.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.