ChargingPoint
public struct ChargingPoint
extension ChargingPoint: Equatable
extension ChargingPoint: Hashable
A charging point corresponds to an EVSE (Electric Vehicle Supply Equipment). This can be thought of as the charging facility capable of accomodating one car.
Important
This is a Public Preview API. It may be changed or removed at any time.Returns a Boolean value indicating whether two ChargingPoint
instances are equal.
Availability status as a dynamic data is excluded from comparison.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public static func == (lhs: ChargingPoint, rhs: ChargingPoint) -> Bool
Parameters
lhs
|
A |
rhs
|
Another |
Return Value
Returns a Boolean value indicating whether two ChargingPoint
instances are equal.
Describes the technology and capabilities supported by an EVSE (electric vehicle supply equipment).
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Capability : CaseIterable
Connector with charging power attributes.
Declaration
Swift
public let connectors: [ConnectorDetails]
Charging point ID.
Declaration
Swift
public let evseID: String?
Hash function. Availability status as a dynamic data is excluded from hash function.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public func hash(into hasher: inout Hasher)
Parameters
hasher
|
The hasher to use when combining the components of this instance. |
Creates a new ChargingPoint
instance with given parameters.
Declaration
Swift
public init(
evseID: String?,
status: Status?,
connectors: [ConnectorDetails],
physicalReference: String?
)
Parameters
evseID
|
charging point ID. |
status
|
dynamic availability status of charging point.
If |
connectors
|
List of connectors with charging power attributes. |
physicalReference
|
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. |
Parking restrictions for a charging point.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum ParkingRestriction : CaseIterable
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.
Declaration
Swift
public let physicalReference: String?
Dynamic availability status of charging point.
If nil
, no status information is currently available.
Declaration
Swift
public let status: Status?
The status of a charging point.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum Status : CaseIterable