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> |
Members
pools :Array.<bemap.ChargingStationPool>
Type:
- Array.<bemap.ChargingStationPool>
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 |
Returns:
getPools() → {Array.<bemap.ChargingStationPool>}
Returns:
- Type
- Array.<bemap.ChargingStationPool>