EVChargingConnectorGroup
public struct EVChargingConnectorGroup : Hashable
Represents the connector group at the charging location. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
-
The standard (type) of the connectors belonging to this group. Should be one of the constants defined in
EVChargingConnectorType.Declaration
Swift
public var connectorType: String -
Maximum power that can be delivered by the connectors, in watts (W). Connectors without max power are not grouped.
Declaration
Swift
public var maxPowerInWatts: Int32 -
Array of EVSE + connector(s) pairs that belong to the group. Provides access to EVSE statuses and more detailed connector characteristics. Available only if
EVChargingLocationFeature.EVSESis included inEVSearchOptions.additional_features, otherwise empty.Declaration
Swift
public var connectors: [EVChargingConnectorReference] -
Number of connectors in the group. If an EVSE has multiple identical connectors they are counted as one as only one is accessible at a time.
Declaration
Swift
public var connectorCount: Int32 -
Number of connectors available for use at the time of query. The field is not present if the availability is not known.
Declaration
Swift
public var availableConnectorCount: Int32? -
Tariffs for the connector group, represented by indexes to the charging station’s tariffs-list. Available only if
EVChargingLocationFeature.TARIFFSis included inEVSearchOptions.additional_features, otherwise empty.Declaration
Swift
public var tariffIndexes: [Int32] -
init(connectorType:maxPowerInWatts: connectors: connectorCount: availableConnectorCount: tariffIndexes: ) Creates a new instance.
Declaration
Swift
public init(connectorType: String = "", maxPowerInWatts: Int32 = 1, connectors: [EVChargingConnectorReference] = [], connectorCount: Int32 = 1, availableConnectorCount: Int32? = nil, tariffIndexes: [Int32] = [])