TNEntityEvChargingOnRouteParams
@objcMembers
open class TNEntityEvChargingOnRouteParams : NSObject
Request to trigger the call for fetching ev entity along the route
-
The location around which to discover ev charging stations (Required).
Declaration
Swift
public var location: TNEntityGeoPoint?
-
Route points of the corridor (Required).
Declaration
Swift
public var route: [TNEntityGeoPoint]?
-
Used for EV charge stations related filtering by EV attributes (Optional).
Declaration
Swift
public var evFilter: TNEntityEvFilter?
-
Required, vehicle current energy info, including current energy, current range, low energy threshold (Required).
Declaration
Swift
public var evContext: TNEntityEvContext?
-
Result limit (Optional)
Declaration
Swift
public var limit: Int?
-
Validates all properties.
isValid
- is true if validation was successfulmessage
- contains error string if validation failed
Declaration
Swift
public func validate() -> (isValid: Bool, message: String)
Return Value
Tuple
(isValid: Bool, message: String)
.