TNEntityLocation

@objcMembers
open class TNEntityLocation : NSObject, Codable

The Location object describes the location and its properties where a group of EVSEs that belong together are installed.

Typically, the Location object is the exact location of the group of EVSEs, but it can also be the entrance of a parking garage which contains these EVSEs. The exact way to reach each EVSE can be further specified by its own properties.

  • CPO, eMSP (or other role) ID of this party (following the ISO-15118 standard).

    Declaration

    Swift

    public var partyId: String?
  • id

    Uniquely identifies the location within the CPOs platform (and suboperator platforms). This field can never be changed, modified or renamed.

    Declaration

    Swift

    public var id: String?
  • Defines if a Location may be published on an website or app etc.

    Declaration

    Swift

    public var publish: Bool?
  • Display name of the location.

    Declaration

    Swift

    public var name: String?
  • Geographical location of related points relevant to the user.

    Declaration

    Swift

    public var relatedLocations: [TNEntityAdditionalGeoLocation]?
  • List of PublishAllowedTo that may only be used when the publish field is set to false

    Declaration

    Swift

    public var publishAllowedTo: [TNEntityPublishTokenType]?
  • The general type of parking at the charge point location

    Declaration

    Swift

    public var parkingType: TNEntityParkingType?
  • List of EVSEs that belong to this Location.

    Declaration

    Swift

    public var evses: [TNEntityEvse]?
  • Human-readable directions on how to reach the location.

    Declaration

    Swift

    public var directions: [TNEntityDisplayText]?
  • Information of the operator.

    Declaration

    Swift

    public var chargingPointOperator: TNEntityBusinessDetails?
  • Information of the suboperator if available.

    Declaration

    Swift

    public var chargingPointSubOperator: TNEntityBusinessDetails?
  • Information of the owner if available.

    Declaration

    Swift

    public var owner: TNEntityBusinessDetails?
  • Optional list of facilities this charging location directly belongs to.

    Declaration

    Swift

    public var facilities: [TNEntityFacility]?
  • The times when the EVSEs at the location can be accessed for charging.

    Declaration

    Swift

    public var openingTimes: TNEntityHours?
  • Indicates if the EVSEs are still charging outside the opening hours of the location.

    Declaration

    Swift

    public var chargingWhenClosed: Bool?
  • Links to images related to the location such as photos or logos.

    Declaration

    Swift

    public var images: [TNEntityImage]?
  • Details on the energy supplied at this location.

    Declaration

    Swift

    public var energyMix: TNEntityEnergyMix?
  • One of IANA tzdata’s TZ-values representing the time zone of the location.

    Declaration

    Swift

    public var timeZone: String?
  • Timestamp when this Location or one of its EVSEs or Connectors were last updated (or created).

    Declaration

    Swift

    public var lastUpdated: String?
  • Additional attributes

    Declaration

    Swift

    public var additionalAttributes: [String : String]?