Class: ChargingStationSearchResponse

bemap.ChargingStationSearchResponse(pools)

new ChargingStationSearchResponse(pools)

BeNomad BeMap JavaScript API - ChargingStationSearchResponse (v1.5) Strongly-typed response from `POST service/chargingstation/search/1.0`. The server payload is `{ pools: [ChargingStationPool] }`.
Parameters:
Name Type Description
pools Array.<bemap.ChargingStationPool>
Source:

Members

pools :Array.<bemap.ChargingStationPool>

Type:
Source:

Methods

(static) fromJson(json) → {bemap.ChargingStationSearchResponse}

Parse the raw JSON response from the BeMap server into a strongly-typed `ChargingStationSearchResponse`.
Parameters:
Name Type Description
json Object
Source:
Returns:
Type
bemap.ChargingStationSearchResponse

getPools() → {Array.<bemap.ChargingStationPool>}

Source:
Returns:
Type
Array.<bemap.ChargingStationPool>