EvLocation

@MapboxExperimental
class EvLocation @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP_PREFIX]) constructor(val partyId: String, val publish: Boolean, val publishAllowedTo: List<EvsePublishTokenType>, val relatedLocations: List<EvAdditionalGeoLocation>, val evses: List<EVSE>, val operatorDetails: BusinessDetails?, val suboperatorDetails: BusinessDetails?, val ownerDetails: BusinessDetails?, val chargingWhenClosed: Boolean?, val energyMix: EvEnergyMix?) : Parcelable

OCPI Location. The Location object describes the location and its properties where a group of EVSEs that belong together are installed. Refer to this type in the OCPI GitHub repository for more details.

Constructors

Link copied to clipboard
fun EvLocation(partyId: String, publish: Boolean, publishAllowedTo: List<EvsePublishTokenType>, relatedLocations: List<EvAdditionalGeoLocation>, evses: List<EVSE>, operatorDetails: BusinessDetails?, suboperatorDetails: BusinessDetails?, ownerDetails: BusinessDetails?, chargingWhenClosed: Boolean?, energyMix: EvEnergyMix?)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

Indicates if the EVSEs are still charging outside the opening hours of the location.

Link copied to clipboard

EnergyMix object representing details on the energy supplied at this location.

Link copied to clipboard

List of EVSE objects that belong to this Location.

Link copied to clipboard

BusinessDetails object representing information of the operator.

Link copied to clipboard

BusinessDetails object representing information of the owner if available.

Link copied to clipboard

3 letter identifier of the operator.

Link copied to clipboard

Defines if a Location may be published on a website or app etc.

Link copied to clipboard

PublishTokenType object. This field may only be used when the publish field is false.

Link copied to clipboard

AdditionalGeoLocation object representing geographical location of related points.

Link copied to clipboard

BusinessDetails object representing information of the suboperator if available.