EVChargingOpeningHours
public struct EVChargingOpeningHours : Hashable
Represents the times when the EVSEs at the charging location can be accessed for charging. 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.
-
Indicates if the charging location is open 24 hours a day, 7 days per week. If true,
EVChargingOpeningHours.regularScheduleandEVChargingOpeningHours.exceptionswill be empty.Declaration
Swift
public var open24x7: Bool -
Indicates if it is allowed to leave vehicles in the charging location to continue charging outside opening hours.
Declaration
Swift
public var chargingWhenClosed: Bool -
List of regular opening hours schedule for EV charging locations.
Declaration
Swift
public var regularSchedule: [EVChargingOpeningHoursSchedule] -
List of opening hours exceptions for EV charging locations.
Declaration
Swift
public var exceptions: [EVChargingOpeningHoursException] -
Creates a new instance.
Declaration
Swift
public init(open24x7: Bool = false, chargingWhenClosed: Bool = true, regularSchedule: [EVChargingOpeningHoursSchedule] = [], exceptions: [EVChargingOpeningHoursException] = [])