Documentation
¶
Overview ¶
Package v21 holds Go types for every OCPP 2.1 message, generated from the OCA's 2.1 JSON schemas that the ocpp module embeds: one struct per request and response (<Action>Request, <Action>Response; the SEND message NotifyPeriodicEventStream as NotifyPeriodicEventStreamRequest), a named string type with constants per enumeration, and one struct per shared object. Optional properties are pointers or omitted slices; objects the schemas leave open (CustomData) keep unknown properties in Extra.
The schemas stay the arbiter of validity: Decode and Call check payloads against them, so the types never have to.
Index ¶
- Variables
- func Call[Res Payload](ctx context.Context, c Caller, req Payload) (Res, error)
- func Decode[T Payload](raw json.RawMessage) (T, error)
- type ACChargingParameters
- type AFRRSignalRequest
- type AFRRSignalResponse
- type APN
- type APNAuthentication
- type AbsolutePriceSchedule
- type AdditionalInfo
- type AdditionalSelectedServices
- type Address
- type AdjustPeriodicEventStreamRequest
- type AdjustPeriodicEventStreamResponse
- type Attribute
- type AuthorizationData
- type AuthorizationStatus
- type AuthorizeCertificateStatus
- type AuthorizeRequest
- type AuthorizeResponse
- type BatteryData
- type BatterySwapEvent
- type BatterySwapRequest
- type BatterySwapResponse
- type BootNotificationRequest
- type BootNotificationResponse
- type BootReason
- type Caller
- type CancelReservationRequest
- type CancelReservationResponse
- type CancelReservationStatus
- type CertificateAction
- type CertificateHashData
- type CertificateHashDataChain
- type CertificateSignedRequest
- type CertificateSignedResponse
- type CertificateSignedStatus
- type CertificateSigningUse
- type CertificateStatus
- type CertificateStatusEnum
- type CertificateStatusRequestInfo
- type CertificateStatusSource
- type ChangeAvailabilityRequest
- type ChangeAvailabilityResponse
- type ChangeAvailabilityStatus
- type ChangeTransactionTariffRequest
- type ChangeTransactionTariffResponse
- type ChargingLimit
- type ChargingNeeds
- type ChargingPeriod
- type ChargingProfile
- type ChargingProfileCriterion
- type ChargingProfileKind
- type ChargingProfilePurpose
- type ChargingProfileStatus
- type ChargingRateUnit
- type ChargingSchedule
- type ChargingSchedulePeriod
- type ChargingScheduleUpdate
- type ChargingState
- type ChargingStation
- type ClearCacheRequest
- type ClearCacheResponse
- type ClearCacheStatus
- type ClearChargingProfile
- type ClearChargingProfileRequest
- type ClearChargingProfileResponse
- type ClearChargingProfileStatus
- type ClearDERControlRequest
- type ClearDERControlResponse
- type ClearDisplayMessageRequest
- type ClearDisplayMessageResponse
- type ClearMessageStatus
- type ClearMonitoringResult
- type ClearMonitoringStatus
- type ClearTariffsRequest
- type ClearTariffsResponse
- type ClearTariffsResult
- type ClearVariableMonitoringRequest
- type ClearVariableMonitoringResponse
- type ClearedChargingLimitRequest
- type ClearedChargingLimitResponse
- type ClosePeriodicEventStreamRequest
- type ClosePeriodicEventStreamResponse
- type Component
- type ComponentCriterion
- type ComponentVariable
- type CompositeSchedule
- type ConnectorStatus
- type ConstantStreamData
- type ConsumptionCost
- type ControlMode
- type Cost
- type CostDetails
- type CostDimension
- type CostDimensionEnum
- type CostKind
- type CostUpdatedRequest
- type CostUpdatedResponse
- type CustomData
- type CustomerInformationRequest
- type CustomerInformationResponse
- type CustomerInformationStatus
- type DCChargingParameters
- type DERChargingParameters
- type DERControl
- type DERControlStatus
- type DERCurve
- type DERCurveGet
- type DERCurvePoints
- type DERUnit
- type Data
- type DataTransferRequest
- type DataTransferResponse
- type DataTransferStatus
- type DayOfWeek
- type DeleteCertificateRequest
- type DeleteCertificateResponse
- type DeleteCertificateStatus
- type DisplayMessageStatus
- type EVAbsolutePriceSchedule
- type EVAbsolutePriceScheduleEntry
- type EVEnergyOffer
- type EVPowerSchedule
- type EVPowerScheduleEntry
- type EVPriceRule
- type EVSE
- type EnergyTransferMode
- type EnterService
- type EnterServiceGet
- type EventData
- type EventNotification
- type EventTrigger
- type EvseKind
- type Firmware
- type FirmwareStatus
- type FirmwareStatusNotificationRequest
- type FirmwareStatusNotificationResponse
- type FixedPF
- type FixedPFGet
- type FixedVar
- type FixedVarGet
- type FreqDroop
- type FreqDroopGet
- type GenericDeviceModelStatus
- type GenericStatus
- type Get15118EVCertificateRequest
- type Get15118EVCertificateResponse
- type GetBaseReportRequest
- type GetBaseReportResponse
- type GetCertificateChainStatusRequest
- type GetCertificateChainStatusResponse
- type GetCertificateIDUse
- type GetCertificateStatus
- type GetCertificateStatusRequest
- type GetCertificateStatusResponse
- type GetChargingProfileStatus
- type GetChargingProfilesRequest
- type GetChargingProfilesResponse
- type GetCompositeScheduleRequest
- type GetCompositeScheduleResponse
- type GetDERControlRequest
- type GetDERControlResponse
- type GetDisplayMessagesRequest
- type GetDisplayMessagesResponse
- type GetDisplayMessagesStatus
- type GetInstalledCertificateIdsRequest
- type GetInstalledCertificateIdsResponse
- type GetInstalledCertificateStatus
- type GetLocalListVersionRequest
- type GetLocalListVersionResponse
- type GetLogRequest
- type GetLogResponse
- type GetMonitoringReportRequest
- type GetMonitoringReportResponse
- type GetPeriodicEventStreamRequest
- type GetPeriodicEventStreamResponse
- type GetReportRequest
- type GetReportResponse
- type GetTariffsRequest
- type GetTariffsResponse
- type GetTransactionStatusRequest
- type GetTransactionStatusResponse
- type GetVariableData
- type GetVariableResult
- type GetVariableStatus
- type GetVariablesRequest
- type GetVariablesResponse
- type Gradient
- type GradientGet
- type GridEventFault
- type HashAlgorithm
- type HeartbeatRequest
- type HeartbeatResponse
- type Hysteresis
- type IDToken
- type IDTokenInfo
- type InstallCertificateRequest
- type InstallCertificateResponse
- type InstallCertificateStatus
- type InstallCertificateUse
- type IslandingDetection
- type Iso15118EVCertificateStatus
- type LimitAtSoC
- type LimitMaxDischarge
- type LimitMaxDischargeGet
- type Location
- type Log
- type LogParameters
- type LogStatus
- type LogStatusNotificationRequest
- type LogStatusNotificationResponse
- type Measurand
- type Message
- type MessageContent
- type MessageFormat
- type MessageInfo
- type MessagePriority
- type MessageState
- type MessageTrigger
- type MeterValue
- type MeterValuesRequest
- type MeterValuesResponse
- type MobilityNeedsMode
- type Modem
- type Monitor
- type MonitoringBase
- type MonitoringCriterion
- type MonitoringData
- type Mutability
- type NetworkConnectionProfile
- type NotifyAllowedEnergyTransferRequest
- type NotifyAllowedEnergyTransferResponse
- type NotifyAllowedEnergyTransferStatus
- type NotifyChargingLimitRequest
- type NotifyChargingLimitResponse
- type NotifyCustomerInformationRequest
- type NotifyCustomerInformationResponse
- type NotifyDERAlarmRequest
- type NotifyDERAlarmResponse
- type NotifyDERStartStopRequest
- type NotifyDERStartStopResponse
- type NotifyDisplayMessagesRequest
- type NotifyDisplayMessagesResponse
- type NotifyEVChargingNeedsRequest
- type NotifyEVChargingNeedsResponse
- type NotifyEVChargingNeedsStatus
- type NotifyEVChargingScheduleRequest
- type NotifyEVChargingScheduleResponse
- type NotifyEventRequest
- type NotifyEventResponse
- type NotifyMonitoringReportRequest
- type NotifyMonitoringReportResponse
- type NotifyPeriodicEventStreamRequest
- type NotifyPriorityChargingRequest
- type NotifyPriorityChargingResponse
- type NotifyReportRequest
- type NotifyReportResponse
- type NotifySettlementRequest
- type NotifySettlementResponse
- type NotifyWebPaymentStartedRequest
- type NotifyWebPaymentStartedResponse
- type OCPPInterface
- type OCPPTransport
- type OCPPVersion
- type OCSPRequestData
- type OpenPeriodicEventStreamRequest
- type OpenPeriodicEventStreamResponse
- type OperationMode
- type OperationalStatus
- type OverstayRule
- type OverstayRuleList
- type Payload
- type PaymentStatus
- type PeriodicEventStreamParams
- type Phase
- type PowerDuringCessation
- type PreconditioningStatus
- type Price
- type PriceLevelSchedule
- type PriceLevelScheduleEntry
- type PriceRule
- type PriceRuleStack
- type PriorityChargingStatus
- type PublishFirmwareRequest
- type PublishFirmwareResponse
- type PublishFirmwareStatus
- type PublishFirmwareStatusNotificationRequest
- type PublishFirmwareStatusNotificationResponse
- type PullDynamicScheduleUpdateRequest
- type PullDynamicScheduleUpdateResponse
- type RationalNumber
- type ReactivePowerParams
- type ReadingContext
- type Reason
- type RecurrencyKind
- type RegistrationStatus
- type RelativeTimeInterval
- type ReportBase
- type ReportChargingProfilesRequest
- type ReportChargingProfilesResponse
- type ReportDERControlRequest
- type ReportDERControlResponse
- type ReportData
- type RequestBatterySwapRequest
- type RequestBatterySwapResponse
- type RequestStartStopStatus
- type RequestStartTransactionRequest
- type RequestStartTransactionResponse
- type RequestStopTransactionRequest
- type RequestStopTransactionResponse
- type ReservationStatusUpdateRequest
- type ReservationStatusUpdateResponse
- type ReservationUpdateStatus
- type ReserveNowRequest
- type ReserveNowResponse
- type ReserveNowStatus
- type Reset
- type ResetRequest
- type ResetResponse
- type ResetStatus
- type SalesTariff
- type SalesTariffEntry
- type SampledValue
- type SecurityEventNotificationRequest
- type SecurityEventNotificationResponse
- type SendLocalListRequest
- type SendLocalListResponse
- type SendLocalListStatus
- type SetChargingProfileRequest
- type SetChargingProfileResponse
- type SetDERControlRequest
- type SetDERControlResponse
- type SetDefaultTariffRequest
- type SetDefaultTariffResponse
- type SetDisplayMessageRequest
- type SetDisplayMessageResponse
- type SetMonitoringBaseRequest
- type SetMonitoringBaseResponse
- type SetMonitoringData
- type SetMonitoringLevelRequest
- type SetMonitoringLevelResponse
- type SetMonitoringResult
- type SetMonitoringStatus
- type SetNetworkProfileRequest
- type SetNetworkProfileResponse
- type SetNetworkProfileStatus
- type SetVariableData
- type SetVariableMonitoringRequest
- type SetVariableMonitoringResponse
- type SetVariableResult
- type SetVariableStatus
- type SetVariablesRequest
- type SetVariablesResponse
- type SignCertificateRequest
- type SignCertificateResponse
- type SignedMeterValue
- type StatusInfo
- type StatusNotificationRequest
- type StatusNotificationResponse
- type StreamDataElement
- type Tariff
- type TariffAssignment
- type TariffChangeStatus
- type TariffClearStatus
- type TariffConditions
- type TariffConditionsFixed
- type TariffCost
- type TariffEnergy
- type TariffEnergyPrice
- type TariffFixed
- type TariffFixedPrice
- type TariffGetStatus
- type TariffKind
- type TariffSetStatus
- type TariffTime
- type TariffTimePrice
- type TaxRate
- type TaxRule
- type TotalCost
- type TotalPrice
- type TotalUsage
- type Transaction
- type TransactionEvent
- type TransactionEventRequest
- type TransactionEventResponse
- type TransactionLimit
- type TriggerMessageRequest
- type TriggerMessageResponse
- type TriggerMessageStatus
- type TriggerReason
- type UnitOfMeasure
- type UnlockConnectorRequest
- type UnlockConnectorResponse
- type UnlockStatus
- type UnpublishFirmwareRequest
- type UnpublishFirmwareResponse
- type UnpublishFirmwareStatus
- type Update
- type UpdateDynamicScheduleRequest
- type UpdateDynamicScheduleResponse
- type UpdateFirmwareRequest
- type UpdateFirmwareResponse
- type UpdateFirmwareStatus
- type UploadLogStatus
- type UsePriorityChargingRequest
- type UsePriorityChargingResponse
- type V2XChargingParameters
- type V2XFreqWattPoint
- type V2XSignalWattPoint
- type VPN
- type VPNEnum
- type Variable
- type VariableAttribute
- type VariableCharacteristics
- type VariableMonitoring
- type VatNumberValidationRequest
- type VatNumberValidationResponse
- type VoltageParams
Constants ¶
This section is empty.
Variables ¶
var Messages = map[string]Message{ "AFRRSignal": {Request: reflect.TypeFor[AFRRSignalRequest](), Response: reflect.TypeFor[AFRRSignalResponse]()}, "AdjustPeriodicEventStream": {Request: reflect.TypeFor[AdjustPeriodicEventStreamRequest](), Response: reflect.TypeFor[AdjustPeriodicEventStreamResponse]()}, "Authorize": {Request: reflect.TypeFor[AuthorizeRequest](), Response: reflect.TypeFor[AuthorizeResponse]()}, "BatterySwap": {Request: reflect.TypeFor[BatterySwapRequest](), Response: reflect.TypeFor[BatterySwapResponse]()}, "BootNotification": {Request: reflect.TypeFor[BootNotificationRequest](), Response: reflect.TypeFor[BootNotificationResponse]()}, "CancelReservation": {Request: reflect.TypeFor[CancelReservationRequest](), Response: reflect.TypeFor[CancelReservationResponse]()}, "CertificateSigned": {Request: reflect.TypeFor[CertificateSignedRequest](), Response: reflect.TypeFor[CertificateSignedResponse]()}, "ChangeAvailability": {Request: reflect.TypeFor[ChangeAvailabilityRequest](), Response: reflect.TypeFor[ChangeAvailabilityResponse]()}, "ChangeTransactionTariff": {Request: reflect.TypeFor[ChangeTransactionTariffRequest](), Response: reflect.TypeFor[ChangeTransactionTariffResponse]()}, "ClearCache": {Request: reflect.TypeFor[ClearCacheRequest](), Response: reflect.TypeFor[ClearCacheResponse]()}, "ClearChargingProfile": {Request: reflect.TypeFor[ClearChargingProfileRequest](), Response: reflect.TypeFor[ClearChargingProfileResponse]()}, "ClearDERControl": {Request: reflect.TypeFor[ClearDERControlRequest](), Response: reflect.TypeFor[ClearDERControlResponse]()}, "ClearDisplayMessage": {Request: reflect.TypeFor[ClearDisplayMessageRequest](), Response: reflect.TypeFor[ClearDisplayMessageResponse]()}, "ClearTariffs": {Request: reflect.TypeFor[ClearTariffsRequest](), Response: reflect.TypeFor[ClearTariffsResponse]()}, "ClearVariableMonitoring": {Request: reflect.TypeFor[ClearVariableMonitoringRequest](), Response: reflect.TypeFor[ClearVariableMonitoringResponse]()}, "ClearedChargingLimit": {Request: reflect.TypeFor[ClearedChargingLimitRequest](), Response: reflect.TypeFor[ClearedChargingLimitResponse]()}, "ClosePeriodicEventStream": {Request: reflect.TypeFor[ClosePeriodicEventStreamRequest](), Response: reflect.TypeFor[ClosePeriodicEventStreamResponse]()}, "CostUpdated": {Request: reflect.TypeFor[CostUpdatedRequest](), Response: reflect.TypeFor[CostUpdatedResponse]()}, "CustomerInformation": {Request: reflect.TypeFor[CustomerInformationRequest](), Response: reflect.TypeFor[CustomerInformationResponse]()}, "DataTransfer": {Request: reflect.TypeFor[DataTransferRequest](), Response: reflect.TypeFor[DataTransferResponse]()}, "DeleteCertificate": {Request: reflect.TypeFor[DeleteCertificateRequest](), Response: reflect.TypeFor[DeleteCertificateResponse]()}, "FirmwareStatusNotification": {Request: reflect.TypeFor[FirmwareStatusNotificationRequest](), Response: reflect.TypeFor[FirmwareStatusNotificationResponse]()}, "Get15118EVCertificate": {Request: reflect.TypeFor[Get15118EVCertificateRequest](), Response: reflect.TypeFor[Get15118EVCertificateResponse]()}, "GetBaseReport": {Request: reflect.TypeFor[GetBaseReportRequest](), Response: reflect.TypeFor[GetBaseReportResponse]()}, "GetCertificateChainStatus": {Request: reflect.TypeFor[GetCertificateChainStatusRequest](), Response: reflect.TypeFor[GetCertificateChainStatusResponse]()}, "GetCertificateStatus": {Request: reflect.TypeFor[GetCertificateStatusRequest](), Response: reflect.TypeFor[GetCertificateStatusResponse]()}, "GetChargingProfiles": {Request: reflect.TypeFor[GetChargingProfilesRequest](), Response: reflect.TypeFor[GetChargingProfilesResponse]()}, "GetCompositeSchedule": {Request: reflect.TypeFor[GetCompositeScheduleRequest](), Response: reflect.TypeFor[GetCompositeScheduleResponse]()}, "GetDERControl": {Request: reflect.TypeFor[GetDERControlRequest](), Response: reflect.TypeFor[GetDERControlResponse]()}, "GetDisplayMessages": {Request: reflect.TypeFor[GetDisplayMessagesRequest](), Response: reflect.TypeFor[GetDisplayMessagesResponse]()}, "GetInstalledCertificateIds": {Request: reflect.TypeFor[GetInstalledCertificateIdsRequest](), Response: reflect.TypeFor[GetInstalledCertificateIdsResponse]()}, "GetLocalListVersion": {Request: reflect.TypeFor[GetLocalListVersionRequest](), Response: reflect.TypeFor[GetLocalListVersionResponse]()}, "GetLog": {Request: reflect.TypeFor[GetLogRequest](), Response: reflect.TypeFor[GetLogResponse]()}, "GetMonitoringReport": {Request: reflect.TypeFor[GetMonitoringReportRequest](), Response: reflect.TypeFor[GetMonitoringReportResponse]()}, "GetPeriodicEventStream": {Request: reflect.TypeFor[GetPeriodicEventStreamRequest](), Response: reflect.TypeFor[GetPeriodicEventStreamResponse]()}, "GetReport": {Request: reflect.TypeFor[GetReportRequest](), Response: reflect.TypeFor[GetReportResponse]()}, "GetTariffs": {Request: reflect.TypeFor[GetTariffsRequest](), Response: reflect.TypeFor[GetTariffsResponse]()}, "GetTransactionStatus": {Request: reflect.TypeFor[GetTransactionStatusRequest](), Response: reflect.TypeFor[GetTransactionStatusResponse]()}, "GetVariables": {Request: reflect.TypeFor[GetVariablesRequest](), Response: reflect.TypeFor[GetVariablesResponse]()}, "Heartbeat": {Request: reflect.TypeFor[HeartbeatRequest](), Response: reflect.TypeFor[HeartbeatResponse]()}, "InstallCertificate": {Request: reflect.TypeFor[InstallCertificateRequest](), Response: reflect.TypeFor[InstallCertificateResponse]()}, "LogStatusNotification": {Request: reflect.TypeFor[LogStatusNotificationRequest](), Response: reflect.TypeFor[LogStatusNotificationResponse]()}, "MeterValues": {Request: reflect.TypeFor[MeterValuesRequest](), Response: reflect.TypeFor[MeterValuesResponse]()}, "NotifyAllowedEnergyTransfer": {Request: reflect.TypeFor[NotifyAllowedEnergyTransferRequest](), Response: reflect.TypeFor[NotifyAllowedEnergyTransferResponse]()}, "NotifyChargingLimit": {Request: reflect.TypeFor[NotifyChargingLimitRequest](), Response: reflect.TypeFor[NotifyChargingLimitResponse]()}, "NotifyCustomerInformation": {Request: reflect.TypeFor[NotifyCustomerInformationRequest](), Response: reflect.TypeFor[NotifyCustomerInformationResponse]()}, "NotifyDERAlarm": {Request: reflect.TypeFor[NotifyDERAlarmRequest](), Response: reflect.TypeFor[NotifyDERAlarmResponse]()}, "NotifyDERStartStop": {Request: reflect.TypeFor[NotifyDERStartStopRequest](), Response: reflect.TypeFor[NotifyDERStartStopResponse]()}, "NotifyDisplayMessages": {Request: reflect.TypeFor[NotifyDisplayMessagesRequest](), Response: reflect.TypeFor[NotifyDisplayMessagesResponse]()}, "NotifyEVChargingNeeds": {Request: reflect.TypeFor[NotifyEVChargingNeedsRequest](), Response: reflect.TypeFor[NotifyEVChargingNeedsResponse]()}, "NotifyEVChargingSchedule": {Request: reflect.TypeFor[NotifyEVChargingScheduleRequest](), Response: reflect.TypeFor[NotifyEVChargingScheduleResponse]()}, "NotifyEvent": {Request: reflect.TypeFor[NotifyEventRequest](), Response: reflect.TypeFor[NotifyEventResponse]()}, "NotifyMonitoringReport": {Request: reflect.TypeFor[NotifyMonitoringReportRequest](), Response: reflect.TypeFor[NotifyMonitoringReportResponse]()}, "NotifyPeriodicEventStream": {Request: reflect.TypeFor[NotifyPeriodicEventStreamRequest](), Send: true}, "NotifyPriorityCharging": {Request: reflect.TypeFor[NotifyPriorityChargingRequest](), Response: reflect.TypeFor[NotifyPriorityChargingResponse]()}, "NotifyReport": {Request: reflect.TypeFor[NotifyReportRequest](), Response: reflect.TypeFor[NotifyReportResponse]()}, "NotifySettlement": {Request: reflect.TypeFor[NotifySettlementRequest](), Response: reflect.TypeFor[NotifySettlementResponse]()}, "NotifyWebPaymentStarted": {Request: reflect.TypeFor[NotifyWebPaymentStartedRequest](), Response: reflect.TypeFor[NotifyWebPaymentStartedResponse]()}, "OpenPeriodicEventStream": {Request: reflect.TypeFor[OpenPeriodicEventStreamRequest](), Response: reflect.TypeFor[OpenPeriodicEventStreamResponse]()}, "PublishFirmware": {Request: reflect.TypeFor[PublishFirmwareRequest](), Response: reflect.TypeFor[PublishFirmwareResponse]()}, "PublishFirmwareStatusNotification": {Request: reflect.TypeFor[PublishFirmwareStatusNotificationRequest](), Response: reflect.TypeFor[PublishFirmwareStatusNotificationResponse]()}, "PullDynamicScheduleUpdate": {Request: reflect.TypeFor[PullDynamicScheduleUpdateRequest](), Response: reflect.TypeFor[PullDynamicScheduleUpdateResponse]()}, "ReportChargingProfiles": {Request: reflect.TypeFor[ReportChargingProfilesRequest](), Response: reflect.TypeFor[ReportChargingProfilesResponse]()}, "ReportDERControl": {Request: reflect.TypeFor[ReportDERControlRequest](), Response: reflect.TypeFor[ReportDERControlResponse]()}, "RequestBatterySwap": {Request: reflect.TypeFor[RequestBatterySwapRequest](), Response: reflect.TypeFor[RequestBatterySwapResponse]()}, "RequestStartTransaction": {Request: reflect.TypeFor[RequestStartTransactionRequest](), Response: reflect.TypeFor[RequestStartTransactionResponse]()}, "RequestStopTransaction": {Request: reflect.TypeFor[RequestStopTransactionRequest](), Response: reflect.TypeFor[RequestStopTransactionResponse]()}, "ReservationStatusUpdate": {Request: reflect.TypeFor[ReservationStatusUpdateRequest](), Response: reflect.TypeFor[ReservationStatusUpdateResponse]()}, "ReserveNow": {Request: reflect.TypeFor[ReserveNowRequest](), Response: reflect.TypeFor[ReserveNowResponse]()}, "Reset": {Request: reflect.TypeFor[ResetRequest](), Response: reflect.TypeFor[ResetResponse]()}, "SecurityEventNotification": {Request: reflect.TypeFor[SecurityEventNotificationRequest](), Response: reflect.TypeFor[SecurityEventNotificationResponse]()}, "SendLocalList": {Request: reflect.TypeFor[SendLocalListRequest](), Response: reflect.TypeFor[SendLocalListResponse]()}, "SetChargingProfile": {Request: reflect.TypeFor[SetChargingProfileRequest](), Response: reflect.TypeFor[SetChargingProfileResponse]()}, "SetDERControl": {Request: reflect.TypeFor[SetDERControlRequest](), Response: reflect.TypeFor[SetDERControlResponse]()}, "SetDefaultTariff": {Request: reflect.TypeFor[SetDefaultTariffRequest](), Response: reflect.TypeFor[SetDefaultTariffResponse]()}, "SetDisplayMessage": {Request: reflect.TypeFor[SetDisplayMessageRequest](), Response: reflect.TypeFor[SetDisplayMessageResponse]()}, "SetMonitoringBase": {Request: reflect.TypeFor[SetMonitoringBaseRequest](), Response: reflect.TypeFor[SetMonitoringBaseResponse]()}, "SetMonitoringLevel": {Request: reflect.TypeFor[SetMonitoringLevelRequest](), Response: reflect.TypeFor[SetMonitoringLevelResponse]()}, "SetNetworkProfile": {Request: reflect.TypeFor[SetNetworkProfileRequest](), Response: reflect.TypeFor[SetNetworkProfileResponse]()}, "SetVariableMonitoring": {Request: reflect.TypeFor[SetVariableMonitoringRequest](), Response: reflect.TypeFor[SetVariableMonitoringResponse]()}, "SetVariables": {Request: reflect.TypeFor[SetVariablesRequest](), Response: reflect.TypeFor[SetVariablesResponse]()}, "SignCertificate": {Request: reflect.TypeFor[SignCertificateRequest](), Response: reflect.TypeFor[SignCertificateResponse]()}, "StatusNotification": {Request: reflect.TypeFor[StatusNotificationRequest](), Response: reflect.TypeFor[StatusNotificationResponse]()}, "TransactionEvent": {Request: reflect.TypeFor[TransactionEventRequest](), Response: reflect.TypeFor[TransactionEventResponse]()}, "TriggerMessage": {Request: reflect.TypeFor[TriggerMessageRequest](), Response: reflect.TypeFor[TriggerMessageResponse]()}, "UnlockConnector": {Request: reflect.TypeFor[UnlockConnectorRequest](), Response: reflect.TypeFor[UnlockConnectorResponse]()}, "UnpublishFirmware": {Request: reflect.TypeFor[UnpublishFirmwareRequest](), Response: reflect.TypeFor[UnpublishFirmwareResponse]()}, "UpdateDynamicSchedule": {Request: reflect.TypeFor[UpdateDynamicScheduleRequest](), Response: reflect.TypeFor[UpdateDynamicScheduleResponse]()}, "UpdateFirmware": {Request: reflect.TypeFor[UpdateFirmwareRequest](), Response: reflect.TypeFor[UpdateFirmwareResponse]()}, "UsePriorityCharging": {Request: reflect.TypeFor[UsePriorityChargingRequest](), Response: reflect.TypeFor[UsePriorityChargingResponse]()}, "VatNumberValidation": {Request: reflect.TypeFor[VatNumberValidationRequest](), Response: reflect.TypeFor[VatNumberValidationResponse]()}, }
Messages are the Go types of every 2.1 action.
Functions ¶
Types ¶
type ACChargingParameters ¶
type ACChargingParameters struct {
EnergyAmount float64 `json:"energyAmount"`
EvMinCurrent float64 `json:"evMinCurrent"`
EvMaxCurrent float64 `json:"evMaxCurrent"`
EvMaxVoltage float64 `json:"evMaxVoltage"`
CustomData *CustomData `json:"customData,omitempty"`
}
ACChargingParameters is an object of the 2.1 schemas.
type AFRRSignalRequest ¶
type AFRRSignalRequest struct {
Timestamp string `json:"timestamp"`
Signal int `json:"signal"`
CustomData *CustomData `json:"customData,omitempty"`
}
AFRRSignalRequest is an object of the 2.1 schemas.
func (AFRRSignalRequest) ActionName ¶
func (AFRRSignalRequest) ActionName() string
ActionName is "AFRRSignal".
func (AFRRSignalRequest) IsResponse ¶
func (AFRRSignalRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type AFRRSignalResponse ¶
type AFRRSignalResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AFRRSignalResponse is an object of the 2.1 schemas.
func (AFRRSignalResponse) ActionName ¶
func (AFRRSignalResponse) ActionName() string
ActionName is "AFRRSignal".
func (AFRRSignalResponse) IsResponse ¶
func (AFRRSignalResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type APN ¶
type APN struct {
Apn string `json:"apn"`
ApnUserName *string `json:"apnUserName,omitempty"`
ApnPassword *string `json:"apnPassword,omitempty"`
SimPin *int `json:"simPin,omitempty"`
PreferredNetwork *string `json:"preferredNetwork,omitempty"`
UseOnlyPreferredNetwork *bool `json:"useOnlyPreferredNetwork,omitempty"`
ApnAuthentication APNAuthentication `json:"apnAuthentication"`
CustomData *CustomData `json:"customData,omitempty"`
}
APN is an object of the 2.1 schemas.
type APNAuthentication ¶
type APNAuthentication string
APNAuthentication is an enumeration of the 2.1 schemas.
const ( APNAuthenticationPAP APNAuthentication = "PAP" APNAuthenticationCHAP APNAuthentication = "CHAP" APNAuthenticationNONE APNAuthentication = "NONE" APNAuthenticationAUTO APNAuthentication = "AUTO" )
type AbsolutePriceSchedule ¶
type AbsolutePriceSchedule struct {
TimeAnchor string `json:"timeAnchor"`
PriceScheduleID int `json:"priceScheduleID"`
PriceScheduleDescription *string `json:"priceScheduleDescription,omitempty"`
Currency string `json:"currency"`
Language string `json:"language"`
PriceAlgorithm string `json:"priceAlgorithm"`
MinimumCost *RationalNumber `json:"minimumCost,omitempty"`
MaximumCost *RationalNumber `json:"maximumCost,omitempty"`
PriceRuleStacks []PriceRuleStack `json:"priceRuleStacks"`
TaxRules []TaxRule `json:"taxRules,omitempty"`
OverstayRuleList *OverstayRuleList `json:"overstayRuleList,omitempty"`
AdditionalSelectedServices []AdditionalSelectedServices `json:"additionalSelectedServices,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AbsolutePriceSchedule is an object of the 2.1 schemas.
type AdditionalInfo ¶
type AdditionalInfo struct {
AdditionalIDToken string `json:"additionalIdToken"`
Type string `json:"type"`
CustomData *CustomData `json:"customData,omitempty"`
}
AdditionalInfo is an object of the 2.1 schemas.
type AdditionalSelectedServices ¶
type AdditionalSelectedServices struct {
ServiceFee RationalNumber `json:"serviceFee"`
ServiceName string `json:"serviceName"`
CustomData *CustomData `json:"customData,omitempty"`
}
AdditionalSelectedServices is an object of the 2.1 schemas.
type Address ¶
type Address struct {
Name string `json:"name"`
Address1 string `json:"address1"`
Address2 *string `json:"address2,omitempty"`
City string `json:"city"`
PostalCode *string `json:"postalCode,omitempty"`
Country string `json:"country"`
CustomData *CustomData `json:"customData,omitempty"`
}
Address is an object of the 2.1 schemas.
type AdjustPeriodicEventStreamRequest ¶
type AdjustPeriodicEventStreamRequest struct {
ID int `json:"id"`
Params PeriodicEventStreamParams `json:"params"`
CustomData *CustomData `json:"customData,omitempty"`
}
AdjustPeriodicEventStreamRequest is an object of the 2.1 schemas.
func (AdjustPeriodicEventStreamRequest) ActionName ¶
func (AdjustPeriodicEventStreamRequest) ActionName() string
ActionName is "AdjustPeriodicEventStream".
func (AdjustPeriodicEventStreamRequest) IsResponse ¶
func (AdjustPeriodicEventStreamRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type AdjustPeriodicEventStreamResponse ¶
type AdjustPeriodicEventStreamResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AdjustPeriodicEventStreamResponse is an object of the 2.1 schemas.
func (AdjustPeriodicEventStreamResponse) ActionName ¶
func (AdjustPeriodicEventStreamResponse) ActionName() string
ActionName is "AdjustPeriodicEventStream".
func (AdjustPeriodicEventStreamResponse) IsResponse ¶
func (AdjustPeriodicEventStreamResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type AuthorizationData ¶
type AuthorizationData struct {
IDToken IDToken `json:"idToken"`
IDTokenInfo *IDTokenInfo `json:"idTokenInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AuthorizationData is an object of the 2.1 schemas.
type AuthorizationStatus ¶
type AuthorizationStatus string
AuthorizationStatus is an enumeration of the 2.1 schemas.
const ( AuthorizationStatusAccepted AuthorizationStatus = "Accepted" AuthorizationStatusBlocked AuthorizationStatus = "Blocked" AuthorizationStatusConcurrentTx AuthorizationStatus = "ConcurrentTx" AuthorizationStatusExpired AuthorizationStatus = "Expired" AuthorizationStatusInvalid AuthorizationStatus = "Invalid" AuthorizationStatusNoCredit AuthorizationStatus = "NoCredit" AuthorizationStatusNotAllowedTypeEVSE AuthorizationStatus = "NotAllowedTypeEVSE" AuthorizationStatusNotAtThisLocation AuthorizationStatus = "NotAtThisLocation" AuthorizationStatusNotAtThisTime AuthorizationStatus = "NotAtThisTime" AuthorizationStatusUnknown AuthorizationStatus = "Unknown" )
type AuthorizeCertificateStatus ¶
type AuthorizeCertificateStatus string
AuthorizeCertificateStatus is an enumeration of the 2.1 schemas.
const ( AuthorizeCertificateStatusAccepted AuthorizeCertificateStatus = "Accepted" AuthorizeCertificateStatusSignatureError AuthorizeCertificateStatus = "SignatureError" AuthorizeCertificateStatusCertificateExpired AuthorizeCertificateStatus = "CertificateExpired" AuthorizeCertificateStatusCertificateRevoked AuthorizeCertificateStatus = "CertificateRevoked" AuthorizeCertificateStatusNoCertificateAvailable AuthorizeCertificateStatus = "NoCertificateAvailable" AuthorizeCertificateStatusCertChainError AuthorizeCertificateStatus = "CertChainError" AuthorizeCertificateStatusContractCancelled AuthorizeCertificateStatus = "ContractCancelled" )
type AuthorizeRequest ¶
type AuthorizeRequest struct {
IDToken IDToken `json:"idToken"`
Certificate *string `json:"certificate,omitempty"`
Iso15118CertificateHashData []OCSPRequestData `json:"iso15118CertificateHashData,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AuthorizeRequest is an object of the 2.1 schemas.
func (AuthorizeRequest) ActionName ¶
func (AuthorizeRequest) ActionName() string
ActionName is "Authorize".
func (AuthorizeRequest) IsResponse ¶
func (AuthorizeRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type AuthorizeResponse ¶
type AuthorizeResponse struct {
IDTokenInfo IDTokenInfo `json:"idTokenInfo"`
CertificateStatus *AuthorizeCertificateStatus `json:"certificateStatus,omitempty"`
AllowedEnergyTransfer []EnergyTransferMode `json:"allowedEnergyTransfer,omitempty"`
Tariff *Tariff `json:"tariff,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
AuthorizeResponse is an object of the 2.1 schemas.
func (AuthorizeResponse) ActionName ¶
func (AuthorizeResponse) ActionName() string
ActionName is "Authorize".
func (AuthorizeResponse) IsResponse ¶
func (AuthorizeResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type BatteryData ¶
type BatteryData struct {
EvseID int `json:"evseId"`
SerialNumber string `json:"serialNumber"`
SoC float64 `json:"soC"`
SoH float64 `json:"soH"`
ProductionDate *string `json:"productionDate,omitempty"`
VendorInfo *string `json:"vendorInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
BatteryData is an object of the 2.1 schemas.
type BatterySwapEvent ¶
type BatterySwapEvent string
BatterySwapEvent is an enumeration of the 2.1 schemas.
const ( BatterySwapEventBatteryIn BatterySwapEvent = "BatteryIn" BatterySwapEventBatteryOut BatterySwapEvent = "BatteryOut" BatterySwapEventBatteryOutTimeout BatterySwapEvent = "BatteryOutTimeout" )
type BatterySwapRequest ¶
type BatterySwapRequest struct {
BatteryData []BatteryData `json:"batteryData"`
EventType BatterySwapEvent `json:"eventType"`
IDToken IDToken `json:"idToken"`
RequestID int `json:"requestId"`
CustomData *CustomData `json:"customData,omitempty"`
}
BatterySwapRequest is an object of the 2.1 schemas.
func (BatterySwapRequest) ActionName ¶
func (BatterySwapRequest) ActionName() string
ActionName is "BatterySwap".
func (BatterySwapRequest) IsResponse ¶
func (BatterySwapRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type BatterySwapResponse ¶
type BatterySwapResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
BatterySwapResponse is an object of the 2.1 schemas.
func (BatterySwapResponse) ActionName ¶
func (BatterySwapResponse) ActionName() string
ActionName is "BatterySwap".
func (BatterySwapResponse) IsResponse ¶
func (BatterySwapResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type BootNotificationRequest ¶
type BootNotificationRequest struct {
ChargingStation ChargingStation `json:"chargingStation"`
Reason BootReason `json:"reason"`
CustomData *CustomData `json:"customData,omitempty"`
}
BootNotificationRequest is an object of the 2.1 schemas.
func (BootNotificationRequest) ActionName ¶
func (BootNotificationRequest) ActionName() string
ActionName is "BootNotification".
func (BootNotificationRequest) IsResponse ¶
func (BootNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type BootNotificationResponse ¶
type BootNotificationResponse struct {
CurrentTime string `json:"currentTime"`
Interval int `json:"interval"`
Status RegistrationStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
BootNotificationResponse is an object of the 2.1 schemas.
func (BootNotificationResponse) ActionName ¶
func (BootNotificationResponse) ActionName() string
ActionName is "BootNotification".
func (BootNotificationResponse) IsResponse ¶
func (BootNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type BootReason ¶
type BootReason string
BootReason is an enumeration of the 2.1 schemas.
const ( BootReasonApplicationReset BootReason = "ApplicationReset" BootReasonFirmwareUpdate BootReason = "FirmwareUpdate" BootReasonLocalReset BootReason = "LocalReset" BootReasonPowerUp BootReason = "PowerUp" BootReasonRemoteReset BootReason = "RemoteReset" BootReasonScheduledReset BootReason = "ScheduledReset" BootReasonTriggered BootReason = "Triggered" BootReasonUnknown BootReason = "Unknown" BootReasonWatchdog BootReason = "Watchdog" )
type Caller ¶
type Caller interface {
Call(ctx context.Context, action string, req any) (json.RawMessage, error)
}
Caller sends a CALL and returns the answer: *csms.Station and *chargepoint.Client are Callers.
type CancelReservationRequest ¶
type CancelReservationRequest struct {
ReservationID int `json:"reservationId"`
CustomData *CustomData `json:"customData,omitempty"`
}
CancelReservationRequest is an object of the 2.1 schemas.
func (CancelReservationRequest) ActionName ¶
func (CancelReservationRequest) ActionName() string
ActionName is "CancelReservation".
func (CancelReservationRequest) IsResponse ¶
func (CancelReservationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type CancelReservationResponse ¶
type CancelReservationResponse struct {
Status CancelReservationStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CancelReservationResponse is an object of the 2.1 schemas.
func (CancelReservationResponse) ActionName ¶
func (CancelReservationResponse) ActionName() string
ActionName is "CancelReservation".
func (CancelReservationResponse) IsResponse ¶
func (CancelReservationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type CancelReservationStatus ¶
type CancelReservationStatus string
CancelReservationStatus is an enumeration of the 2.1 schemas.
const ( CancelReservationStatusAccepted CancelReservationStatus = "Accepted" CancelReservationStatusRejected CancelReservationStatus = "Rejected" )
type CertificateAction ¶
type CertificateAction string
CertificateAction is an enumeration of the 2.1 schemas.
const ( CertificateActionInstall CertificateAction = "Install" CertificateActionUpdate CertificateAction = "Update" )
type CertificateHashData ¶
type CertificateHashData struct {
HashAlgorithm HashAlgorithm `json:"hashAlgorithm"`
IssuerNameHash string `json:"issuerNameHash"`
IssuerKeyHash string `json:"issuerKeyHash"`
SerialNumber string `json:"serialNumber"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateHashData is an object of the 2.1 schemas.
type CertificateHashDataChain ¶
type CertificateHashDataChain struct {
CertificateHashData CertificateHashData `json:"certificateHashData"`
CertificateType GetCertificateIDUse `json:"certificateType"`
ChildCertificateHashData []CertificateHashData `json:"childCertificateHashData,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateHashDataChain is an object of the 2.1 schemas.
type CertificateSignedRequest ¶
type CertificateSignedRequest struct {
CertificateChain string `json:"certificateChain"`
CertificateType *CertificateSigningUse `json:"certificateType,omitempty"`
RequestID *int `json:"requestId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateSignedRequest is an object of the 2.1 schemas.
func (CertificateSignedRequest) ActionName ¶
func (CertificateSignedRequest) ActionName() string
ActionName is "CertificateSigned".
func (CertificateSignedRequest) IsResponse ¶
func (CertificateSignedRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type CertificateSignedResponse ¶
type CertificateSignedResponse struct {
Status CertificateSignedStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateSignedResponse is an object of the 2.1 schemas.
func (CertificateSignedResponse) ActionName ¶
func (CertificateSignedResponse) ActionName() string
ActionName is "CertificateSigned".
func (CertificateSignedResponse) IsResponse ¶
func (CertificateSignedResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type CertificateSignedStatus ¶
type CertificateSignedStatus string
CertificateSignedStatus is an enumeration of the 2.1 schemas.
const ( CertificateSignedStatusAccepted CertificateSignedStatus = "Accepted" CertificateSignedStatusRejected CertificateSignedStatus = "Rejected" )
type CertificateSigningUse ¶
type CertificateSigningUse string
CertificateSigningUse is an enumeration of the 2.1 schemas.
const ( CertificateSigningUseChargingStationCertificate CertificateSigningUse = "ChargingStationCertificate" CertificateSigningUseV2GCertificate CertificateSigningUse = "V2GCertificate" CertificateSigningUseV2G20Certificate CertificateSigningUse = "V2G20Certificate" )
type CertificateStatus ¶
type CertificateStatus struct {
CertificateHashData CertificateHashData `json:"certificateHashData"`
Source CertificateStatusSource `json:"source"`
Status CertificateStatusEnum `json:"status"`
NextUpdate string `json:"nextUpdate"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateStatus is an object of the 2.1 schemas.
type CertificateStatusEnum ¶
type CertificateStatusEnum string
CertificateStatusEnum is an enumeration of the 2.1 schemas.
const ( CertificateStatusEnumGood CertificateStatusEnum = "Good" CertificateStatusEnumRevoked CertificateStatusEnum = "Revoked" CertificateStatusEnumUnknown CertificateStatusEnum = "Unknown" CertificateStatusEnumFailed CertificateStatusEnum = "Failed" )
type CertificateStatusRequestInfo ¶
type CertificateStatusRequestInfo struct {
CertificateHashData CertificateHashData `json:"certificateHashData"`
Source CertificateStatusSource `json:"source"`
Urls []string `json:"urls"`
CustomData *CustomData `json:"customData,omitempty"`
}
CertificateStatusRequestInfo is an object of the 2.1 schemas.
type CertificateStatusSource ¶
type CertificateStatusSource string
CertificateStatusSource is an enumeration of the 2.1 schemas.
const ( CertificateStatusSourceCRL CertificateStatusSource = "CRL" CertificateStatusSourceOCSP CertificateStatusSource = "OCSP" )
type ChangeAvailabilityRequest ¶
type ChangeAvailabilityRequest struct {
Evse *EVSE `json:"evse,omitempty"`
OperationalStatus OperationalStatus `json:"operationalStatus"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChangeAvailabilityRequest is an object of the 2.1 schemas.
func (ChangeAvailabilityRequest) ActionName ¶
func (ChangeAvailabilityRequest) ActionName() string
ActionName is "ChangeAvailability".
func (ChangeAvailabilityRequest) IsResponse ¶
func (ChangeAvailabilityRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ChangeAvailabilityResponse ¶
type ChangeAvailabilityResponse struct {
Status ChangeAvailabilityStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChangeAvailabilityResponse is an object of the 2.1 schemas.
func (ChangeAvailabilityResponse) ActionName ¶
func (ChangeAvailabilityResponse) ActionName() string
ActionName is "ChangeAvailability".
func (ChangeAvailabilityResponse) IsResponse ¶
func (ChangeAvailabilityResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ChangeAvailabilityStatus ¶
type ChangeAvailabilityStatus string
ChangeAvailabilityStatus is an enumeration of the 2.1 schemas.
const ( ChangeAvailabilityStatusAccepted ChangeAvailabilityStatus = "Accepted" ChangeAvailabilityStatusRejected ChangeAvailabilityStatus = "Rejected" ChangeAvailabilityStatusScheduled ChangeAvailabilityStatus = "Scheduled" )
type ChangeTransactionTariffRequest ¶
type ChangeTransactionTariffRequest struct {
Tariff Tariff `json:"tariff"`
TransactionID string `json:"transactionId"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChangeTransactionTariffRequest is an object of the 2.1 schemas.
func (ChangeTransactionTariffRequest) ActionName ¶
func (ChangeTransactionTariffRequest) ActionName() string
ActionName is "ChangeTransactionTariff".
func (ChangeTransactionTariffRequest) IsResponse ¶
func (ChangeTransactionTariffRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ChangeTransactionTariffResponse ¶
type ChangeTransactionTariffResponse struct {
Status TariffChangeStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChangeTransactionTariffResponse is an object of the 2.1 schemas.
func (ChangeTransactionTariffResponse) ActionName ¶
func (ChangeTransactionTariffResponse) ActionName() string
ActionName is "ChangeTransactionTariff".
func (ChangeTransactionTariffResponse) IsResponse ¶
func (ChangeTransactionTariffResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ChargingLimit ¶
type ChargingLimit struct {
ChargingLimitSource string `json:"chargingLimitSource"`
IsLocalGeneration *bool `json:"isLocalGeneration,omitempty"`
IsGridCritical *bool `json:"isGridCritical,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingLimit is an object of the 2.1 schemas.
type ChargingNeeds ¶
type ChargingNeeds struct {
AcChargingParameters *ACChargingParameters `json:"acChargingParameters,omitempty"`
DerChargingParameters *DERChargingParameters `json:"derChargingParameters,omitempty"`
EvEnergyOffer *EVEnergyOffer `json:"evEnergyOffer,omitempty"`
RequestedEnergyTransfer EnergyTransferMode `json:"requestedEnergyTransfer"`
DcChargingParameters *DCChargingParameters `json:"dcChargingParameters,omitempty"`
V2xChargingParameters *V2XChargingParameters `json:"v2xChargingParameters,omitempty"`
AvailableEnergyTransfer []EnergyTransferMode `json:"availableEnergyTransfer,omitempty"`
ControlMode *ControlMode `json:"controlMode,omitempty"`
MobilityNeedsMode *MobilityNeedsMode `json:"mobilityNeedsMode,omitempty"`
DepartureTime *string `json:"departureTime,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingNeeds is an object of the 2.1 schemas.
type ChargingPeriod ¶
type ChargingPeriod struct {
Dimensions []CostDimension `json:"dimensions,omitempty"`
TariffID *string `json:"tariffId,omitempty"`
StartPeriod string `json:"startPeriod"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingPeriod is an object of the 2.1 schemas.
type ChargingProfile ¶
type ChargingProfile struct {
ID int `json:"id"`
StackLevel int `json:"stackLevel"`
ChargingProfilePurpose ChargingProfilePurpose `json:"chargingProfilePurpose"`
ChargingProfileKind ChargingProfileKind `json:"chargingProfileKind"`
RecurrencyKind *RecurrencyKind `json:"recurrencyKind,omitempty"`
ValidFrom *string `json:"validFrom,omitempty"`
ValidTo *string `json:"validTo,omitempty"`
TransactionID *string `json:"transactionId,omitempty"`
MaxOfflineDuration *int `json:"maxOfflineDuration,omitempty"`
ChargingSchedule []ChargingSchedule `json:"chargingSchedule"`
InvalidAfterOfflineDuration *bool `json:"invalidAfterOfflineDuration,omitempty"`
DynUpdateInterval *int `json:"dynUpdateInterval,omitempty"`
DynUpdateTime *string `json:"dynUpdateTime,omitempty"`
PriceScheduleSignature *string `json:"priceScheduleSignature,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingProfile is an object of the 2.1 schemas.
type ChargingProfileCriterion ¶
type ChargingProfileCriterion struct {
ChargingProfilePurpose *ChargingProfilePurpose `json:"chargingProfilePurpose,omitempty"`
StackLevel *int `json:"stackLevel,omitempty"`
ChargingProfileID []int `json:"chargingProfileId,omitempty"`
ChargingLimitSource []string `json:"chargingLimitSource,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingProfileCriterion is an object of the 2.1 schemas.
type ChargingProfileKind ¶
type ChargingProfileKind string
ChargingProfileKind is an enumeration of the 2.1 schemas.
const ( ChargingProfileKindAbsolute ChargingProfileKind = "Absolute" ChargingProfileKindRecurring ChargingProfileKind = "Recurring" ChargingProfileKindRelative ChargingProfileKind = "Relative" ChargingProfileKindDynamic ChargingProfileKind = "Dynamic" )
type ChargingProfilePurpose ¶
type ChargingProfilePurpose string
ChargingProfilePurpose is an enumeration of the 2.1 schemas.
const ( ChargingProfilePurposeChargingStationExternalConstraints ChargingProfilePurpose = "ChargingStationExternalConstraints" ChargingProfilePurposeChargingStationMaxProfile ChargingProfilePurpose = "ChargingStationMaxProfile" ChargingProfilePurposeTxDefaultProfile ChargingProfilePurpose = "TxDefaultProfile" ChargingProfilePurposeTxProfile ChargingProfilePurpose = "TxProfile" ChargingProfilePurposePriorityCharging ChargingProfilePurpose = "PriorityCharging" ChargingProfilePurposeLocalGeneration ChargingProfilePurpose = "LocalGeneration" )
type ChargingProfileStatus ¶
type ChargingProfileStatus string
ChargingProfileStatus is an enumeration of the 2.1 schemas.
const ( ChargingProfileStatusAccepted ChargingProfileStatus = "Accepted" ChargingProfileStatusRejected ChargingProfileStatus = "Rejected" )
type ChargingRateUnit ¶
type ChargingRateUnit string
ChargingRateUnit is an enumeration of the 2.1 schemas.
const ( ChargingRateUnitW ChargingRateUnit = "W" ChargingRateUnitA ChargingRateUnit = "A" )
type ChargingSchedule ¶
type ChargingSchedule struct {
ID int `json:"id"`
LimitAtSoC *LimitAtSoC `json:"limitAtSoC,omitempty"`
StartSchedule *string `json:"startSchedule,omitempty"`
Duration *int `json:"duration,omitempty"`
ChargingRateUnit ChargingRateUnit `json:"chargingRateUnit"`
MinChargingRate *float64 `json:"minChargingRate,omitempty"`
PowerTolerance *float64 `json:"powerTolerance,omitempty"`
SignatureID *int `json:"signatureId,omitempty"`
DigestValue *string `json:"digestValue,omitempty"`
UseLocalTime *bool `json:"useLocalTime,omitempty"`
ChargingSchedulePeriod []ChargingSchedulePeriod `json:"chargingSchedulePeriod"`
RandomizedDelay *int `json:"randomizedDelay,omitempty"`
SalesTariff *SalesTariff `json:"salesTariff,omitempty"`
AbsolutePriceSchedule *AbsolutePriceSchedule `json:"absolutePriceSchedule,omitempty"`
PriceLevelSchedule *PriceLevelSchedule `json:"priceLevelSchedule,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingSchedule is an object of the 2.1 schemas.
type ChargingSchedulePeriod ¶
type ChargingSchedulePeriod struct {
StartPeriod int `json:"startPeriod"`
Limit *float64 `json:"limit,omitempty"`
LimitL2 *float64 `json:"limit_L2,omitempty"`
LimitL3 *float64 `json:"limit_L3,omitempty"`
NumberPhases *int `json:"numberPhases,omitempty"`
PhaseToUse *int `json:"phaseToUse,omitempty"`
DischargeLimit *float64 `json:"dischargeLimit,omitempty"`
DischargeLimitL2 *float64 `json:"dischargeLimit_L2,omitempty"`
DischargeLimitL3 *float64 `json:"dischargeLimit_L3,omitempty"`
Setpoint *float64 `json:"setpoint,omitempty"`
SetpointL2 *float64 `json:"setpoint_L2,omitempty"`
SetpointL3 *float64 `json:"setpoint_L3,omitempty"`
SetpointReactive *float64 `json:"setpointReactive,omitempty"`
SetpointReactiveL2 *float64 `json:"setpointReactive_L2,omitempty"`
SetpointReactiveL3 *float64 `json:"setpointReactive_L3,omitempty"`
PreconditioningRequest *bool `json:"preconditioningRequest,omitempty"`
EvseSleep *bool `json:"evseSleep,omitempty"`
V2xBaseline *float64 `json:"v2xBaseline,omitempty"`
OperationMode *OperationMode `json:"operationMode,omitempty"`
V2xFreqWattCurve []V2XFreqWattPoint `json:"v2xFreqWattCurve,omitempty"`
V2xSignalWattCurve []V2XSignalWattPoint `json:"v2xSignalWattCurve,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingSchedulePeriod is an object of the 2.1 schemas.
type ChargingScheduleUpdate ¶
type ChargingScheduleUpdate struct {
Limit *float64 `json:"limit,omitempty"`
LimitL2 *float64 `json:"limit_L2,omitempty"`
LimitL3 *float64 `json:"limit_L3,omitempty"`
DischargeLimit *float64 `json:"dischargeLimit,omitempty"`
DischargeLimitL2 *float64 `json:"dischargeLimit_L2,omitempty"`
DischargeLimitL3 *float64 `json:"dischargeLimit_L3,omitempty"`
Setpoint *float64 `json:"setpoint,omitempty"`
SetpointL2 *float64 `json:"setpoint_L2,omitempty"`
SetpointL3 *float64 `json:"setpoint_L3,omitempty"`
SetpointReactive *float64 `json:"setpointReactive,omitempty"`
SetpointReactiveL2 *float64 `json:"setpointReactive_L2,omitempty"`
SetpointReactiveL3 *float64 `json:"setpointReactive_L3,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingScheduleUpdate is an object of the 2.1 schemas.
type ChargingState ¶
type ChargingState string
ChargingState is an enumeration of the 2.1 schemas.
const ( ChargingStateEVConnected ChargingState = "EVConnected" ChargingStateCharging ChargingState = "Charging" ChargingStateSuspendedEV ChargingState = "SuspendedEV" ChargingStateSuspendedEVSE ChargingState = "SuspendedEVSE" ChargingStateIdle ChargingState = "Idle" )
type ChargingStation ¶
type ChargingStation struct {
SerialNumber *string `json:"serialNumber,omitempty"`
Model string `json:"model"`
Modem *Modem `json:"modem,omitempty"`
VendorName string `json:"vendorName"`
FirmwareVersion *string `json:"firmwareVersion,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ChargingStation is an object of the 2.1 schemas.
type ClearCacheRequest ¶
type ClearCacheRequest struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ClearCacheRequest is an object of the 2.1 schemas.
func (ClearCacheRequest) ActionName ¶
func (ClearCacheRequest) ActionName() string
ActionName is "ClearCache".
func (ClearCacheRequest) IsResponse ¶
func (ClearCacheRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearCacheResponse ¶
type ClearCacheResponse struct {
Status ClearCacheStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearCacheResponse is an object of the 2.1 schemas.
func (ClearCacheResponse) ActionName ¶
func (ClearCacheResponse) ActionName() string
ActionName is "ClearCache".
func (ClearCacheResponse) IsResponse ¶
func (ClearCacheResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearCacheStatus ¶
type ClearCacheStatus string
ClearCacheStatus is an enumeration of the 2.1 schemas.
const ( ClearCacheStatusAccepted ClearCacheStatus = "Accepted" ClearCacheStatusRejected ClearCacheStatus = "Rejected" )
type ClearChargingProfile ¶
type ClearChargingProfile struct {
EvseID *int `json:"evseId,omitempty"`
ChargingProfilePurpose *ChargingProfilePurpose `json:"chargingProfilePurpose,omitempty"`
StackLevel *int `json:"stackLevel,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearChargingProfile is an object of the 2.1 schemas.
type ClearChargingProfileRequest ¶
type ClearChargingProfileRequest struct {
ChargingProfileID *int `json:"chargingProfileId,omitempty"`
ChargingProfileCriteria *ClearChargingProfile `json:"chargingProfileCriteria,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearChargingProfileRequest is an object of the 2.1 schemas.
func (ClearChargingProfileRequest) ActionName ¶
func (ClearChargingProfileRequest) ActionName() string
ActionName is "ClearChargingProfile".
func (ClearChargingProfileRequest) IsResponse ¶
func (ClearChargingProfileRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearChargingProfileResponse ¶
type ClearChargingProfileResponse struct {
Status ClearChargingProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearChargingProfileResponse is an object of the 2.1 schemas.
func (ClearChargingProfileResponse) ActionName ¶
func (ClearChargingProfileResponse) ActionName() string
ActionName is "ClearChargingProfile".
func (ClearChargingProfileResponse) IsResponse ¶
func (ClearChargingProfileResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearChargingProfileStatus ¶
type ClearChargingProfileStatus string
ClearChargingProfileStatus is an enumeration of the 2.1 schemas.
const ( ClearChargingProfileStatusAccepted ClearChargingProfileStatus = "Accepted" ClearChargingProfileStatusUnknown ClearChargingProfileStatus = "Unknown" )
type ClearDERControlRequest ¶
type ClearDERControlRequest struct {
IsDefault bool `json:"isDefault"`
ControlType *DERControl `json:"controlType,omitempty"`
ControlID *string `json:"controlId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearDERControlRequest is an object of the 2.1 schemas.
func (ClearDERControlRequest) ActionName ¶
func (ClearDERControlRequest) ActionName() string
ActionName is "ClearDERControl".
func (ClearDERControlRequest) IsResponse ¶
func (ClearDERControlRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearDERControlResponse ¶
type ClearDERControlResponse struct {
Status DERControlStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearDERControlResponse is an object of the 2.1 schemas.
func (ClearDERControlResponse) ActionName ¶
func (ClearDERControlResponse) ActionName() string
ActionName is "ClearDERControl".
func (ClearDERControlResponse) IsResponse ¶
func (ClearDERControlResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearDisplayMessageRequest ¶
type ClearDisplayMessageRequest struct {
ID int `json:"id"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearDisplayMessageRequest is an object of the 2.1 schemas.
func (ClearDisplayMessageRequest) ActionName ¶
func (ClearDisplayMessageRequest) ActionName() string
ActionName is "ClearDisplayMessage".
func (ClearDisplayMessageRequest) IsResponse ¶
func (ClearDisplayMessageRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearDisplayMessageResponse ¶
type ClearDisplayMessageResponse struct {
Status ClearMessageStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearDisplayMessageResponse is an object of the 2.1 schemas.
func (ClearDisplayMessageResponse) ActionName ¶
func (ClearDisplayMessageResponse) ActionName() string
ActionName is "ClearDisplayMessage".
func (ClearDisplayMessageResponse) IsResponse ¶
func (ClearDisplayMessageResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearMessageStatus ¶
type ClearMessageStatus string
ClearMessageStatus is an enumeration of the 2.1 schemas.
const ( ClearMessageStatusAccepted ClearMessageStatus = "Accepted" ClearMessageStatusUnknown ClearMessageStatus = "Unknown" ClearMessageStatusRejected ClearMessageStatus = "Rejected" )
type ClearMonitoringResult ¶
type ClearMonitoringResult struct {
Status ClearMonitoringStatus `json:"status"`
ID int `json:"id"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearMonitoringResult is an object of the 2.1 schemas.
type ClearMonitoringStatus ¶
type ClearMonitoringStatus string
ClearMonitoringStatus is an enumeration of the 2.1 schemas.
const ( ClearMonitoringStatusAccepted ClearMonitoringStatus = "Accepted" ClearMonitoringStatusRejected ClearMonitoringStatus = "Rejected" ClearMonitoringStatusNotFound ClearMonitoringStatus = "NotFound" )
type ClearTariffsRequest ¶
type ClearTariffsRequest struct {
TariffIds []string `json:"tariffIds,omitempty"`
EvseID *int `json:"evseId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearTariffsRequest is an object of the 2.1 schemas.
func (ClearTariffsRequest) ActionName ¶
func (ClearTariffsRequest) ActionName() string
ActionName is "ClearTariffs".
func (ClearTariffsRequest) IsResponse ¶
func (ClearTariffsRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearTariffsResponse ¶
type ClearTariffsResponse struct {
ClearTariffsResult []ClearTariffsResult `json:"clearTariffsResult"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearTariffsResponse is an object of the 2.1 schemas.
func (ClearTariffsResponse) ActionName ¶
func (ClearTariffsResponse) ActionName() string
ActionName is "ClearTariffs".
func (ClearTariffsResponse) IsResponse ¶
func (ClearTariffsResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearTariffsResult ¶
type ClearTariffsResult struct {
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
TariffID *string `json:"tariffId,omitempty"`
Status TariffClearStatus `json:"status"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearTariffsResult is an object of the 2.1 schemas.
type ClearVariableMonitoringRequest ¶
type ClearVariableMonitoringRequest struct {
ID []int `json:"id"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearVariableMonitoringRequest is an object of the 2.1 schemas.
func (ClearVariableMonitoringRequest) ActionName ¶
func (ClearVariableMonitoringRequest) ActionName() string
ActionName is "ClearVariableMonitoring".
func (ClearVariableMonitoringRequest) IsResponse ¶
func (ClearVariableMonitoringRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearVariableMonitoringResponse ¶
type ClearVariableMonitoringResponse struct {
ClearMonitoringResult []ClearMonitoringResult `json:"clearMonitoringResult"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearVariableMonitoringResponse is an object of the 2.1 schemas.
func (ClearVariableMonitoringResponse) ActionName ¶
func (ClearVariableMonitoringResponse) ActionName() string
ActionName is "ClearVariableMonitoring".
func (ClearVariableMonitoringResponse) IsResponse ¶
func (ClearVariableMonitoringResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClearedChargingLimitRequest ¶
type ClearedChargingLimitRequest struct {
ChargingLimitSource string `json:"chargingLimitSource"`
EvseID *int `json:"evseId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClearedChargingLimitRequest is an object of the 2.1 schemas.
func (ClearedChargingLimitRequest) ActionName ¶
func (ClearedChargingLimitRequest) ActionName() string
ActionName is "ClearedChargingLimit".
func (ClearedChargingLimitRequest) IsResponse ¶
func (ClearedChargingLimitRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClearedChargingLimitResponse ¶
type ClearedChargingLimitResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ClearedChargingLimitResponse is an object of the 2.1 schemas.
func (ClearedChargingLimitResponse) ActionName ¶
func (ClearedChargingLimitResponse) ActionName() string
ActionName is "ClearedChargingLimit".
func (ClearedChargingLimitResponse) IsResponse ¶
func (ClearedChargingLimitResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ClosePeriodicEventStreamRequest ¶
type ClosePeriodicEventStreamRequest struct {
ID int `json:"id"`
CustomData *CustomData `json:"customData,omitempty"`
}
ClosePeriodicEventStreamRequest is an object of the 2.1 schemas.
func (ClosePeriodicEventStreamRequest) ActionName ¶
func (ClosePeriodicEventStreamRequest) ActionName() string
ActionName is "ClosePeriodicEventStream".
func (ClosePeriodicEventStreamRequest) IsResponse ¶
func (ClosePeriodicEventStreamRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ClosePeriodicEventStreamResponse ¶
type ClosePeriodicEventStreamResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ClosePeriodicEventStreamResponse is an object of the 2.1 schemas.
func (ClosePeriodicEventStreamResponse) ActionName ¶
func (ClosePeriodicEventStreamResponse) ActionName() string
ActionName is "ClosePeriodicEventStream".
func (ClosePeriodicEventStreamResponse) IsResponse ¶
func (ClosePeriodicEventStreamResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type Component ¶
type Component struct {
Evse *EVSE `json:"evse,omitempty"`
Name string `json:"name"`
Instance *string `json:"instance,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Component is an object of the 2.1 schemas.
type ComponentCriterion ¶
type ComponentCriterion string
ComponentCriterion is an enumeration of the 2.1 schemas.
const ( ComponentCriterionActive ComponentCriterion = "Active" ComponentCriterionAvailable ComponentCriterion = "Available" ComponentCriterionEnabled ComponentCriterion = "Enabled" ComponentCriterionProblem ComponentCriterion = "Problem" )
type ComponentVariable ¶
type ComponentVariable struct {
Component Component `json:"component"`
Variable *Variable `json:"variable,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ComponentVariable is an object of the 2.1 schemas.
type CompositeSchedule ¶
type CompositeSchedule struct {
EvseID int `json:"evseId"`
Duration int `json:"duration"`
ScheduleStart string `json:"scheduleStart"`
ChargingRateUnit ChargingRateUnit `json:"chargingRateUnit"`
ChargingSchedulePeriod []ChargingSchedulePeriod `json:"chargingSchedulePeriod"`
CustomData *CustomData `json:"customData,omitempty"`
}
CompositeSchedule is an object of the 2.1 schemas.
type ConnectorStatus ¶
type ConnectorStatus string
ConnectorStatus is an enumeration of the 2.1 schemas.
const ( ConnectorStatusAvailable ConnectorStatus = "Available" ConnectorStatusOccupied ConnectorStatus = "Occupied" ConnectorStatusReserved ConnectorStatus = "Reserved" ConnectorStatusFaulted ConnectorStatus = "Faulted" )
type ConstantStreamData ¶
type ConstantStreamData struct {
ID int `json:"id"`
Params PeriodicEventStreamParams `json:"params"`
VariableMonitoringID int `json:"variableMonitoringId"`
CustomData *CustomData `json:"customData,omitempty"`
}
ConstantStreamData is an object of the 2.1 schemas.
type ConsumptionCost ¶
type ConsumptionCost struct {
StartValue float64 `json:"startValue"`
Cost []Cost `json:"cost"`
CustomData *CustomData `json:"customData,omitempty"`
}
ConsumptionCost is an object of the 2.1 schemas.
type ControlMode ¶
type ControlMode string
ControlMode is an enumeration of the 2.1 schemas.
const ( ControlModeScheduledControl ControlMode = "ScheduledControl" ControlModeDynamicControl ControlMode = "DynamicControl" )
type Cost ¶
type Cost struct {
CostKind CostKind `json:"costKind"`
Amount int `json:"amount"`
AmountMultiplier *int `json:"amountMultiplier,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Cost is an object of the 2.1 schemas.
type CostDetails ¶
type CostDetails struct {
ChargingPeriods []ChargingPeriod `json:"chargingPeriods,omitempty"`
TotalCost TotalCost `json:"totalCost"`
TotalUsage TotalUsage `json:"totalUsage"`
FailureToCalculate *bool `json:"failureToCalculate,omitempty"`
FailureReason *string `json:"failureReason,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CostDetails is an object of the 2.1 schemas.
type CostDimension ¶
type CostDimension struct {
Type CostDimensionEnum `json:"type"`
Volume float64 `json:"volume"`
CustomData *CustomData `json:"customData,omitempty"`
}
CostDimension is an object of the 2.1 schemas.
type CostDimensionEnum ¶
type CostDimensionEnum string
CostDimensionEnum is an enumeration of the 2.1 schemas.
const ( CostDimensionEnumEnergy CostDimensionEnum = "Energy" CostDimensionEnumMaxCurrent CostDimensionEnum = "MaxCurrent" CostDimensionEnumMinCurrent CostDimensionEnum = "MinCurrent" CostDimensionEnumMaxPower CostDimensionEnum = "MaxPower" CostDimensionEnumMinPower CostDimensionEnum = "MinPower" CostDimensionEnumIdleTIme CostDimensionEnum = "IdleTIme" CostDimensionEnumChargingTime CostDimensionEnum = "ChargingTime" )
type CostUpdatedRequest ¶
type CostUpdatedRequest struct {
TotalCost float64 `json:"totalCost"`
TransactionID string `json:"transactionId"`
CustomData *CustomData `json:"customData,omitempty"`
}
CostUpdatedRequest is an object of the 2.1 schemas.
func (CostUpdatedRequest) ActionName ¶
func (CostUpdatedRequest) ActionName() string
ActionName is "CostUpdated".
func (CostUpdatedRequest) IsResponse ¶
func (CostUpdatedRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type CostUpdatedResponse ¶
type CostUpdatedResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
CostUpdatedResponse is an object of the 2.1 schemas.
func (CostUpdatedResponse) ActionName ¶
func (CostUpdatedResponse) ActionName() string
ActionName is "CostUpdated".
func (CostUpdatedResponse) IsResponse ¶
func (CostUpdatedResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type CustomData ¶
type CustomData struct {
VendorID string `json:"vendorId"`
// Extra holds properties the schema does not name (it allows them).
Extra map[string]json.RawMessage `json:"-"`
}
CustomData is an object of the 2.1 schemas.
func (CustomData) MarshalJSON ¶
func (v CustomData) MarshalJSON() ([]byte, error)
MarshalJSON writes the named properties and Extra.
func (*CustomData) UnmarshalJSON ¶
func (v *CustomData) UnmarshalJSON(b []byte) error
UnmarshalJSON reads the named properties and keeps the others in Extra.
type CustomerInformationRequest ¶
type CustomerInformationRequest struct {
CustomerCertificate *CertificateHashData `json:"customerCertificate,omitempty"`
IDToken *IDToken `json:"idToken,omitempty"`
RequestID int `json:"requestId"`
Report bool `json:"report"`
Clear bool `json:"clear"`
CustomerIdentifier *string `json:"customerIdentifier,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CustomerInformationRequest is an object of the 2.1 schemas.
func (CustomerInformationRequest) ActionName ¶
func (CustomerInformationRequest) ActionName() string
ActionName is "CustomerInformation".
func (CustomerInformationRequest) IsResponse ¶
func (CustomerInformationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type CustomerInformationResponse ¶
type CustomerInformationResponse struct {
Status CustomerInformationStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
CustomerInformationResponse is an object of the 2.1 schemas.
func (CustomerInformationResponse) ActionName ¶
func (CustomerInformationResponse) ActionName() string
ActionName is "CustomerInformation".
func (CustomerInformationResponse) IsResponse ¶
func (CustomerInformationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type CustomerInformationStatus ¶
type CustomerInformationStatus string
CustomerInformationStatus is an enumeration of the 2.1 schemas.
const ( CustomerInformationStatusAccepted CustomerInformationStatus = "Accepted" CustomerInformationStatusRejected CustomerInformationStatus = "Rejected" CustomerInformationStatusInvalid CustomerInformationStatus = "Invalid" )
type DCChargingParameters ¶
type DCChargingParameters struct {
EvMaxCurrent float64 `json:"evMaxCurrent"`
EvMaxVoltage float64 `json:"evMaxVoltage"`
EvMaxPower *float64 `json:"evMaxPower,omitempty"`
EvEnergyCapacity *float64 `json:"evEnergyCapacity,omitempty"`
EnergyAmount *float64 `json:"energyAmount,omitempty"`
StateOfCharge *int `json:"stateOfCharge,omitempty"`
FullSoC *int `json:"fullSoC,omitempty"`
BulkSoC *int `json:"bulkSoC,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
DCChargingParameters is an object of the 2.1 schemas.
type DERChargingParameters ¶
type DERChargingParameters struct {
EvSupportedDERControl []DERControl `json:"evSupportedDERControl,omitempty"`
EvOverExcitedMaxDischargePower *float64 `json:"evOverExcitedMaxDischargePower,omitempty"`
EvOverExcitedPowerFactor *float64 `json:"evOverExcitedPowerFactor,omitempty"`
EvUnderExcitedMaxDischargePower *float64 `json:"evUnderExcitedMaxDischargePower,omitempty"`
EvUnderExcitedPowerFactor *float64 `json:"evUnderExcitedPowerFactor,omitempty"`
MaxApparentPower *float64 `json:"maxApparentPower,omitempty"`
MaxChargeApparentPower *float64 `json:"maxChargeApparentPower,omitempty"`
MaxChargeApparentPowerL2 *float64 `json:"maxChargeApparentPower_L2,omitempty"`
MaxChargeApparentPowerL3 *float64 `json:"maxChargeApparentPower_L3,omitempty"`
MaxDischargeApparentPower *float64 `json:"maxDischargeApparentPower,omitempty"`
MaxDischargeApparentPowerL2 *float64 `json:"maxDischargeApparentPower_L2,omitempty"`
MaxDischargeApparentPowerL3 *float64 `json:"maxDischargeApparentPower_L3,omitempty"`
MaxChargeReactivePower *float64 `json:"maxChargeReactivePower,omitempty"`
MaxChargeReactivePowerL2 *float64 `json:"maxChargeReactivePower_L2,omitempty"`
MaxChargeReactivePowerL3 *float64 `json:"maxChargeReactivePower_L3,omitempty"`
MinChargeReactivePower *float64 `json:"minChargeReactivePower,omitempty"`
MinChargeReactivePowerL2 *float64 `json:"minChargeReactivePower_L2,omitempty"`
MinChargeReactivePowerL3 *float64 `json:"minChargeReactivePower_L3,omitempty"`
MaxDischargeReactivePower *float64 `json:"maxDischargeReactivePower,omitempty"`
MaxDischargeReactivePowerL2 *float64 `json:"maxDischargeReactivePower_L2,omitempty"`
MaxDischargeReactivePowerL3 *float64 `json:"maxDischargeReactivePower_L3,omitempty"`
MinDischargeReactivePower *float64 `json:"minDischargeReactivePower,omitempty"`
MinDischargeReactivePowerL2 *float64 `json:"minDischargeReactivePower_L2,omitempty"`
MinDischargeReactivePowerL3 *float64 `json:"minDischargeReactivePower_L3,omitempty"`
NominalVoltage *float64 `json:"nominalVoltage,omitempty"`
NominalVoltageOffset *float64 `json:"nominalVoltageOffset,omitempty"`
MaxNominalVoltage *float64 `json:"maxNominalVoltage,omitempty"`
MinNominalVoltage *float64 `json:"minNominalVoltage,omitempty"`
EvInverterManufacturer *string `json:"evInverterManufacturer,omitempty"`
EvInverterModel *string `json:"evInverterModel,omitempty"`
EvInverterSerialNumber *string `json:"evInverterSerialNumber,omitempty"`
EvInverterSwVersion *string `json:"evInverterSwVersion,omitempty"`
EvInverterHwVersion *string `json:"evInverterHwVersion,omitempty"`
EvIslandingDetectionMethod []IslandingDetection `json:"evIslandingDetectionMethod,omitempty"`
EvIslandingTripTime *float64 `json:"evIslandingTripTime,omitempty"`
EvMaximumLevel1DCInjection *float64 `json:"evMaximumLevel1DCInjection,omitempty"`
EvDurationLevel1DCInjection *float64 `json:"evDurationLevel1DCInjection,omitempty"`
EvMaximumLevel2DCInjection *float64 `json:"evMaximumLevel2DCInjection,omitempty"`
EvDurationLevel2DCInjection *float64 `json:"evDurationLevel2DCInjection,omitempty"`
EvReactiveSusceptance *float64 `json:"evReactiveSusceptance,omitempty"`
EvSessionTotalDischargeEnergyAvailable *float64 `json:"evSessionTotalDischargeEnergyAvailable,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
DERChargingParameters is an object of the 2.1 schemas.
type DERControl ¶
type DERControl string
DERControl is an enumeration of the 2.1 schemas.
const ( DERControlEnterService DERControl = "EnterService" DERControlFreqDroop DERControl = "FreqDroop" DERControlFreqWatt DERControl = "FreqWatt" DERControlFixedPFAbsorb DERControl = "FixedPFAbsorb" DERControlFixedPFInject DERControl = "FixedPFInject" DERControlFixedVar DERControl = "FixedVar" DERControlGradients DERControl = "Gradients" DERControlHFMustTrip DERControl = "HFMustTrip" DERControlHFMayTrip DERControl = "HFMayTrip" DERControlHVMustTrip DERControl = "HVMustTrip" DERControlHVMomCess DERControl = "HVMomCess" DERControlHVMayTrip DERControl = "HVMayTrip" DERControlLimitMaxDischarge DERControl = "LimitMaxDischarge" DERControlLFMustTrip DERControl = "LFMustTrip" DERControlLVMustTrip DERControl = "LVMustTrip" DERControlLVMomCess DERControl = "LVMomCess" DERControlLVMayTrip DERControl = "LVMayTrip" DERControlPowerMonitoringMustTrip DERControl = "PowerMonitoringMustTrip" DERControlVoltVar DERControl = "VoltVar" DERControlVoltWatt DERControl = "VoltWatt" DERControlWattPF DERControl = "WattPF" DERControlWattVar DERControl = "WattVar" )
type DERControlStatus ¶
type DERControlStatus string
DERControlStatus is an enumeration of the 2.1 schemas.
const ( DERControlStatusAccepted DERControlStatus = "Accepted" DERControlStatusRejected DERControlStatus = "Rejected" DERControlStatusNotSupported DERControlStatus = "NotSupported" DERControlStatusNotFound DERControlStatus = "NotFound" )
type DERCurve ¶
type DERCurve struct {
CurveData []DERCurvePoints `json:"curveData"`
Hysteresis *Hysteresis `json:"hysteresis,omitempty"`
Priority int `json:"priority"`
ReactivePowerParams *ReactivePowerParams `json:"reactivePowerParams,omitempty"`
VoltageParams *VoltageParams `json:"voltageParams,omitempty"`
YUnit DERUnit `json:"yUnit"`
ResponseTime *float64 `json:"responseTime,omitempty"`
StartTime *string `json:"startTime,omitempty"`
Duration *float64 `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
DERCurve is an object of the 2.1 schemas.
type DERCurveGet ¶
type DERCurveGet struct {
Curve DERCurve `json:"curve"`
ID string `json:"id"`
CurveType DERControl `json:"curveType"`
IsDefault bool `json:"isDefault"`
IsSuperseded bool `json:"isSuperseded"`
CustomData *CustomData `json:"customData,omitempty"`
}
DERCurveGet is an object of the 2.1 schemas.
type DERCurvePoints ¶
type DERCurvePoints struct {
X float64 `json:"x"`
Y float64 `json:"y"`
CustomData *CustomData `json:"customData,omitempty"`
}
DERCurvePoints is an object of the 2.1 schemas.
type DataTransferRequest ¶
type DataTransferRequest struct {
MessageID *string `json:"messageId,omitempty"`
Data json.RawMessage `json:"data,omitempty"`
VendorID string `json:"vendorId"`
CustomData *CustomData `json:"customData,omitempty"`
}
DataTransferRequest is an object of the 2.1 schemas.
func (DataTransferRequest) ActionName ¶
func (DataTransferRequest) ActionName() string
ActionName is "DataTransfer".
func (DataTransferRequest) IsResponse ¶
func (DataTransferRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type DataTransferResponse ¶
type DataTransferResponse struct {
Status DataTransferStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Data json.RawMessage `json:"data,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
DataTransferResponse is an object of the 2.1 schemas.
func (DataTransferResponse) ActionName ¶
func (DataTransferResponse) ActionName() string
ActionName is "DataTransfer".
func (DataTransferResponse) IsResponse ¶
func (DataTransferResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type DataTransferStatus ¶
type DataTransferStatus string
DataTransferStatus is an enumeration of the 2.1 schemas.
const ( DataTransferStatusAccepted DataTransferStatus = "Accepted" DataTransferStatusRejected DataTransferStatus = "Rejected" DataTransferStatusUnknownMessageID DataTransferStatus = "UnknownMessageId" DataTransferStatusUnknownVendorID DataTransferStatus = "UnknownVendorId" )
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct {
CertificateHashData CertificateHashData `json:"certificateHashData"`
CustomData *CustomData `json:"customData,omitempty"`
}
DeleteCertificateRequest is an object of the 2.1 schemas.
func (DeleteCertificateRequest) ActionName ¶
func (DeleteCertificateRequest) ActionName() string
ActionName is "DeleteCertificate".
func (DeleteCertificateRequest) IsResponse ¶
func (DeleteCertificateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type DeleteCertificateResponse ¶
type DeleteCertificateResponse struct {
Status DeleteCertificateStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
DeleteCertificateResponse is an object of the 2.1 schemas.
func (DeleteCertificateResponse) ActionName ¶
func (DeleteCertificateResponse) ActionName() string
ActionName is "DeleteCertificate".
func (DeleteCertificateResponse) IsResponse ¶
func (DeleteCertificateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type DeleteCertificateStatus ¶
type DeleteCertificateStatus string
DeleteCertificateStatus is an enumeration of the 2.1 schemas.
const ( DeleteCertificateStatusAccepted DeleteCertificateStatus = "Accepted" DeleteCertificateStatusFailed DeleteCertificateStatus = "Failed" DeleteCertificateStatusNotFound DeleteCertificateStatus = "NotFound" )
type DisplayMessageStatus ¶
type DisplayMessageStatus string
DisplayMessageStatus is an enumeration of the 2.1 schemas.
const ( DisplayMessageStatusAccepted DisplayMessageStatus = "Accepted" DisplayMessageStatusNotSupportedMessageFormat DisplayMessageStatus = "NotSupportedMessageFormat" DisplayMessageStatusRejected DisplayMessageStatus = "Rejected" DisplayMessageStatusNotSupportedPriority DisplayMessageStatus = "NotSupportedPriority" DisplayMessageStatusNotSupportedState DisplayMessageStatus = "NotSupportedState" DisplayMessageStatusUnknownTransaction DisplayMessageStatus = "UnknownTransaction" DisplayMessageStatusLanguageNotSupported DisplayMessageStatus = "LanguageNotSupported" )
type EVAbsolutePriceSchedule ¶
type EVAbsolutePriceSchedule struct {
TimeAnchor string `json:"timeAnchor"`
Currency string `json:"currency"`
EvAbsolutePriceScheduleEntries []EVAbsolutePriceScheduleEntry `json:"evAbsolutePriceScheduleEntries"`
PriceAlgorithm string `json:"priceAlgorithm"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVAbsolutePriceSchedule is an object of the 2.1 schemas.
type EVAbsolutePriceScheduleEntry ¶
type EVAbsolutePriceScheduleEntry struct {
Duration int `json:"duration"`
EvPriceRule []EVPriceRule `json:"evPriceRule"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVAbsolutePriceScheduleEntry is an object of the 2.1 schemas.
type EVEnergyOffer ¶
type EVEnergyOffer struct {
EvAbsolutePriceSchedule *EVAbsolutePriceSchedule `json:"evAbsolutePriceSchedule,omitempty"`
EvPowerSchedule EVPowerSchedule `json:"evPowerSchedule"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVEnergyOffer is an object of the 2.1 schemas.
type EVPowerSchedule ¶
type EVPowerSchedule struct {
EvPowerScheduleEntries []EVPowerScheduleEntry `json:"evPowerScheduleEntries"`
TimeAnchor string `json:"timeAnchor"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVPowerSchedule is an object of the 2.1 schemas.
type EVPowerScheduleEntry ¶
type EVPowerScheduleEntry struct {
Duration int `json:"duration"`
Power float64 `json:"power"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVPowerScheduleEntry is an object of the 2.1 schemas.
type EVPriceRule ¶
type EVPriceRule struct {
EnergyFee float64 `json:"energyFee"`
PowerRangeStart float64 `json:"powerRangeStart"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVPriceRule is an object of the 2.1 schemas.
type EVSE ¶
type EVSE struct {
ID int `json:"id"`
ConnectorID *int `json:"connectorId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
EVSE is an object of the 2.1 schemas.
type EnergyTransferMode ¶
type EnergyTransferMode string
EnergyTransferMode is an enumeration of the 2.1 schemas.
const ( EnergyTransferModeACSinglePhase EnergyTransferMode = "AC_single_phase" EnergyTransferModeACTwoPhase EnergyTransferMode = "AC_two_phase" EnergyTransferModeACThreePhase EnergyTransferMode = "AC_three_phase" EnergyTransferModeDC EnergyTransferMode = "DC" EnergyTransferModeACBPT EnergyTransferMode = "AC_BPT" EnergyTransferModeACBPTDER EnergyTransferMode = "AC_BPT_DER" EnergyTransferModeACDER EnergyTransferMode = "AC_DER" EnergyTransferModeDCBPT EnergyTransferMode = "DC_BPT" EnergyTransferModeDCACDP EnergyTransferMode = "DC_ACDP" EnergyTransferModeDCACDPBPT EnergyTransferMode = "DC_ACDP_BPT" EnergyTransferModeWPT EnergyTransferMode = "WPT" )
type EnterService ¶
type EnterService struct {
Priority int `json:"priority"`
HighVoltage float64 `json:"highVoltage"`
LowVoltage float64 `json:"lowVoltage"`
HighFreq float64 `json:"highFreq"`
LowFreq float64 `json:"lowFreq"`
Delay *float64 `json:"delay,omitempty"`
RandomDelay *float64 `json:"randomDelay,omitempty"`
RampRate *float64 `json:"rampRate,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
EnterService is an object of the 2.1 schemas.
type EnterServiceGet ¶
type EnterServiceGet struct {
EnterService EnterService `json:"enterService"`
ID string `json:"id"`
CustomData *CustomData `json:"customData,omitempty"`
}
EnterServiceGet is an object of the 2.1 schemas.
type EventData ¶
type EventData struct {
EventID int `json:"eventId"`
Timestamp string `json:"timestamp"`
Trigger EventTrigger `json:"trigger"`
Cause *int `json:"cause,omitempty"`
ActualValue string `json:"actualValue"`
TechCode *string `json:"techCode,omitempty"`
TechInfo *string `json:"techInfo,omitempty"`
Cleared *bool `json:"cleared,omitempty"`
TransactionID *string `json:"transactionId,omitempty"`
Component Component `json:"component"`
VariableMonitoringID *int `json:"variableMonitoringId,omitempty"`
EventNotificationType EventNotification `json:"eventNotificationType"`
Variable Variable `json:"variable"`
Severity *int `json:"severity,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
EventData is an object of the 2.1 schemas.
type EventNotification ¶
type EventNotification string
EventNotification is an enumeration of the 2.1 schemas.
const ( EventNotificationHardWiredNotification EventNotification = "HardWiredNotification" EventNotificationHardWiredMonitor EventNotification = "HardWiredMonitor" EventNotificationPreconfiguredMonitor EventNotification = "PreconfiguredMonitor" EventNotificationCustomMonitor EventNotification = "CustomMonitor" )
type EventTrigger ¶
type EventTrigger string
EventTrigger is an enumeration of the 2.1 schemas.
const ( EventTriggerAlerting EventTrigger = "Alerting" EventTriggerDelta EventTrigger = "Delta" EventTriggerPeriodic EventTrigger = "Periodic" )
type Firmware ¶
type Firmware struct {
Location string `json:"location"`
RetrieveDateTime string `json:"retrieveDateTime"`
InstallDateTime *string `json:"installDateTime,omitempty"`
SigningCertificate *string `json:"signingCertificate,omitempty"`
Signature *string `json:"signature,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Firmware is an object of the 2.1 schemas.
type FirmwareStatus ¶
type FirmwareStatus string
FirmwareStatus is an enumeration of the 2.1 schemas.
const ( FirmwareStatusDownloaded FirmwareStatus = "Downloaded" FirmwareStatusDownloadFailed FirmwareStatus = "DownloadFailed" FirmwareStatusDownloading FirmwareStatus = "Downloading" FirmwareStatusDownloadScheduled FirmwareStatus = "DownloadScheduled" FirmwareStatusDownloadPaused FirmwareStatus = "DownloadPaused" FirmwareStatusIdle FirmwareStatus = "Idle" FirmwareStatusInstallationFailed FirmwareStatus = "InstallationFailed" FirmwareStatusInstalling FirmwareStatus = "Installing" FirmwareStatusInstalled FirmwareStatus = "Installed" FirmwareStatusInstallRebooting FirmwareStatus = "InstallRebooting" FirmwareStatusInstallScheduled FirmwareStatus = "InstallScheduled" FirmwareStatusInstallVerificationFailed FirmwareStatus = "InstallVerificationFailed" FirmwareStatusInvalidSignature FirmwareStatus = "InvalidSignature" FirmwareStatusSignatureVerified FirmwareStatus = "SignatureVerified" )
type FirmwareStatusNotificationRequest ¶
type FirmwareStatusNotificationRequest struct {
Status FirmwareStatus `json:"status"`
RequestID *int `json:"requestId,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
FirmwareStatusNotificationRequest is an object of the 2.1 schemas.
func (FirmwareStatusNotificationRequest) ActionName ¶
func (FirmwareStatusNotificationRequest) ActionName() string
ActionName is "FirmwareStatusNotification".
func (FirmwareStatusNotificationRequest) IsResponse ¶
func (FirmwareStatusNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type FirmwareStatusNotificationResponse ¶
type FirmwareStatusNotificationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
FirmwareStatusNotificationResponse is an object of the 2.1 schemas.
func (FirmwareStatusNotificationResponse) ActionName ¶
func (FirmwareStatusNotificationResponse) ActionName() string
ActionName is "FirmwareStatusNotification".
func (FirmwareStatusNotificationResponse) IsResponse ¶
func (FirmwareStatusNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type FixedPF ¶
type FixedPF struct {
Priority int `json:"priority"`
Displacement float64 `json:"displacement"`
Excitation bool `json:"excitation"`
StartTime *string `json:"startTime,omitempty"`
Duration *float64 `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
FixedPF is an object of the 2.1 schemas.
type FixedPFGet ¶
type FixedPFGet struct {
FixedPF FixedPF `json:"fixedPF"`
ID string `json:"id"`
IsDefault bool `json:"isDefault"`
IsSuperseded bool `json:"isSuperseded"`
CustomData *CustomData `json:"customData,omitempty"`
}
FixedPFGet is an object of the 2.1 schemas.
type FixedVar ¶
type FixedVar struct {
Priority int `json:"priority"`
Setpoint float64 `json:"setpoint"`
Unit DERUnit `json:"unit"`
StartTime *string `json:"startTime,omitempty"`
Duration *float64 `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
FixedVar is an object of the 2.1 schemas.
type FixedVarGet ¶
type FixedVarGet struct {
FixedVar FixedVar `json:"fixedVar"`
ID string `json:"id"`
IsDefault bool `json:"isDefault"`
IsSuperseded bool `json:"isSuperseded"`
CustomData *CustomData `json:"customData,omitempty"`
}
FixedVarGet is an object of the 2.1 schemas.
type FreqDroop ¶
type FreqDroop struct {
Priority int `json:"priority"`
OverFreq float64 `json:"overFreq"`
UnderFreq float64 `json:"underFreq"`
OverDroop float64 `json:"overDroop"`
UnderDroop float64 `json:"underDroop"`
ResponseTime float64 `json:"responseTime"`
StartTime *string `json:"startTime,omitempty"`
Duration *float64 `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
FreqDroop is an object of the 2.1 schemas.
type FreqDroopGet ¶
type FreqDroopGet struct {
FreqDroop FreqDroop `json:"freqDroop"`
ID string `json:"id"`
IsDefault bool `json:"isDefault"`
IsSuperseded bool `json:"isSuperseded"`
CustomData *CustomData `json:"customData,omitempty"`
}
FreqDroopGet is an object of the 2.1 schemas.
type GenericDeviceModelStatus ¶
type GenericDeviceModelStatus string
GenericDeviceModelStatus is an enumeration of the 2.1 schemas.
const ( GenericDeviceModelStatusAccepted GenericDeviceModelStatus = "Accepted" GenericDeviceModelStatusRejected GenericDeviceModelStatus = "Rejected" GenericDeviceModelStatusNotSupported GenericDeviceModelStatus = "NotSupported" GenericDeviceModelStatusEmptyResultSet GenericDeviceModelStatus = "EmptyResultSet" )
type GenericStatus ¶
type GenericStatus string
GenericStatus is an enumeration of the 2.1 schemas.
const ( GenericStatusAccepted GenericStatus = "Accepted" GenericStatusRejected GenericStatus = "Rejected" )
type Get15118EVCertificateRequest ¶
type Get15118EVCertificateRequest struct {
Iso15118SchemaVersion string `json:"iso15118SchemaVersion"`
Action CertificateAction `json:"action"`
ExiRequest string `json:"exiRequest"`
MaximumContractCertificateChains *int `json:"maximumContractCertificateChains,omitempty"`
PrioritizedEMAIDs []string `json:"prioritizedEMAIDs,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Get15118EVCertificateRequest is an object of the 2.1 schemas.
func (Get15118EVCertificateRequest) ActionName ¶
func (Get15118EVCertificateRequest) ActionName() string
ActionName is "Get15118EVCertificate".
func (Get15118EVCertificateRequest) IsResponse ¶
func (Get15118EVCertificateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type Get15118EVCertificateResponse ¶
type Get15118EVCertificateResponse struct {
Status Iso15118EVCertificateStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
ExiResponse string `json:"exiResponse"`
RemainingContracts *int `json:"remainingContracts,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Get15118EVCertificateResponse is an object of the 2.1 schemas.
func (Get15118EVCertificateResponse) ActionName ¶
func (Get15118EVCertificateResponse) ActionName() string
ActionName is "Get15118EVCertificate".
func (Get15118EVCertificateResponse) IsResponse ¶
func (Get15118EVCertificateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetBaseReportRequest ¶
type GetBaseReportRequest struct {
RequestID int `json:"requestId"`
ReportBase ReportBase `json:"reportBase"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetBaseReportRequest is an object of the 2.1 schemas.
func (GetBaseReportRequest) ActionName ¶
func (GetBaseReportRequest) ActionName() string
ActionName is "GetBaseReport".
func (GetBaseReportRequest) IsResponse ¶
func (GetBaseReportRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetBaseReportResponse ¶
type GetBaseReportResponse struct {
Status GenericDeviceModelStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetBaseReportResponse is an object of the 2.1 schemas.
func (GetBaseReportResponse) ActionName ¶
func (GetBaseReportResponse) ActionName() string
ActionName is "GetBaseReport".
func (GetBaseReportResponse) IsResponse ¶
func (GetBaseReportResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetCertificateChainStatusRequest ¶
type GetCertificateChainStatusRequest struct {
CertificateStatusRequests []CertificateStatusRequestInfo `json:"certificateStatusRequests"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCertificateChainStatusRequest is an object of the 2.1 schemas.
func (GetCertificateChainStatusRequest) ActionName ¶
func (GetCertificateChainStatusRequest) ActionName() string
ActionName is "GetCertificateChainStatus".
func (GetCertificateChainStatusRequest) IsResponse ¶
func (GetCertificateChainStatusRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetCertificateChainStatusResponse ¶
type GetCertificateChainStatusResponse struct {
CertificateStatus []CertificateStatus `json:"certificateStatus"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCertificateChainStatusResponse is an object of the 2.1 schemas.
func (GetCertificateChainStatusResponse) ActionName ¶
func (GetCertificateChainStatusResponse) ActionName() string
ActionName is "GetCertificateChainStatus".
func (GetCertificateChainStatusResponse) IsResponse ¶
func (GetCertificateChainStatusResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetCertificateIDUse ¶
type GetCertificateIDUse string
GetCertificateIDUse is an enumeration of the 2.1 schemas.
const ( GetCertificateIDUseV2GRootCertificate GetCertificateIDUse = "V2GRootCertificate" GetCertificateIDUseMORootCertificate GetCertificateIDUse = "MORootCertificate" GetCertificateIDUseCSMSRootCertificate GetCertificateIDUse = "CSMSRootCertificate" GetCertificateIDUseV2GCertificateChain GetCertificateIDUse = "V2GCertificateChain" GetCertificateIDUseManufacturerRootCertificate GetCertificateIDUse = "ManufacturerRootCertificate" GetCertificateIDUseOEMRootCertificate GetCertificateIDUse = "OEMRootCertificate" )
type GetCertificateStatus ¶
type GetCertificateStatus string
GetCertificateStatus is an enumeration of the 2.1 schemas.
const ( GetCertificateStatusAccepted GetCertificateStatus = "Accepted" GetCertificateStatusFailed GetCertificateStatus = "Failed" )
type GetCertificateStatusRequest ¶
type GetCertificateStatusRequest struct {
OcspRequestData OCSPRequestData `json:"ocspRequestData"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCertificateStatusRequest is an object of the 2.1 schemas.
func (GetCertificateStatusRequest) ActionName ¶
func (GetCertificateStatusRequest) ActionName() string
ActionName is "GetCertificateStatus".
func (GetCertificateStatusRequest) IsResponse ¶
func (GetCertificateStatusRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetCertificateStatusResponse ¶
type GetCertificateStatusResponse struct {
Status GetCertificateStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
OcspResult *string `json:"ocspResult,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCertificateStatusResponse is an object of the 2.1 schemas.
func (GetCertificateStatusResponse) ActionName ¶
func (GetCertificateStatusResponse) ActionName() string
ActionName is "GetCertificateStatus".
func (GetCertificateStatusResponse) IsResponse ¶
func (GetCertificateStatusResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetChargingProfileStatus ¶
type GetChargingProfileStatus string
GetChargingProfileStatus is an enumeration of the 2.1 schemas.
const ( GetChargingProfileStatusAccepted GetChargingProfileStatus = "Accepted" GetChargingProfileStatusNoProfiles GetChargingProfileStatus = "NoProfiles" )
type GetChargingProfilesRequest ¶
type GetChargingProfilesRequest struct {
RequestID int `json:"requestId"`
EvseID *int `json:"evseId,omitempty"`
ChargingProfile ChargingProfileCriterion `json:"chargingProfile"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetChargingProfilesRequest is an object of the 2.1 schemas.
func (GetChargingProfilesRequest) ActionName ¶
func (GetChargingProfilesRequest) ActionName() string
ActionName is "GetChargingProfiles".
func (GetChargingProfilesRequest) IsResponse ¶
func (GetChargingProfilesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetChargingProfilesResponse ¶
type GetChargingProfilesResponse struct {
Status GetChargingProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetChargingProfilesResponse is an object of the 2.1 schemas.
func (GetChargingProfilesResponse) ActionName ¶
func (GetChargingProfilesResponse) ActionName() string
ActionName is "GetChargingProfiles".
func (GetChargingProfilesResponse) IsResponse ¶
func (GetChargingProfilesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetCompositeScheduleRequest ¶
type GetCompositeScheduleRequest struct {
Duration int `json:"duration"`
ChargingRateUnit *ChargingRateUnit `json:"chargingRateUnit,omitempty"`
EvseID int `json:"evseId"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCompositeScheduleRequest is an object of the 2.1 schemas.
func (GetCompositeScheduleRequest) ActionName ¶
func (GetCompositeScheduleRequest) ActionName() string
ActionName is "GetCompositeSchedule".
func (GetCompositeScheduleRequest) IsResponse ¶
func (GetCompositeScheduleRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetCompositeScheduleResponse ¶
type GetCompositeScheduleResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Schedule *CompositeSchedule `json:"schedule,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetCompositeScheduleResponse is an object of the 2.1 schemas.
func (GetCompositeScheduleResponse) ActionName ¶
func (GetCompositeScheduleResponse) ActionName() string
ActionName is "GetCompositeSchedule".
func (GetCompositeScheduleResponse) IsResponse ¶
func (GetCompositeScheduleResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetDERControlRequest ¶
type GetDERControlRequest struct {
RequestID int `json:"requestId"`
IsDefault *bool `json:"isDefault,omitempty"`
ControlType *DERControl `json:"controlType,omitempty"`
ControlID *string `json:"controlId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetDERControlRequest is an object of the 2.1 schemas.
func (GetDERControlRequest) ActionName ¶
func (GetDERControlRequest) ActionName() string
ActionName is "GetDERControl".
func (GetDERControlRequest) IsResponse ¶
func (GetDERControlRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetDERControlResponse ¶
type GetDERControlResponse struct {
Status DERControlStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetDERControlResponse is an object of the 2.1 schemas.
func (GetDERControlResponse) ActionName ¶
func (GetDERControlResponse) ActionName() string
ActionName is "GetDERControl".
func (GetDERControlResponse) IsResponse ¶
func (GetDERControlResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetDisplayMessagesRequest ¶
type GetDisplayMessagesRequest struct {
ID []int `json:"id,omitempty"`
RequestID int `json:"requestId"`
Priority *MessagePriority `json:"priority,omitempty"`
State *MessageState `json:"state,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetDisplayMessagesRequest is an object of the 2.1 schemas.
func (GetDisplayMessagesRequest) ActionName ¶
func (GetDisplayMessagesRequest) ActionName() string
ActionName is "GetDisplayMessages".
func (GetDisplayMessagesRequest) IsResponse ¶
func (GetDisplayMessagesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetDisplayMessagesResponse ¶
type GetDisplayMessagesResponse struct {
Status GetDisplayMessagesStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetDisplayMessagesResponse is an object of the 2.1 schemas.
func (GetDisplayMessagesResponse) ActionName ¶
func (GetDisplayMessagesResponse) ActionName() string
ActionName is "GetDisplayMessages".
func (GetDisplayMessagesResponse) IsResponse ¶
func (GetDisplayMessagesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetDisplayMessagesStatus ¶
type GetDisplayMessagesStatus string
GetDisplayMessagesStatus is an enumeration of the 2.1 schemas.
const ( GetDisplayMessagesStatusAccepted GetDisplayMessagesStatus = "Accepted" GetDisplayMessagesStatusUnknown GetDisplayMessagesStatus = "Unknown" )
type GetInstalledCertificateIdsRequest ¶
type GetInstalledCertificateIdsRequest struct {
CertificateType []GetCertificateIDUse `json:"certificateType,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetInstalledCertificateIdsRequest is an object of the 2.1 schemas.
func (GetInstalledCertificateIdsRequest) ActionName ¶
func (GetInstalledCertificateIdsRequest) ActionName() string
ActionName is "GetInstalledCertificateIds".
func (GetInstalledCertificateIdsRequest) IsResponse ¶
func (GetInstalledCertificateIdsRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetInstalledCertificateIdsResponse ¶
type GetInstalledCertificateIdsResponse struct {
Status GetInstalledCertificateStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CertificateHashDataChain []CertificateHashDataChain `json:"certificateHashDataChain,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetInstalledCertificateIdsResponse is an object of the 2.1 schemas.
func (GetInstalledCertificateIdsResponse) ActionName ¶
func (GetInstalledCertificateIdsResponse) ActionName() string
ActionName is "GetInstalledCertificateIds".
func (GetInstalledCertificateIdsResponse) IsResponse ¶
func (GetInstalledCertificateIdsResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetInstalledCertificateStatus ¶
type GetInstalledCertificateStatus string
GetInstalledCertificateStatus is an enumeration of the 2.1 schemas.
const ( GetInstalledCertificateStatusAccepted GetInstalledCertificateStatus = "Accepted" GetInstalledCertificateStatusNotFound GetInstalledCertificateStatus = "NotFound" )
type GetLocalListVersionRequest ¶
type GetLocalListVersionRequest struct {
CustomData *CustomData `json:"customData,omitempty"`
}
GetLocalListVersionRequest is an object of the 2.1 schemas.
func (GetLocalListVersionRequest) ActionName ¶
func (GetLocalListVersionRequest) ActionName() string
ActionName is "GetLocalListVersion".
func (GetLocalListVersionRequest) IsResponse ¶
func (GetLocalListVersionRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetLocalListVersionResponse ¶
type GetLocalListVersionResponse struct {
VersionNumber int `json:"versionNumber"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetLocalListVersionResponse is an object of the 2.1 schemas.
func (GetLocalListVersionResponse) ActionName ¶
func (GetLocalListVersionResponse) ActionName() string
ActionName is "GetLocalListVersion".
func (GetLocalListVersionResponse) IsResponse ¶
func (GetLocalListVersionResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetLogRequest ¶
type GetLogRequest struct {
Log LogParameters `json:"log"`
LogType Log `json:"logType"`
RequestID int `json:"requestId"`
Retries *int `json:"retries,omitempty"`
RetryInterval *int `json:"retryInterval,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetLogRequest is an object of the 2.1 schemas.
func (GetLogRequest) IsResponse ¶
func (GetLogRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetLogResponse ¶
type GetLogResponse struct {
Status LogStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Filename *string `json:"filename,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetLogResponse is an object of the 2.1 schemas.
func (GetLogResponse) ActionName ¶
func (GetLogResponse) ActionName() string
ActionName is "GetLog".
func (GetLogResponse) IsResponse ¶
func (GetLogResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetMonitoringReportRequest ¶
type GetMonitoringReportRequest struct {
ComponentVariable []ComponentVariable `json:"componentVariable,omitempty"`
RequestID int `json:"requestId"`
MonitoringCriteria []MonitoringCriterion `json:"monitoringCriteria,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetMonitoringReportRequest is an object of the 2.1 schemas.
func (GetMonitoringReportRequest) ActionName ¶
func (GetMonitoringReportRequest) ActionName() string
ActionName is "GetMonitoringReport".
func (GetMonitoringReportRequest) IsResponse ¶
func (GetMonitoringReportRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetMonitoringReportResponse ¶
type GetMonitoringReportResponse struct {
Status GenericDeviceModelStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetMonitoringReportResponse is an object of the 2.1 schemas.
func (GetMonitoringReportResponse) ActionName ¶
func (GetMonitoringReportResponse) ActionName() string
ActionName is "GetMonitoringReport".
func (GetMonitoringReportResponse) IsResponse ¶
func (GetMonitoringReportResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetPeriodicEventStreamRequest ¶
type GetPeriodicEventStreamRequest struct {
CustomData *CustomData `json:"customData,omitempty"`
}
GetPeriodicEventStreamRequest is an object of the 2.1 schemas.
func (GetPeriodicEventStreamRequest) ActionName ¶
func (GetPeriodicEventStreamRequest) ActionName() string
ActionName is "GetPeriodicEventStream".
func (GetPeriodicEventStreamRequest) IsResponse ¶
func (GetPeriodicEventStreamRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetPeriodicEventStreamResponse ¶
type GetPeriodicEventStreamResponse struct {
ConstantStreamData []ConstantStreamData `json:"constantStreamData,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetPeriodicEventStreamResponse is an object of the 2.1 schemas.
func (GetPeriodicEventStreamResponse) ActionName ¶
func (GetPeriodicEventStreamResponse) ActionName() string
ActionName is "GetPeriodicEventStream".
func (GetPeriodicEventStreamResponse) IsResponse ¶
func (GetPeriodicEventStreamResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetReportRequest ¶
type GetReportRequest struct {
ComponentVariable []ComponentVariable `json:"componentVariable,omitempty"`
RequestID int `json:"requestId"`
ComponentCriteria []ComponentCriterion `json:"componentCriteria,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetReportRequest is an object of the 2.1 schemas.
func (GetReportRequest) ActionName ¶
func (GetReportRequest) ActionName() string
ActionName is "GetReport".
func (GetReportRequest) IsResponse ¶
func (GetReportRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetReportResponse ¶
type GetReportResponse struct {
Status GenericDeviceModelStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetReportResponse is an object of the 2.1 schemas.
func (GetReportResponse) ActionName ¶
func (GetReportResponse) ActionName() string
ActionName is "GetReport".
func (GetReportResponse) IsResponse ¶
func (GetReportResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetTariffsRequest ¶
type GetTariffsRequest struct {
EvseID int `json:"evseId"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetTariffsRequest is an object of the 2.1 schemas.
func (GetTariffsRequest) ActionName ¶
func (GetTariffsRequest) ActionName() string
ActionName is "GetTariffs".
func (GetTariffsRequest) IsResponse ¶
func (GetTariffsRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetTariffsResponse ¶
type GetTariffsResponse struct {
Status TariffGetStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
TariffAssignments []TariffAssignment `json:"tariffAssignments,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetTariffsResponse is an object of the 2.1 schemas.
func (GetTariffsResponse) ActionName ¶
func (GetTariffsResponse) ActionName() string
ActionName is "GetTariffs".
func (GetTariffsResponse) IsResponse ¶
func (GetTariffsResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetTransactionStatusRequest ¶
type GetTransactionStatusRequest struct {
TransactionID *string `json:"transactionId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetTransactionStatusRequest is an object of the 2.1 schemas.
func (GetTransactionStatusRequest) ActionName ¶
func (GetTransactionStatusRequest) ActionName() string
ActionName is "GetTransactionStatus".
func (GetTransactionStatusRequest) IsResponse ¶
func (GetTransactionStatusRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetTransactionStatusResponse ¶
type GetTransactionStatusResponse struct {
OngoingIndicator *bool `json:"ongoingIndicator,omitempty"`
MessagesInQueue bool `json:"messagesInQueue"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetTransactionStatusResponse is an object of the 2.1 schemas.
func (GetTransactionStatusResponse) ActionName ¶
func (GetTransactionStatusResponse) ActionName() string
ActionName is "GetTransactionStatus".
func (GetTransactionStatusResponse) IsResponse ¶
func (GetTransactionStatusResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type GetVariableData ¶
type GetVariableData struct {
AttributeType *Attribute `json:"attributeType,omitempty"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetVariableData is an object of the 2.1 schemas.
type GetVariableResult ¶
type GetVariableResult struct {
AttributeStatus GetVariableStatus `json:"attributeStatus"`
AttributeStatusInfo *StatusInfo `json:"attributeStatusInfo,omitempty"`
AttributeType *Attribute `json:"attributeType,omitempty"`
AttributeValue *string `json:"attributeValue,omitempty"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetVariableResult is an object of the 2.1 schemas.
type GetVariableStatus ¶
type GetVariableStatus string
GetVariableStatus is an enumeration of the 2.1 schemas.
const ( GetVariableStatusAccepted GetVariableStatus = "Accepted" GetVariableStatusRejected GetVariableStatus = "Rejected" GetVariableStatusUnknownComponent GetVariableStatus = "UnknownComponent" GetVariableStatusUnknownVariable GetVariableStatus = "UnknownVariable" GetVariableStatusNotSupportedAttributeType GetVariableStatus = "NotSupportedAttributeType" )
type GetVariablesRequest ¶
type GetVariablesRequest struct {
GetVariableData []GetVariableData `json:"getVariableData"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetVariablesRequest is an object of the 2.1 schemas.
func (GetVariablesRequest) ActionName ¶
func (GetVariablesRequest) ActionName() string
ActionName is "GetVariables".
func (GetVariablesRequest) IsResponse ¶
func (GetVariablesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type GetVariablesResponse ¶
type GetVariablesResponse struct {
GetVariableResult []GetVariableResult `json:"getVariableResult"`
CustomData *CustomData `json:"customData,omitempty"`
}
GetVariablesResponse is an object of the 2.1 schemas.
func (GetVariablesResponse) ActionName ¶
func (GetVariablesResponse) ActionName() string
ActionName is "GetVariables".
func (GetVariablesResponse) IsResponse ¶
func (GetVariablesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type Gradient ¶
type Gradient struct {
Priority int `json:"priority"`
Gradient float64 `json:"gradient"`
SoftGradient float64 `json:"softGradient"`
CustomData *CustomData `json:"customData,omitempty"`
}
Gradient is an object of the 2.1 schemas.
type GradientGet ¶
type GradientGet struct {
Gradient Gradient `json:"gradient"`
ID string `json:"id"`
CustomData *CustomData `json:"customData,omitempty"`
}
GradientGet is an object of the 2.1 schemas.
type GridEventFault ¶
type GridEventFault string
GridEventFault is an enumeration of the 2.1 schemas.
const ( GridEventFaultCurrentImbalance GridEventFault = "CurrentImbalance" GridEventFaultLocalEmergency GridEventFault = "LocalEmergency" GridEventFaultLowInputPower GridEventFault = "LowInputPower" GridEventFaultOverCurrent GridEventFault = "OverCurrent" GridEventFaultOverFrequency GridEventFault = "OverFrequency" GridEventFaultOverVoltage GridEventFault = "OverVoltage" GridEventFaultPhaseRotation GridEventFault = "PhaseRotation" GridEventFaultRemoteEmergency GridEventFault = "RemoteEmergency" GridEventFaultUnderFrequency GridEventFault = "UnderFrequency" GridEventFaultUnderVoltage GridEventFault = "UnderVoltage" GridEventFaultVoltageImbalance GridEventFault = "VoltageImbalance" )
type HashAlgorithm ¶
type HashAlgorithm string
HashAlgorithm is an enumeration of the 2.1 schemas.
const ( HashAlgorithmSHA256 HashAlgorithm = "SHA256" HashAlgorithmSHA384 HashAlgorithm = "SHA384" HashAlgorithmSHA512 HashAlgorithm = "SHA512" )
type HeartbeatRequest ¶
type HeartbeatRequest struct {
CustomData *CustomData `json:"customData,omitempty"`
}
HeartbeatRequest is an object of the 2.1 schemas.
func (HeartbeatRequest) ActionName ¶
func (HeartbeatRequest) ActionName() string
ActionName is "Heartbeat".
func (HeartbeatRequest) IsResponse ¶
func (HeartbeatRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type HeartbeatResponse ¶
type HeartbeatResponse struct {
CurrentTime string `json:"currentTime"`
CustomData *CustomData `json:"customData,omitempty"`
}
HeartbeatResponse is an object of the 2.1 schemas.
func (HeartbeatResponse) ActionName ¶
func (HeartbeatResponse) ActionName() string
ActionName is "Heartbeat".
func (HeartbeatResponse) IsResponse ¶
func (HeartbeatResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type Hysteresis ¶
type Hysteresis struct {
HysteresisHigh *float64 `json:"hysteresisHigh,omitempty"`
HysteresisLow *float64 `json:"hysteresisLow,omitempty"`
HysteresisDelay *float64 `json:"hysteresisDelay,omitempty"`
HysteresisGradient *float64 `json:"hysteresisGradient,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Hysteresis is an object of the 2.1 schemas.
type IDToken ¶
type IDToken struct {
AdditionalInfo []AdditionalInfo `json:"additionalInfo,omitempty"`
IDToken string `json:"idToken"`
Type string `json:"type"`
CustomData *CustomData `json:"customData,omitempty"`
}
IDToken is an object of the 2.1 schemas.
type IDTokenInfo ¶
type IDTokenInfo struct {
Status AuthorizationStatus `json:"status"`
CacheExpiryDateTime *string `json:"cacheExpiryDateTime,omitempty"`
ChargingPriority *int `json:"chargingPriority,omitempty"`
GroupIDToken *IDToken `json:"groupIdToken,omitempty"`
Language1 *string `json:"language1,omitempty"`
Language2 *string `json:"language2,omitempty"`
EvseID []int `json:"evseId,omitempty"`
PersonalMessage *MessageContent `json:"personalMessage,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
IDTokenInfo is an object of the 2.1 schemas.
type InstallCertificateRequest ¶
type InstallCertificateRequest struct {
CertificateType InstallCertificateUse `json:"certificateType"`
Certificate string `json:"certificate"`
CustomData *CustomData `json:"customData,omitempty"`
}
InstallCertificateRequest is an object of the 2.1 schemas.
func (InstallCertificateRequest) ActionName ¶
func (InstallCertificateRequest) ActionName() string
ActionName is "InstallCertificate".
func (InstallCertificateRequest) IsResponse ¶
func (InstallCertificateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type InstallCertificateResponse ¶
type InstallCertificateResponse struct {
Status InstallCertificateStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
InstallCertificateResponse is an object of the 2.1 schemas.
func (InstallCertificateResponse) ActionName ¶
func (InstallCertificateResponse) ActionName() string
ActionName is "InstallCertificate".
func (InstallCertificateResponse) IsResponse ¶
func (InstallCertificateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type InstallCertificateStatus ¶
type InstallCertificateStatus string
InstallCertificateStatus is an enumeration of the 2.1 schemas.
const ( InstallCertificateStatusAccepted InstallCertificateStatus = "Accepted" InstallCertificateStatusRejected InstallCertificateStatus = "Rejected" InstallCertificateStatusFailed InstallCertificateStatus = "Failed" )
type InstallCertificateUse ¶
type InstallCertificateUse string
InstallCertificateUse is an enumeration of the 2.1 schemas.
const ( InstallCertificateUseV2GRootCertificate InstallCertificateUse = "V2GRootCertificate" InstallCertificateUseMORootCertificate InstallCertificateUse = "MORootCertificate" InstallCertificateUseManufacturerRootCertificate InstallCertificateUse = "ManufacturerRootCertificate" InstallCertificateUseCSMSRootCertificate InstallCertificateUse = "CSMSRootCertificate" InstallCertificateUseOEMRootCertificate InstallCertificateUse = "OEMRootCertificate" )
type IslandingDetection ¶
type IslandingDetection string
IslandingDetection is an enumeration of the 2.1 schemas.
const ( IslandingDetectionNoAntiIslandingSupport IslandingDetection = "NoAntiIslandingSupport" IslandingDetectionRoCoF IslandingDetection = "RoCoF" IslandingDetectionUVPOVP IslandingDetection = "UVP_OVP" IslandingDetectionUFPOFP IslandingDetection = "UFP_OFP" IslandingDetectionVoltageVectorShift IslandingDetection = "VoltageVectorShift" IslandingDetectionZeroCrossingDetection IslandingDetection = "ZeroCrossingDetection" IslandingDetectionOtherPassive IslandingDetection = "OtherPassive" IslandingDetectionImpedanceMeasurement IslandingDetection = "ImpedanceMeasurement" IslandingDetectionImpedanceAtFrequency IslandingDetection = "ImpedanceAtFrequency" IslandingDetectionSlipModeFrequencyShift IslandingDetection = "SlipModeFrequencyShift" IslandingDetectionSandiaFrequencyShift IslandingDetection = "SandiaFrequencyShift" IslandingDetectionSandiaVoltageShift IslandingDetection = "SandiaVoltageShift" IslandingDetectionFrequencyJump IslandingDetection = "FrequencyJump" IslandingDetectionRCLQFactor IslandingDetection = "RCLQFactor" IslandingDetectionOtherActive IslandingDetection = "OtherActive" )
type Iso15118EVCertificateStatus ¶
type Iso15118EVCertificateStatus string
Iso15118EVCertificateStatus is an enumeration of the 2.1 schemas.
const ( Iso15118EVCertificateStatusAccepted Iso15118EVCertificateStatus = "Accepted" Iso15118EVCertificateStatusFailed Iso15118EVCertificateStatus = "Failed" )
type LimitAtSoC ¶
type LimitAtSoC struct {
Soc int `json:"soc"`
Limit float64 `json:"limit"`
CustomData *CustomData `json:"customData,omitempty"`
}
LimitAtSoC is an object of the 2.1 schemas.
type LimitMaxDischarge ¶
type LimitMaxDischarge struct {
Priority int `json:"priority"`
PctMaxDischargePower *float64 `json:"pctMaxDischargePower,omitempty"`
PowerMonitoringMustTrip *DERCurve `json:"powerMonitoringMustTrip,omitempty"`
StartTime *string `json:"startTime,omitempty"`
Duration *float64 `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
LimitMaxDischarge is an object of the 2.1 schemas.
type LimitMaxDischargeGet ¶
type LimitMaxDischargeGet struct {
ID string `json:"id"`
IsDefault bool `json:"isDefault"`
IsSuperseded bool `json:"isSuperseded"`
LimitMaxDischarge LimitMaxDischarge `json:"limitMaxDischarge"`
CustomData *CustomData `json:"customData,omitempty"`
}
LimitMaxDischargeGet is an object of the 2.1 schemas.
type LogParameters ¶
type LogParameters struct {
RemoteLocation string `json:"remoteLocation"`
OldestTimestamp *string `json:"oldestTimestamp,omitempty"`
LatestTimestamp *string `json:"latestTimestamp,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
LogParameters is an object of the 2.1 schemas.
type LogStatusNotificationRequest ¶
type LogStatusNotificationRequest struct {
Status UploadLogStatus `json:"status"`
RequestID *int `json:"requestId,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
LogStatusNotificationRequest is an object of the 2.1 schemas.
func (LogStatusNotificationRequest) ActionName ¶
func (LogStatusNotificationRequest) ActionName() string
ActionName is "LogStatusNotification".
func (LogStatusNotificationRequest) IsResponse ¶
func (LogStatusNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type LogStatusNotificationResponse ¶
type LogStatusNotificationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
LogStatusNotificationResponse is an object of the 2.1 schemas.
func (LogStatusNotificationResponse) ActionName ¶
func (LogStatusNotificationResponse) ActionName() string
ActionName is "LogStatusNotification".
func (LogStatusNotificationResponse) IsResponse ¶
func (LogStatusNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type Measurand ¶
type Measurand string
Measurand is an enumeration of the 2.1 schemas.
const ( MeasurandCurrentExport Measurand = "Current.Export" MeasurandCurrentExportOffered Measurand = "Current.Export.Offered" MeasurandCurrentExportMinimum Measurand = "Current.Export.Minimum" MeasurandCurrentImport Measurand = "Current.Import" MeasurandCurrentImportOffered Measurand = "Current.Import.Offered" MeasurandCurrentImportMinimum Measurand = "Current.Import.Minimum" MeasurandCurrentOffered Measurand = "Current.Offered" MeasurandDisplayPresentSOC Measurand = "Display.PresentSOC" MeasurandDisplayMinimumSOC Measurand = "Display.MinimumSOC" MeasurandDisplayTargetSOC Measurand = "Display.TargetSOC" MeasurandDisplayMaximumSOC Measurand = "Display.MaximumSOC" MeasurandDisplayRemainingTimeToMinimumSOC Measurand = "Display.RemainingTimeToMinimumSOC" MeasurandDisplayRemainingTimeToTargetSOC Measurand = "Display.RemainingTimeToTargetSOC" MeasurandDisplayRemainingTimeToMaximumSOC Measurand = "Display.RemainingTimeToMaximumSOC" MeasurandDisplayChargingComplete Measurand = "Display.ChargingComplete" MeasurandDisplayBatteryEnergyCapacity Measurand = "Display.BatteryEnergyCapacity" MeasurandDisplayInletHot Measurand = "Display.InletHot" MeasurandEnergyActiveExportInterval Measurand = "Energy.Active.Export.Interval" MeasurandEnergyActiveExportRegister Measurand = "Energy.Active.Export.Register" MeasurandEnergyActiveImportInterval Measurand = "Energy.Active.Import.Interval" MeasurandEnergyActiveImportRegister Measurand = "Energy.Active.Import.Register" MeasurandEnergyActiveImportCableLoss Measurand = "Energy.Active.Import.CableLoss" MeasurandEnergyActiveImportLocalGenerationRegister Measurand = "Energy.Active.Import.LocalGeneration.Register" MeasurandEnergyActiveNet Measurand = "Energy.Active.Net" MeasurandEnergyActiveSetpointInterval Measurand = "Energy.Active.Setpoint.Interval" MeasurandEnergyApparentExport Measurand = "Energy.Apparent.Export" MeasurandEnergyApparentImport Measurand = "Energy.Apparent.Import" MeasurandEnergyApparentNet Measurand = "Energy.Apparent.Net" MeasurandEnergyReactiveExportInterval Measurand = "Energy.Reactive.Export.Interval" MeasurandEnergyReactiveExportRegister Measurand = "Energy.Reactive.Export.Register" MeasurandEnergyReactiveImportInterval Measurand = "Energy.Reactive.Import.Interval" MeasurandEnergyReactiveImportRegister Measurand = "Energy.Reactive.Import.Register" MeasurandEnergyReactiveNet Measurand = "Energy.Reactive.Net" MeasurandEnergyRequestTarget Measurand = "EnergyRequest.Target" MeasurandEnergyRequestMinimum Measurand = "EnergyRequest.Minimum" MeasurandEnergyRequestMaximum Measurand = "EnergyRequest.Maximum" MeasurandEnergyRequestMinimumV2X Measurand = "EnergyRequest.Minimum.V2X" MeasurandEnergyRequestMaximumV2X Measurand = "EnergyRequest.Maximum.V2X" MeasurandEnergyRequestBulk Measurand = "EnergyRequest.Bulk" MeasurandFrequency Measurand = "Frequency" MeasurandPowerActiveExport Measurand = "Power.Active.Export" MeasurandPowerActiveImport Measurand = "Power.Active.Import" MeasurandPowerActiveSetpoint Measurand = "Power.Active.Setpoint" MeasurandPowerActiveResidual Measurand = "Power.Active.Residual" MeasurandPowerExportMinimum Measurand = "Power.Export.Minimum" MeasurandPowerExportOffered Measurand = "Power.Export.Offered" MeasurandPowerFactor Measurand = "Power.Factor" MeasurandPowerImportOffered Measurand = "Power.Import.Offered" MeasurandPowerImportMinimum Measurand = "Power.Import.Minimum" MeasurandPowerOffered Measurand = "Power.Offered" MeasurandPowerReactiveExport Measurand = "Power.Reactive.Export" MeasurandPowerReactiveImport Measurand = "Power.Reactive.Import" MeasurandSoC Measurand = "SoC" MeasurandVoltage Measurand = "Voltage" MeasurandVoltageMinimum Measurand = "Voltage.Minimum" MeasurandVoltageMaximum Measurand = "Voltage.Maximum" )
type MessageContent ¶
type MessageContent struct {
Format MessageFormat `json:"format"`
Language *string `json:"language,omitempty"`
Content string `json:"content"`
CustomData *CustomData `json:"customData,omitempty"`
}
MessageContent is an object of the 2.1 schemas.
type MessageFormat ¶
type MessageFormat string
MessageFormat is an enumeration of the 2.1 schemas.
const ( MessageFormatASCII MessageFormat = "ASCII" MessageFormatHTML MessageFormat = "HTML" MessageFormatURI MessageFormat = "URI" MessageFormatUTF8 MessageFormat = "UTF8" MessageFormatQRCODE MessageFormat = "QRCODE" )
type MessageInfo ¶
type MessageInfo struct {
Display *Component `json:"display,omitempty"`
ID int `json:"id"`
Priority MessagePriority `json:"priority"`
State *MessageState `json:"state,omitempty"`
StartDateTime *string `json:"startDateTime,omitempty"`
EndDateTime *string `json:"endDateTime,omitempty"`
TransactionID *string `json:"transactionId,omitempty"`
Message MessageContent `json:"message"`
MessageExtra []MessageContent `json:"messageExtra,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
MessageInfo is an object of the 2.1 schemas.
type MessagePriority ¶
type MessagePriority string
MessagePriority is an enumeration of the 2.1 schemas.
const ( MessagePriorityAlwaysFront MessagePriority = "AlwaysFront" MessagePriorityInFront MessagePriority = "InFront" MessagePriorityNormalCycle MessagePriority = "NormalCycle" )
type MessageState ¶
type MessageState string
MessageState is an enumeration of the 2.1 schemas.
const ( MessageStateCharging MessageState = "Charging" MessageStateFaulted MessageState = "Faulted" MessageStateIdle MessageState = "Idle" MessageStateSuspended MessageState = "Suspended" MessageStateDischarging MessageState = "Discharging" )
type MessageTrigger ¶
type MessageTrigger string
MessageTrigger is an enumeration of the 2.1 schemas.
const ( MessageTriggerBootNotification MessageTrigger = "BootNotification" MessageTriggerLogStatusNotification MessageTrigger = "LogStatusNotification" MessageTriggerFirmwareStatusNotification MessageTrigger = "FirmwareStatusNotification" MessageTriggerHeartbeat MessageTrigger = "Heartbeat" MessageTriggerMeterValues MessageTrigger = "MeterValues" MessageTriggerSignChargingStationCertificate MessageTrigger = "SignChargingStationCertificate" MessageTriggerSignV2GCertificate MessageTrigger = "SignV2GCertificate" MessageTriggerSignV2G20Certificate MessageTrigger = "SignV2G20Certificate" MessageTriggerStatusNotification MessageTrigger = "StatusNotification" MessageTriggerTransactionEvent MessageTrigger = "TransactionEvent" MessageTriggerSignCombinedCertificate MessageTrigger = "SignCombinedCertificate" MessageTriggerPublishFirmwareStatusNotification MessageTrigger = "PublishFirmwareStatusNotification" MessageTriggerCustomTrigger MessageTrigger = "CustomTrigger" )
type MeterValue ¶
type MeterValue struct {
SampledValue []SampledValue `json:"sampledValue"`
Timestamp string `json:"timestamp"`
CustomData *CustomData `json:"customData,omitempty"`
}
MeterValue is an object of the 2.1 schemas.
type MeterValuesRequest ¶
type MeterValuesRequest struct {
EvseID int `json:"evseId"`
MeterValue []MeterValue `json:"meterValue"`
CustomData *CustomData `json:"customData,omitempty"`
}
MeterValuesRequest is an object of the 2.1 schemas.
func (MeterValuesRequest) ActionName ¶
func (MeterValuesRequest) ActionName() string
ActionName is "MeterValues".
func (MeterValuesRequest) IsResponse ¶
func (MeterValuesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type MeterValuesResponse ¶
type MeterValuesResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
MeterValuesResponse is an object of the 2.1 schemas.
func (MeterValuesResponse) ActionName ¶
func (MeterValuesResponse) ActionName() string
ActionName is "MeterValues".
func (MeterValuesResponse) IsResponse ¶
func (MeterValuesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type MobilityNeedsMode ¶
type MobilityNeedsMode string
MobilityNeedsMode is an enumeration of the 2.1 schemas.
const ( MobilityNeedsModeEVCC MobilityNeedsMode = "EVCC" MobilityNeedsModeEVCCSECC MobilityNeedsMode = "EVCC_SECC" )
type Modem ¶
type Modem struct {
Iccid *string `json:"iccid,omitempty"`
Imsi *string `json:"imsi,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Modem is an object of the 2.1 schemas.
type Monitor ¶
type Monitor string
Monitor is an enumeration of the 2.1 schemas.
const ( MonitorUpperThreshold Monitor = "UpperThreshold" MonitorLowerThreshold Monitor = "LowerThreshold" MonitorDelta Monitor = "Delta" MonitorPeriodic Monitor = "Periodic" MonitorPeriodicClockAligned Monitor = "PeriodicClockAligned" MonitorTargetDelta Monitor = "TargetDelta" MonitorTargetDeltaRelative Monitor = "TargetDeltaRelative" )
type MonitoringBase ¶
type MonitoringBase string
MonitoringBase is an enumeration of the 2.1 schemas.
const ( MonitoringBaseAll MonitoringBase = "All" MonitoringBaseFactoryDefault MonitoringBase = "FactoryDefault" MonitoringBaseHardWiredOnly MonitoringBase = "HardWiredOnly" )
type MonitoringCriterion ¶
type MonitoringCriterion string
MonitoringCriterion is an enumeration of the 2.1 schemas.
const ( MonitoringCriterionThresholdMonitoring MonitoringCriterion = "ThresholdMonitoring" MonitoringCriterionDeltaMonitoring MonitoringCriterion = "DeltaMonitoring" MonitoringCriterionPeriodicMonitoring MonitoringCriterion = "PeriodicMonitoring" )
type MonitoringData ¶
type MonitoringData struct {
Component Component `json:"component"`
Variable Variable `json:"variable"`
VariableMonitoring []VariableMonitoring `json:"variableMonitoring"`
CustomData *CustomData `json:"customData,omitempty"`
}
MonitoringData is an object of the 2.1 schemas.
type Mutability ¶
type Mutability string
Mutability is an enumeration of the 2.1 schemas.
const ( MutabilityReadOnly Mutability = "ReadOnly" MutabilityWriteOnly Mutability = "WriteOnly" MutabilityReadWrite Mutability = "ReadWrite" )
type NetworkConnectionProfile ¶
type NetworkConnectionProfile struct {
Apn *APN `json:"apn,omitempty"`
OcppVersion *OCPPVersion `json:"ocppVersion,omitempty"`
OcppInterface OCPPInterface `json:"ocppInterface"`
OcppTransport OCPPTransport `json:"ocppTransport"`
MessageTimeout int `json:"messageTimeout"`
OcppCsmsUrl string `json:"ocppCsmsUrl"`
SecurityProfile int `json:"securityProfile"`
Identity *string `json:"identity,omitempty"`
BasicAuthPassword *string `json:"basicAuthPassword,omitempty"`
Vpn *VPN `json:"vpn,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NetworkConnectionProfile is an object of the 2.1 schemas.
type NotifyAllowedEnergyTransferRequest ¶
type NotifyAllowedEnergyTransferRequest struct {
TransactionID string `json:"transactionId"`
AllowedEnergyTransfer []EnergyTransferMode `json:"allowedEnergyTransfer"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyAllowedEnergyTransferRequest is an object of the 2.1 schemas.
func (NotifyAllowedEnergyTransferRequest) ActionName ¶
func (NotifyAllowedEnergyTransferRequest) ActionName() string
ActionName is "NotifyAllowedEnergyTransfer".
func (NotifyAllowedEnergyTransferRequest) IsResponse ¶
func (NotifyAllowedEnergyTransferRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyAllowedEnergyTransferResponse ¶
type NotifyAllowedEnergyTransferResponse struct {
Status NotifyAllowedEnergyTransferStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyAllowedEnergyTransferResponse is an object of the 2.1 schemas.
func (NotifyAllowedEnergyTransferResponse) ActionName ¶
func (NotifyAllowedEnergyTransferResponse) ActionName() string
ActionName is "NotifyAllowedEnergyTransfer".
func (NotifyAllowedEnergyTransferResponse) IsResponse ¶
func (NotifyAllowedEnergyTransferResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyAllowedEnergyTransferStatus ¶
type NotifyAllowedEnergyTransferStatus string
NotifyAllowedEnergyTransferStatus is an enumeration of the 2.1 schemas.
const ( NotifyAllowedEnergyTransferStatusAccepted NotifyAllowedEnergyTransferStatus = "Accepted" NotifyAllowedEnergyTransferStatusRejected NotifyAllowedEnergyTransferStatus = "Rejected" )
type NotifyChargingLimitRequest ¶
type NotifyChargingLimitRequest struct {
ChargingSchedule []ChargingSchedule `json:"chargingSchedule,omitempty"`
EvseID *int `json:"evseId,omitempty"`
ChargingLimit ChargingLimit `json:"chargingLimit"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyChargingLimitRequest is an object of the 2.1 schemas.
func (NotifyChargingLimitRequest) ActionName ¶
func (NotifyChargingLimitRequest) ActionName() string
ActionName is "NotifyChargingLimit".
func (NotifyChargingLimitRequest) IsResponse ¶
func (NotifyChargingLimitRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyChargingLimitResponse ¶
type NotifyChargingLimitResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyChargingLimitResponse is an object of the 2.1 schemas.
func (NotifyChargingLimitResponse) ActionName ¶
func (NotifyChargingLimitResponse) ActionName() string
ActionName is "NotifyChargingLimit".
func (NotifyChargingLimitResponse) IsResponse ¶
func (NotifyChargingLimitResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyCustomerInformationRequest ¶
type NotifyCustomerInformationRequest struct {
Data string `json:"data"`
Tbc *bool `json:"tbc,omitempty"`
SeqNo int `json:"seqNo"`
GeneratedAt string `json:"generatedAt"`
RequestID int `json:"requestId"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyCustomerInformationRequest is an object of the 2.1 schemas.
func (NotifyCustomerInformationRequest) ActionName ¶
func (NotifyCustomerInformationRequest) ActionName() string
ActionName is "NotifyCustomerInformation".
func (NotifyCustomerInformationRequest) IsResponse ¶
func (NotifyCustomerInformationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyCustomerInformationResponse ¶
type NotifyCustomerInformationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyCustomerInformationResponse is an object of the 2.1 schemas.
func (NotifyCustomerInformationResponse) ActionName ¶
func (NotifyCustomerInformationResponse) ActionName() string
ActionName is "NotifyCustomerInformation".
func (NotifyCustomerInformationResponse) IsResponse ¶
func (NotifyCustomerInformationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyDERAlarmRequest ¶
type NotifyDERAlarmRequest struct {
ControlType DERControl `json:"controlType"`
GridEventFault *GridEventFault `json:"gridEventFault,omitempty"`
AlarmEnded *bool `json:"alarmEnded,omitempty"`
Timestamp string `json:"timestamp"`
ExtraInfo *string `json:"extraInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDERAlarmRequest is an object of the 2.1 schemas.
func (NotifyDERAlarmRequest) ActionName ¶
func (NotifyDERAlarmRequest) ActionName() string
ActionName is "NotifyDERAlarm".
func (NotifyDERAlarmRequest) IsResponse ¶
func (NotifyDERAlarmRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyDERAlarmResponse ¶
type NotifyDERAlarmResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDERAlarmResponse is an object of the 2.1 schemas.
func (NotifyDERAlarmResponse) ActionName ¶
func (NotifyDERAlarmResponse) ActionName() string
ActionName is "NotifyDERAlarm".
func (NotifyDERAlarmResponse) IsResponse ¶
func (NotifyDERAlarmResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyDERStartStopRequest ¶
type NotifyDERStartStopRequest struct {
ControlID string `json:"controlId"`
Started bool `json:"started"`
Timestamp string `json:"timestamp"`
SupersededIds []string `json:"supersededIds,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDERStartStopRequest is an object of the 2.1 schemas.
func (NotifyDERStartStopRequest) ActionName ¶
func (NotifyDERStartStopRequest) ActionName() string
ActionName is "NotifyDERStartStop".
func (NotifyDERStartStopRequest) IsResponse ¶
func (NotifyDERStartStopRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyDERStartStopResponse ¶
type NotifyDERStartStopResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDERStartStopResponse is an object of the 2.1 schemas.
func (NotifyDERStartStopResponse) ActionName ¶
func (NotifyDERStartStopResponse) ActionName() string
ActionName is "NotifyDERStartStop".
func (NotifyDERStartStopResponse) IsResponse ¶
func (NotifyDERStartStopResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyDisplayMessagesRequest ¶
type NotifyDisplayMessagesRequest struct {
MessageInfo []MessageInfo `json:"messageInfo,omitempty"`
RequestID int `json:"requestId"`
Tbc *bool `json:"tbc,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDisplayMessagesRequest is an object of the 2.1 schemas.
func (NotifyDisplayMessagesRequest) ActionName ¶
func (NotifyDisplayMessagesRequest) ActionName() string
ActionName is "NotifyDisplayMessages".
func (NotifyDisplayMessagesRequest) IsResponse ¶
func (NotifyDisplayMessagesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyDisplayMessagesResponse ¶
type NotifyDisplayMessagesResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyDisplayMessagesResponse is an object of the 2.1 schemas.
func (NotifyDisplayMessagesResponse) ActionName ¶
func (NotifyDisplayMessagesResponse) ActionName() string
ActionName is "NotifyDisplayMessages".
func (NotifyDisplayMessagesResponse) IsResponse ¶
func (NotifyDisplayMessagesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyEVChargingNeedsRequest ¶
type NotifyEVChargingNeedsRequest struct {
EvseID int `json:"evseId"`
MaxScheduleTuples *int `json:"maxScheduleTuples,omitempty"`
ChargingNeeds ChargingNeeds `json:"chargingNeeds"`
Timestamp *string `json:"timestamp,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEVChargingNeedsRequest is an object of the 2.1 schemas.
func (NotifyEVChargingNeedsRequest) ActionName ¶
func (NotifyEVChargingNeedsRequest) ActionName() string
ActionName is "NotifyEVChargingNeeds".
func (NotifyEVChargingNeedsRequest) IsResponse ¶
func (NotifyEVChargingNeedsRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyEVChargingNeedsResponse ¶
type NotifyEVChargingNeedsResponse struct {
Status NotifyEVChargingNeedsStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEVChargingNeedsResponse is an object of the 2.1 schemas.
func (NotifyEVChargingNeedsResponse) ActionName ¶
func (NotifyEVChargingNeedsResponse) ActionName() string
ActionName is "NotifyEVChargingNeeds".
func (NotifyEVChargingNeedsResponse) IsResponse ¶
func (NotifyEVChargingNeedsResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyEVChargingNeedsStatus ¶
type NotifyEVChargingNeedsStatus string
NotifyEVChargingNeedsStatus is an enumeration of the 2.1 schemas.
const ( NotifyEVChargingNeedsStatusAccepted NotifyEVChargingNeedsStatus = "Accepted" NotifyEVChargingNeedsStatusRejected NotifyEVChargingNeedsStatus = "Rejected" NotifyEVChargingNeedsStatusProcessing NotifyEVChargingNeedsStatus = "Processing" NotifyEVChargingNeedsStatusNoChargingProfile NotifyEVChargingNeedsStatus = "NoChargingProfile" )
type NotifyEVChargingScheduleRequest ¶
type NotifyEVChargingScheduleRequest struct {
TimeBase string `json:"timeBase"`
ChargingSchedule ChargingSchedule `json:"chargingSchedule"`
EvseID int `json:"evseId"`
SelectedChargingScheduleID *int `json:"selectedChargingScheduleId,omitempty"`
PowerToleranceAcceptance *bool `json:"powerToleranceAcceptance,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEVChargingScheduleRequest is an object of the 2.1 schemas.
func (NotifyEVChargingScheduleRequest) ActionName ¶
func (NotifyEVChargingScheduleRequest) ActionName() string
ActionName is "NotifyEVChargingSchedule".
func (NotifyEVChargingScheduleRequest) IsResponse ¶
func (NotifyEVChargingScheduleRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyEVChargingScheduleResponse ¶
type NotifyEVChargingScheduleResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEVChargingScheduleResponse is an object of the 2.1 schemas.
func (NotifyEVChargingScheduleResponse) ActionName ¶
func (NotifyEVChargingScheduleResponse) ActionName() string
ActionName is "NotifyEVChargingSchedule".
func (NotifyEVChargingScheduleResponse) IsResponse ¶
func (NotifyEVChargingScheduleResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyEventRequest ¶
type NotifyEventRequest struct {
GeneratedAt string `json:"generatedAt"`
Tbc *bool `json:"tbc,omitempty"`
SeqNo int `json:"seqNo"`
EventData []EventData `json:"eventData"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEventRequest is an object of the 2.1 schemas.
func (NotifyEventRequest) ActionName ¶
func (NotifyEventRequest) ActionName() string
ActionName is "NotifyEvent".
func (NotifyEventRequest) IsResponse ¶
func (NotifyEventRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyEventResponse ¶
type NotifyEventResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyEventResponse is an object of the 2.1 schemas.
func (NotifyEventResponse) ActionName ¶
func (NotifyEventResponse) ActionName() string
ActionName is "NotifyEvent".
func (NotifyEventResponse) IsResponse ¶
func (NotifyEventResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyMonitoringReportRequest ¶
type NotifyMonitoringReportRequest struct {
Monitor []MonitoringData `json:"monitor,omitempty"`
RequestID int `json:"requestId"`
Tbc *bool `json:"tbc,omitempty"`
SeqNo int `json:"seqNo"`
GeneratedAt string `json:"generatedAt"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyMonitoringReportRequest is an object of the 2.1 schemas.
func (NotifyMonitoringReportRequest) ActionName ¶
func (NotifyMonitoringReportRequest) ActionName() string
ActionName is "NotifyMonitoringReport".
func (NotifyMonitoringReportRequest) IsResponse ¶
func (NotifyMonitoringReportRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyMonitoringReportResponse ¶
type NotifyMonitoringReportResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyMonitoringReportResponse is an object of the 2.1 schemas.
func (NotifyMonitoringReportResponse) ActionName ¶
func (NotifyMonitoringReportResponse) ActionName() string
ActionName is "NotifyMonitoringReport".
func (NotifyMonitoringReportResponse) IsResponse ¶
func (NotifyMonitoringReportResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyPeriodicEventStreamRequest ¶
type NotifyPeriodicEventStreamRequest struct {
Data []StreamDataElement `json:"data"`
ID int `json:"id"`
Pending int `json:"pending"`
Basetime string `json:"basetime"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyPeriodicEventStreamRequest is an object of the 2.1 schemas.
func (NotifyPeriodicEventStreamRequest) ActionName ¶
func (NotifyPeriodicEventStreamRequest) ActionName() string
ActionName is "NotifyPeriodicEventStream".
func (NotifyPeriodicEventStreamRequest) IsResponse ¶
func (NotifyPeriodicEventStreamRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyPriorityChargingRequest ¶
type NotifyPriorityChargingRequest struct {
TransactionID string `json:"transactionId"`
Activated bool `json:"activated"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyPriorityChargingRequest is an object of the 2.1 schemas.
func (NotifyPriorityChargingRequest) ActionName ¶
func (NotifyPriorityChargingRequest) ActionName() string
ActionName is "NotifyPriorityCharging".
func (NotifyPriorityChargingRequest) IsResponse ¶
func (NotifyPriorityChargingRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyPriorityChargingResponse ¶
type NotifyPriorityChargingResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyPriorityChargingResponse is an object of the 2.1 schemas.
func (NotifyPriorityChargingResponse) ActionName ¶
func (NotifyPriorityChargingResponse) ActionName() string
ActionName is "NotifyPriorityCharging".
func (NotifyPriorityChargingResponse) IsResponse ¶
func (NotifyPriorityChargingResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyReportRequest ¶
type NotifyReportRequest struct {
RequestID int `json:"requestId"`
GeneratedAt string `json:"generatedAt"`
ReportData []ReportData `json:"reportData,omitempty"`
Tbc *bool `json:"tbc,omitempty"`
SeqNo int `json:"seqNo"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyReportRequest is an object of the 2.1 schemas.
func (NotifyReportRequest) ActionName ¶
func (NotifyReportRequest) ActionName() string
ActionName is "NotifyReport".
func (NotifyReportRequest) IsResponse ¶
func (NotifyReportRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyReportResponse ¶
type NotifyReportResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyReportResponse is an object of the 2.1 schemas.
func (NotifyReportResponse) ActionName ¶
func (NotifyReportResponse) ActionName() string
ActionName is "NotifyReport".
func (NotifyReportResponse) IsResponse ¶
func (NotifyReportResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifySettlementRequest ¶
type NotifySettlementRequest struct {
TransactionID *string `json:"transactionId,omitempty"`
PspRef string `json:"pspRef"`
Status PaymentStatus `json:"status"`
StatusInfo *string `json:"statusInfo,omitempty"`
SettlementAmount float64 `json:"settlementAmount"`
SettlementTime string `json:"settlementTime"`
ReceiptID *string `json:"receiptId,omitempty"`
ReceiptUrl *string `json:"receiptUrl,omitempty"`
VatCompany *Address `json:"vatCompany,omitempty"`
VatNumber *string `json:"vatNumber,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifySettlementRequest is an object of the 2.1 schemas.
func (NotifySettlementRequest) ActionName ¶
func (NotifySettlementRequest) ActionName() string
ActionName is "NotifySettlement".
func (NotifySettlementRequest) IsResponse ¶
func (NotifySettlementRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifySettlementResponse ¶
type NotifySettlementResponse struct {
ReceiptUrl *string `json:"receiptUrl,omitempty"`
ReceiptID *string `json:"receiptId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifySettlementResponse is an object of the 2.1 schemas.
func (NotifySettlementResponse) ActionName ¶
func (NotifySettlementResponse) ActionName() string
ActionName is "NotifySettlement".
func (NotifySettlementResponse) IsResponse ¶
func (NotifySettlementResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type NotifyWebPaymentStartedRequest ¶
type NotifyWebPaymentStartedRequest struct {
EvseID int `json:"evseId"`
Timeout int `json:"timeout"`
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyWebPaymentStartedRequest is an object of the 2.1 schemas.
func (NotifyWebPaymentStartedRequest) ActionName ¶
func (NotifyWebPaymentStartedRequest) ActionName() string
ActionName is "NotifyWebPaymentStarted".
func (NotifyWebPaymentStartedRequest) IsResponse ¶
func (NotifyWebPaymentStartedRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type NotifyWebPaymentStartedResponse ¶
type NotifyWebPaymentStartedResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
NotifyWebPaymentStartedResponse is an object of the 2.1 schemas.
func (NotifyWebPaymentStartedResponse) ActionName ¶
func (NotifyWebPaymentStartedResponse) ActionName() string
ActionName is "NotifyWebPaymentStarted".
func (NotifyWebPaymentStartedResponse) IsResponse ¶
func (NotifyWebPaymentStartedResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type OCPPInterface ¶
type OCPPInterface string
OCPPInterface is an enumeration of the 2.1 schemas.
const ( OCPPInterfaceWired0 OCPPInterface = "Wired0" OCPPInterfaceWired1 OCPPInterface = "Wired1" OCPPInterfaceWired2 OCPPInterface = "Wired2" OCPPInterfaceWired3 OCPPInterface = "Wired3" OCPPInterfaceWireless0 OCPPInterface = "Wireless0" OCPPInterfaceWireless1 OCPPInterface = "Wireless1" OCPPInterfaceWireless2 OCPPInterface = "Wireless2" OCPPInterfaceWireless3 OCPPInterface = "Wireless3" OCPPInterfaceAny OCPPInterface = "Any" )
type OCPPTransport ¶
type OCPPTransport string
OCPPTransport is an enumeration of the 2.1 schemas.
const ( OCPPTransportSOAP OCPPTransport = "SOAP" OCPPTransportJSON OCPPTransport = "JSON" )
type OCPPVersion ¶
type OCPPVersion string
OCPPVersion is an enumeration of the 2.1 schemas.
const ( OCPPVersionOCPP12 OCPPVersion = "OCPP12" OCPPVersionOCPP15 OCPPVersion = "OCPP15" OCPPVersionOCPP16 OCPPVersion = "OCPP16" OCPPVersionOCPP20 OCPPVersion = "OCPP20" OCPPVersionOCPP201 OCPPVersion = "OCPP201" OCPPVersionOCPP21 OCPPVersion = "OCPP21" )
type OCSPRequestData ¶
type OCSPRequestData struct {
HashAlgorithm HashAlgorithm `json:"hashAlgorithm"`
IssuerNameHash string `json:"issuerNameHash"`
IssuerKeyHash string `json:"issuerKeyHash"`
SerialNumber string `json:"serialNumber"`
ResponderURL string `json:"responderURL"`
CustomData *CustomData `json:"customData,omitempty"`
}
OCSPRequestData is an object of the 2.1 schemas.
type OpenPeriodicEventStreamRequest ¶
type OpenPeriodicEventStreamRequest struct {
ConstantStreamData ConstantStreamData `json:"constantStreamData"`
CustomData *CustomData `json:"customData,omitempty"`
}
OpenPeriodicEventStreamRequest is an object of the 2.1 schemas.
func (OpenPeriodicEventStreamRequest) ActionName ¶
func (OpenPeriodicEventStreamRequest) ActionName() string
ActionName is "OpenPeriodicEventStream".
func (OpenPeriodicEventStreamRequest) IsResponse ¶
func (OpenPeriodicEventStreamRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type OpenPeriodicEventStreamResponse ¶
type OpenPeriodicEventStreamResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
OpenPeriodicEventStreamResponse is an object of the 2.1 schemas.
func (OpenPeriodicEventStreamResponse) ActionName ¶
func (OpenPeriodicEventStreamResponse) ActionName() string
ActionName is "OpenPeriodicEventStream".
func (OpenPeriodicEventStreamResponse) IsResponse ¶
func (OpenPeriodicEventStreamResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type OperationMode ¶
type OperationMode string
OperationMode is an enumeration of the 2.1 schemas.
const ( OperationModeIdle OperationMode = "Idle" OperationModeChargingOnly OperationMode = "ChargingOnly" OperationModeCentralSetpoint OperationMode = "CentralSetpoint" OperationModeExternalSetpoint OperationMode = "ExternalSetpoint" OperationModeExternalLimits OperationMode = "ExternalLimits" OperationModeCentralFrequency OperationMode = "CentralFrequency" OperationModeLocalFrequency OperationMode = "LocalFrequency" OperationModeLocalLoadBalancing OperationMode = "LocalLoadBalancing" )
type OperationalStatus ¶
type OperationalStatus string
OperationalStatus is an enumeration of the 2.1 schemas.
const ( OperationalStatusInoperative OperationalStatus = "Inoperative" OperationalStatusOperative OperationalStatus = "Operative" )
type OverstayRule ¶
type OverstayRule struct {
OverstayFee RationalNumber `json:"overstayFee"`
OverstayRuleDescription *string `json:"overstayRuleDescription,omitempty"`
StartTime int `json:"startTime"`
OverstayFeePeriod int `json:"overstayFeePeriod"`
CustomData *CustomData `json:"customData,omitempty"`
}
OverstayRule is an object of the 2.1 schemas.
type OverstayRuleList ¶
type OverstayRuleList struct {
OverstayPowerThreshold *RationalNumber `json:"overstayPowerThreshold,omitempty"`
OverstayRule []OverstayRule `json:"overstayRule"`
OverstayTimeThreshold *int `json:"overstayTimeThreshold,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
OverstayRuleList is an object of the 2.1 schemas.
type PaymentStatus ¶
type PaymentStatus string
PaymentStatus is an enumeration of the 2.1 schemas.
const ( PaymentStatusSettled PaymentStatus = "Settled" PaymentStatusCanceled PaymentStatus = "Canceled" PaymentStatusRejected PaymentStatus = "Rejected" PaymentStatusFailed PaymentStatus = "Failed" )
type PeriodicEventStreamParams ¶
type PeriodicEventStreamParams struct {
Interval *int `json:"interval,omitempty"`
Values *int `json:"values,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
PeriodicEventStreamParams is an object of the 2.1 schemas.
type PowerDuringCessation ¶
type PowerDuringCessation string
PowerDuringCessation is an enumeration of the 2.1 schemas.
const ( PowerDuringCessationActive PowerDuringCessation = "Active" PowerDuringCessationReactive PowerDuringCessation = "Reactive" )
type PreconditioningStatus ¶
type PreconditioningStatus string
PreconditioningStatus is an enumeration of the 2.1 schemas.
const ( PreconditioningStatusUnknown PreconditioningStatus = "Unknown" PreconditioningStatusReady PreconditioningStatus = "Ready" PreconditioningStatusNotReady PreconditioningStatus = "NotReady" PreconditioningStatusPreconditioning PreconditioningStatus = "Preconditioning" )
type Price ¶
type Price struct {
ExclTax *float64 `json:"exclTax,omitempty"`
InclTax *float64 `json:"inclTax,omitempty"`
TaxRates []TaxRate `json:"taxRates,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Price is an object of the 2.1 schemas.
type PriceLevelSchedule ¶
type PriceLevelSchedule struct {
PriceLevelScheduleEntries []PriceLevelScheduleEntry `json:"priceLevelScheduleEntries"`
TimeAnchor string `json:"timeAnchor"`
PriceScheduleID int `json:"priceScheduleId"`
PriceScheduleDescription *string `json:"priceScheduleDescription,omitempty"`
NumberOfPriceLevels int `json:"numberOfPriceLevels"`
CustomData *CustomData `json:"customData,omitempty"`
}
PriceLevelSchedule is an object of the 2.1 schemas.
type PriceLevelScheduleEntry ¶
type PriceLevelScheduleEntry struct {
Duration int `json:"duration"`
PriceLevel int `json:"priceLevel"`
CustomData *CustomData `json:"customData,omitempty"`
}
PriceLevelScheduleEntry is an object of the 2.1 schemas.
type PriceRule ¶
type PriceRule struct {
ParkingFeePeriod *int `json:"parkingFeePeriod,omitempty"`
CarbonDioxideEmission *int `json:"carbonDioxideEmission,omitempty"`
RenewableGenerationPercentage *int `json:"renewableGenerationPercentage,omitempty"`
EnergyFee RationalNumber `json:"energyFee"`
ParkingFee *RationalNumber `json:"parkingFee,omitempty"`
PowerRangeStart RationalNumber `json:"powerRangeStart"`
CustomData *CustomData `json:"customData,omitempty"`
}
PriceRule is an object of the 2.1 schemas.
type PriceRuleStack ¶
type PriceRuleStack struct {
Duration int `json:"duration"`
PriceRule []PriceRule `json:"priceRule"`
CustomData *CustomData `json:"customData,omitempty"`
}
PriceRuleStack is an object of the 2.1 schemas.
type PriorityChargingStatus ¶
type PriorityChargingStatus string
PriorityChargingStatus is an enumeration of the 2.1 schemas.
const ( PriorityChargingStatusAccepted PriorityChargingStatus = "Accepted" PriorityChargingStatusRejected PriorityChargingStatus = "Rejected" PriorityChargingStatusNoProfile PriorityChargingStatus = "NoProfile" )
type PublishFirmwareRequest ¶
type PublishFirmwareRequest struct {
Location string `json:"location"`
Retries *int `json:"retries,omitempty"`
Checksum string `json:"checksum"`
RequestID int `json:"requestId"`
RetryInterval *int `json:"retryInterval,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
PublishFirmwareRequest is an object of the 2.1 schemas.
func (PublishFirmwareRequest) ActionName ¶
func (PublishFirmwareRequest) ActionName() string
ActionName is "PublishFirmware".
func (PublishFirmwareRequest) IsResponse ¶
func (PublishFirmwareRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type PublishFirmwareResponse ¶
type PublishFirmwareResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
PublishFirmwareResponse is an object of the 2.1 schemas.
func (PublishFirmwareResponse) ActionName ¶
func (PublishFirmwareResponse) ActionName() string
ActionName is "PublishFirmware".
func (PublishFirmwareResponse) IsResponse ¶
func (PublishFirmwareResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type PublishFirmwareStatus ¶
type PublishFirmwareStatus string
PublishFirmwareStatus is an enumeration of the 2.1 schemas.
const ( PublishFirmwareStatusIdle PublishFirmwareStatus = "Idle" PublishFirmwareStatusDownloadScheduled PublishFirmwareStatus = "DownloadScheduled" PublishFirmwareStatusDownloading PublishFirmwareStatus = "Downloading" PublishFirmwareStatusDownloaded PublishFirmwareStatus = "Downloaded" PublishFirmwareStatusPublished PublishFirmwareStatus = "Published" PublishFirmwareStatusDownloadFailed PublishFirmwareStatus = "DownloadFailed" PublishFirmwareStatusDownloadPaused PublishFirmwareStatus = "DownloadPaused" PublishFirmwareStatusInvalidChecksum PublishFirmwareStatus = "InvalidChecksum" PublishFirmwareStatusChecksumVerified PublishFirmwareStatus = "ChecksumVerified" PublishFirmwareStatusPublishFailed PublishFirmwareStatus = "PublishFailed" )
type PublishFirmwareStatusNotificationRequest ¶
type PublishFirmwareStatusNotificationRequest struct {
Status PublishFirmwareStatus `json:"status"`
Location []string `json:"location,omitempty"`
RequestID *int `json:"requestId,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
PublishFirmwareStatusNotificationRequest is an object of the 2.1 schemas.
func (PublishFirmwareStatusNotificationRequest) ActionName ¶
func (PublishFirmwareStatusNotificationRequest) ActionName() string
ActionName is "PublishFirmwareStatusNotification".
func (PublishFirmwareStatusNotificationRequest) IsResponse ¶
func (PublishFirmwareStatusNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type PublishFirmwareStatusNotificationResponse ¶
type PublishFirmwareStatusNotificationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
PublishFirmwareStatusNotificationResponse is an object of the 2.1 schemas.
func (PublishFirmwareStatusNotificationResponse) ActionName ¶
func (PublishFirmwareStatusNotificationResponse) ActionName() string
ActionName is "PublishFirmwareStatusNotification".
func (PublishFirmwareStatusNotificationResponse) IsResponse ¶
func (PublishFirmwareStatusNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type PullDynamicScheduleUpdateRequest ¶
type PullDynamicScheduleUpdateRequest struct {
ChargingProfileID int `json:"chargingProfileId"`
CustomData *CustomData `json:"customData,omitempty"`
}
PullDynamicScheduleUpdateRequest is an object of the 2.1 schemas.
func (PullDynamicScheduleUpdateRequest) ActionName ¶
func (PullDynamicScheduleUpdateRequest) ActionName() string
ActionName is "PullDynamicScheduleUpdate".
func (PullDynamicScheduleUpdateRequest) IsResponse ¶
func (PullDynamicScheduleUpdateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type PullDynamicScheduleUpdateResponse ¶
type PullDynamicScheduleUpdateResponse struct {
ScheduleUpdate *ChargingScheduleUpdate `json:"scheduleUpdate,omitempty"`
Status ChargingProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
PullDynamicScheduleUpdateResponse is an object of the 2.1 schemas.
func (PullDynamicScheduleUpdateResponse) ActionName ¶
func (PullDynamicScheduleUpdateResponse) ActionName() string
ActionName is "PullDynamicScheduleUpdate".
func (PullDynamicScheduleUpdateResponse) IsResponse ¶
func (PullDynamicScheduleUpdateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type RationalNumber ¶
type RationalNumber struct {
Exponent int `json:"exponent"`
Value int `json:"value"`
CustomData *CustomData `json:"customData,omitempty"`
}
RationalNumber is an object of the 2.1 schemas.
type ReactivePowerParams ¶
type ReactivePowerParams struct {
VRef *float64 `json:"vRef,omitempty"`
AutonomousVRefEnable *bool `json:"autonomousVRefEnable,omitempty"`
AutonomousVRefTimeConstant *float64 `json:"autonomousVRefTimeConstant,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReactivePowerParams is an object of the 2.1 schemas.
type ReadingContext ¶
type ReadingContext string
ReadingContext is an enumeration of the 2.1 schemas.
const ( ReadingContextInterruptionBegin ReadingContext = "Interruption.Begin" ReadingContextInterruptionEnd ReadingContext = "Interruption.End" ReadingContextOther ReadingContext = "Other" ReadingContextSampleClock ReadingContext = "Sample.Clock" ReadingContextSamplePeriodic ReadingContext = "Sample.Periodic" ReadingContextTransactionBegin ReadingContext = "Transaction.Begin" ReadingContextTransactionEnd ReadingContext = "Transaction.End" ReadingContextTrigger ReadingContext = "Trigger" )
type Reason ¶
type Reason string
Reason is an enumeration of the 2.1 schemas.
const ( ReasonDeAuthorized Reason = "DeAuthorized" ReasonEmergencyStop Reason = "EmergencyStop" ReasonEnergyLimitReached Reason = "EnergyLimitReached" ReasonEVDisconnected Reason = "EVDisconnected" ReasonGroundFault Reason = "GroundFault" ReasonImmediateReset Reason = "ImmediateReset" ReasonMasterPass Reason = "MasterPass" ReasonLocal Reason = "Local" ReasonLocalOutOfCredit Reason = "LocalOutOfCredit" ReasonOther Reason = "Other" ReasonOvercurrentFault Reason = "OvercurrentFault" ReasonPowerLoss Reason = "PowerLoss" ReasonPowerQuality Reason = "PowerQuality" ReasonReboot Reason = "Reboot" ReasonRemote Reason = "Remote" ReasonSOCLimitReached Reason = "SOCLimitReached" ReasonStoppedByEV Reason = "StoppedByEV" ReasonTimeLimitReached Reason = "TimeLimitReached" ReasonTimeout Reason = "Timeout" ReasonReqEnergyTransferRejected Reason = "ReqEnergyTransferRejected" )
type RecurrencyKind ¶
type RecurrencyKind string
RecurrencyKind is an enumeration of the 2.1 schemas.
const ( RecurrencyKindDaily RecurrencyKind = "Daily" RecurrencyKindWeekly RecurrencyKind = "Weekly" )
type RegistrationStatus ¶
type RegistrationStatus string
RegistrationStatus is an enumeration of the 2.1 schemas.
const ( RegistrationStatusAccepted RegistrationStatus = "Accepted" RegistrationStatusPending RegistrationStatus = "Pending" RegistrationStatusRejected RegistrationStatus = "Rejected" )
type RelativeTimeInterval ¶
type RelativeTimeInterval struct {
Start int `json:"start"`
Duration *int `json:"duration,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
RelativeTimeInterval is an object of the 2.1 schemas.
type ReportBase ¶
type ReportBase string
ReportBase is an enumeration of the 2.1 schemas.
const ( ReportBaseConfigurationInventory ReportBase = "ConfigurationInventory" ReportBaseFullInventory ReportBase = "FullInventory" ReportBaseSummaryInventory ReportBase = "SummaryInventory" )
type ReportChargingProfilesRequest ¶
type ReportChargingProfilesRequest struct {
RequestID int `json:"requestId"`
ChargingLimitSource string `json:"chargingLimitSource"`
ChargingProfile []ChargingProfile `json:"chargingProfile"`
Tbc *bool `json:"tbc,omitempty"`
EvseID int `json:"evseId"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReportChargingProfilesRequest is an object of the 2.1 schemas.
func (ReportChargingProfilesRequest) ActionName ¶
func (ReportChargingProfilesRequest) ActionName() string
ActionName is "ReportChargingProfiles".
func (ReportChargingProfilesRequest) IsResponse ¶
func (ReportChargingProfilesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ReportChargingProfilesResponse ¶
type ReportChargingProfilesResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ReportChargingProfilesResponse is an object of the 2.1 schemas.
func (ReportChargingProfilesResponse) ActionName ¶
func (ReportChargingProfilesResponse) ActionName() string
ActionName is "ReportChargingProfiles".
func (ReportChargingProfilesResponse) IsResponse ¶
func (ReportChargingProfilesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ReportDERControlRequest ¶
type ReportDERControlRequest struct {
Curve []DERCurveGet `json:"curve,omitempty"`
EnterService []EnterServiceGet `json:"enterService,omitempty"`
FixedPFAbsorb []FixedPFGet `json:"fixedPFAbsorb,omitempty"`
FixedPFInject []FixedPFGet `json:"fixedPFInject,omitempty"`
FixedVar []FixedVarGet `json:"fixedVar,omitempty"`
FreqDroop []FreqDroopGet `json:"freqDroop,omitempty"`
Gradient []GradientGet `json:"gradient,omitempty"`
LimitMaxDischarge []LimitMaxDischargeGet `json:"limitMaxDischarge,omitempty"`
RequestID int `json:"requestId"`
Tbc *bool `json:"tbc,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReportDERControlRequest is an object of the 2.1 schemas.
func (ReportDERControlRequest) ActionName ¶
func (ReportDERControlRequest) ActionName() string
ActionName is "ReportDERControl".
func (ReportDERControlRequest) IsResponse ¶
func (ReportDERControlRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ReportDERControlResponse ¶
type ReportDERControlResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ReportDERControlResponse is an object of the 2.1 schemas.
func (ReportDERControlResponse) ActionName ¶
func (ReportDERControlResponse) ActionName() string
ActionName is "ReportDERControl".
func (ReportDERControlResponse) IsResponse ¶
func (ReportDERControlResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ReportData ¶
type ReportData struct {
Component Component `json:"component"`
Variable Variable `json:"variable"`
VariableAttribute []VariableAttribute `json:"variableAttribute"`
VariableCharacteristics *VariableCharacteristics `json:"variableCharacteristics,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReportData is an object of the 2.1 schemas.
type RequestBatterySwapRequest ¶
type RequestBatterySwapRequest struct {
IDToken IDToken `json:"idToken"`
RequestID int `json:"requestId"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestBatterySwapRequest is an object of the 2.1 schemas.
func (RequestBatterySwapRequest) ActionName ¶
func (RequestBatterySwapRequest) ActionName() string
ActionName is "RequestBatterySwap".
func (RequestBatterySwapRequest) IsResponse ¶
func (RequestBatterySwapRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type RequestBatterySwapResponse ¶
type RequestBatterySwapResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestBatterySwapResponse is an object of the 2.1 schemas.
func (RequestBatterySwapResponse) ActionName ¶
func (RequestBatterySwapResponse) ActionName() string
ActionName is "RequestBatterySwap".
func (RequestBatterySwapResponse) IsResponse ¶
func (RequestBatterySwapResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type RequestStartStopStatus ¶
type RequestStartStopStatus string
RequestStartStopStatus is an enumeration of the 2.1 schemas.
const ( RequestStartStopStatusAccepted RequestStartStopStatus = "Accepted" RequestStartStopStatusRejected RequestStartStopStatus = "Rejected" )
type RequestStartTransactionRequest ¶
type RequestStartTransactionRequest struct {
EvseID *int `json:"evseId,omitempty"`
GroupIDToken *IDToken `json:"groupIdToken,omitempty"`
IDToken IDToken `json:"idToken"`
RemoteStartID int `json:"remoteStartId"`
ChargingProfile *ChargingProfile `json:"chargingProfile,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestStartTransactionRequest is an object of the 2.1 schemas.
func (RequestStartTransactionRequest) ActionName ¶
func (RequestStartTransactionRequest) ActionName() string
ActionName is "RequestStartTransaction".
func (RequestStartTransactionRequest) IsResponse ¶
func (RequestStartTransactionRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type RequestStartTransactionResponse ¶
type RequestStartTransactionResponse struct {
Status RequestStartStopStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
TransactionID *string `json:"transactionId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestStartTransactionResponse is an object of the 2.1 schemas.
func (RequestStartTransactionResponse) ActionName ¶
func (RequestStartTransactionResponse) ActionName() string
ActionName is "RequestStartTransaction".
func (RequestStartTransactionResponse) IsResponse ¶
func (RequestStartTransactionResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type RequestStopTransactionRequest ¶
type RequestStopTransactionRequest struct {
TransactionID string `json:"transactionId"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestStopTransactionRequest is an object of the 2.1 schemas.
func (RequestStopTransactionRequest) ActionName ¶
func (RequestStopTransactionRequest) ActionName() string
ActionName is "RequestStopTransaction".
func (RequestStopTransactionRequest) IsResponse ¶
func (RequestStopTransactionRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type RequestStopTransactionResponse ¶
type RequestStopTransactionResponse struct {
Status RequestStartStopStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
RequestStopTransactionResponse is an object of the 2.1 schemas.
func (RequestStopTransactionResponse) ActionName ¶
func (RequestStopTransactionResponse) ActionName() string
ActionName is "RequestStopTransaction".
func (RequestStopTransactionResponse) IsResponse ¶
func (RequestStopTransactionResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ReservationStatusUpdateRequest ¶
type ReservationStatusUpdateRequest struct {
ReservationID int `json:"reservationId"`
ReservationUpdateStatus ReservationUpdateStatus `json:"reservationUpdateStatus"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReservationStatusUpdateRequest is an object of the 2.1 schemas.
func (ReservationStatusUpdateRequest) ActionName ¶
func (ReservationStatusUpdateRequest) ActionName() string
ActionName is "ReservationStatusUpdate".
func (ReservationStatusUpdateRequest) IsResponse ¶
func (ReservationStatusUpdateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ReservationStatusUpdateResponse ¶
type ReservationStatusUpdateResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
ReservationStatusUpdateResponse is an object of the 2.1 schemas.
func (ReservationStatusUpdateResponse) ActionName ¶
func (ReservationStatusUpdateResponse) ActionName() string
ActionName is "ReservationStatusUpdate".
func (ReservationStatusUpdateResponse) IsResponse ¶
func (ReservationStatusUpdateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ReservationUpdateStatus ¶
type ReservationUpdateStatus string
ReservationUpdateStatus is an enumeration of the 2.1 schemas.
const ( ReservationUpdateStatusExpired ReservationUpdateStatus = "Expired" ReservationUpdateStatusRemoved ReservationUpdateStatus = "Removed" ReservationUpdateStatusNoTransaction ReservationUpdateStatus = "NoTransaction" )
type ReserveNowRequest ¶
type ReserveNowRequest struct {
ID int `json:"id"`
ExpiryDateTime string `json:"expiryDateTime"`
ConnectorType *string `json:"connectorType,omitempty"`
IDToken IDToken `json:"idToken"`
EvseID *int `json:"evseId,omitempty"`
GroupIDToken *IDToken `json:"groupIdToken,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReserveNowRequest is an object of the 2.1 schemas.
func (ReserveNowRequest) ActionName ¶
func (ReserveNowRequest) ActionName() string
ActionName is "ReserveNow".
func (ReserveNowRequest) IsResponse ¶
func (ReserveNowRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ReserveNowResponse ¶
type ReserveNowResponse struct {
Status ReserveNowStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ReserveNowResponse is an object of the 2.1 schemas.
func (ReserveNowResponse) ActionName ¶
func (ReserveNowResponse) ActionName() string
ActionName is "ReserveNow".
func (ReserveNowResponse) IsResponse ¶
func (ReserveNowResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ReserveNowStatus ¶
type ReserveNowStatus string
ReserveNowStatus is an enumeration of the 2.1 schemas.
const ( ReserveNowStatusAccepted ReserveNowStatus = "Accepted" ReserveNowStatusFaulted ReserveNowStatus = "Faulted" ReserveNowStatusOccupied ReserveNowStatus = "Occupied" ReserveNowStatusRejected ReserveNowStatus = "Rejected" )
type ResetRequest ¶
type ResetRequest struct {
Type Reset `json:"type"`
EvseID *int `json:"evseId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ResetRequest is an object of the 2.1 schemas.
func (ResetRequest) IsResponse ¶
func (ResetRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type ResetResponse ¶
type ResetResponse struct {
Status ResetStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
ResetResponse is an object of the 2.1 schemas.
func (ResetResponse) IsResponse ¶
func (ResetResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type ResetStatus ¶
type ResetStatus string
ResetStatus is an enumeration of the 2.1 schemas.
const ( ResetStatusAccepted ResetStatus = "Accepted" ResetStatusRejected ResetStatus = "Rejected" ResetStatusScheduled ResetStatus = "Scheduled" )
type SalesTariff ¶
type SalesTariff struct {
ID int `json:"id"`
SalesTariffDescription *string `json:"salesTariffDescription,omitempty"`
NumEPriceLevels *int `json:"numEPriceLevels,omitempty"`
SalesTariffEntry []SalesTariffEntry `json:"salesTariffEntry"`
CustomData *CustomData `json:"customData,omitempty"`
}
SalesTariff is an object of the 2.1 schemas.
type SalesTariffEntry ¶
type SalesTariffEntry struct {
RelativeTimeInterval RelativeTimeInterval `json:"relativeTimeInterval"`
EPriceLevel *int `json:"ePriceLevel,omitempty"`
ConsumptionCost []ConsumptionCost `json:"consumptionCost,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SalesTariffEntry is an object of the 2.1 schemas.
type SampledValue ¶
type SampledValue struct {
Value float64 `json:"value"`
Measurand *Measurand `json:"measurand,omitempty"`
Context *ReadingContext `json:"context,omitempty"`
Phase *Phase `json:"phase,omitempty"`
Location *Location `json:"location,omitempty"`
SignedMeterValue *SignedMeterValue `json:"signedMeterValue,omitempty"`
UnitOfMeasure *UnitOfMeasure `json:"unitOfMeasure,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SampledValue is an object of the 2.1 schemas.
type SecurityEventNotificationRequest ¶
type SecurityEventNotificationRequest struct {
Type string `json:"type"`
Timestamp string `json:"timestamp"`
TechInfo *string `json:"techInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SecurityEventNotificationRequest is an object of the 2.1 schemas.
func (SecurityEventNotificationRequest) ActionName ¶
func (SecurityEventNotificationRequest) ActionName() string
ActionName is "SecurityEventNotification".
func (SecurityEventNotificationRequest) IsResponse ¶
func (SecurityEventNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SecurityEventNotificationResponse ¶
type SecurityEventNotificationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
SecurityEventNotificationResponse is an object of the 2.1 schemas.
func (SecurityEventNotificationResponse) ActionName ¶
func (SecurityEventNotificationResponse) ActionName() string
ActionName is "SecurityEventNotification".
func (SecurityEventNotificationResponse) IsResponse ¶
func (SecurityEventNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SendLocalListRequest ¶
type SendLocalListRequest struct {
LocalAuthorizationList []AuthorizationData `json:"localAuthorizationList,omitempty"`
VersionNumber int `json:"versionNumber"`
UpdateType Update `json:"updateType"`
CustomData *CustomData `json:"customData,omitempty"`
}
SendLocalListRequest is an object of the 2.1 schemas.
func (SendLocalListRequest) ActionName ¶
func (SendLocalListRequest) ActionName() string
ActionName is "SendLocalList".
func (SendLocalListRequest) IsResponse ¶
func (SendLocalListRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SendLocalListResponse ¶
type SendLocalListResponse struct {
Status SendLocalListStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SendLocalListResponse is an object of the 2.1 schemas.
func (SendLocalListResponse) ActionName ¶
func (SendLocalListResponse) ActionName() string
ActionName is "SendLocalList".
func (SendLocalListResponse) IsResponse ¶
func (SendLocalListResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SendLocalListStatus ¶
type SendLocalListStatus string
SendLocalListStatus is an enumeration of the 2.1 schemas.
const ( SendLocalListStatusAccepted SendLocalListStatus = "Accepted" SendLocalListStatusFailed SendLocalListStatus = "Failed" SendLocalListStatusVersionMismatch SendLocalListStatus = "VersionMismatch" )
type SetChargingProfileRequest ¶
type SetChargingProfileRequest struct {
EvseID int `json:"evseId"`
ChargingProfile ChargingProfile `json:"chargingProfile"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetChargingProfileRequest is an object of the 2.1 schemas.
func (SetChargingProfileRequest) ActionName ¶
func (SetChargingProfileRequest) ActionName() string
ActionName is "SetChargingProfile".
func (SetChargingProfileRequest) IsResponse ¶
func (SetChargingProfileRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetChargingProfileResponse ¶
type SetChargingProfileResponse struct {
Status ChargingProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetChargingProfileResponse is an object of the 2.1 schemas.
func (SetChargingProfileResponse) ActionName ¶
func (SetChargingProfileResponse) ActionName() string
ActionName is "SetChargingProfile".
func (SetChargingProfileResponse) IsResponse ¶
func (SetChargingProfileResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetDERControlRequest ¶
type SetDERControlRequest struct {
IsDefault bool `json:"isDefault"`
ControlID string `json:"controlId"`
ControlType DERControl `json:"controlType"`
Curve *DERCurve `json:"curve,omitempty"`
EnterService *EnterService `json:"enterService,omitempty"`
FixedPFAbsorb *FixedPF `json:"fixedPFAbsorb,omitempty"`
FixedPFInject *FixedPF `json:"fixedPFInject,omitempty"`
FixedVar *FixedVar `json:"fixedVar,omitempty"`
FreqDroop *FreqDroop `json:"freqDroop,omitempty"`
Gradient *Gradient `json:"gradient,omitempty"`
LimitMaxDischarge *LimitMaxDischarge `json:"limitMaxDischarge,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDERControlRequest is an object of the 2.1 schemas.
func (SetDERControlRequest) ActionName ¶
func (SetDERControlRequest) ActionName() string
ActionName is "SetDERControl".
func (SetDERControlRequest) IsResponse ¶
func (SetDERControlRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetDERControlResponse ¶
type SetDERControlResponse struct {
Status DERControlStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
SupersededIds []string `json:"supersededIds,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDERControlResponse is an object of the 2.1 schemas.
func (SetDERControlResponse) ActionName ¶
func (SetDERControlResponse) ActionName() string
ActionName is "SetDERControl".
func (SetDERControlResponse) IsResponse ¶
func (SetDERControlResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetDefaultTariffRequest ¶
type SetDefaultTariffRequest struct {
EvseID int `json:"evseId"`
Tariff Tariff `json:"tariff"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDefaultTariffRequest is an object of the 2.1 schemas.
func (SetDefaultTariffRequest) ActionName ¶
func (SetDefaultTariffRequest) ActionName() string
ActionName is "SetDefaultTariff".
func (SetDefaultTariffRequest) IsResponse ¶
func (SetDefaultTariffRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetDefaultTariffResponse ¶
type SetDefaultTariffResponse struct {
Status TariffSetStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDefaultTariffResponse is an object of the 2.1 schemas.
func (SetDefaultTariffResponse) ActionName ¶
func (SetDefaultTariffResponse) ActionName() string
ActionName is "SetDefaultTariff".
func (SetDefaultTariffResponse) IsResponse ¶
func (SetDefaultTariffResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetDisplayMessageRequest ¶
type SetDisplayMessageRequest struct {
Message MessageInfo `json:"message"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDisplayMessageRequest is an object of the 2.1 schemas.
func (SetDisplayMessageRequest) ActionName ¶
func (SetDisplayMessageRequest) ActionName() string
ActionName is "SetDisplayMessage".
func (SetDisplayMessageRequest) IsResponse ¶
func (SetDisplayMessageRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetDisplayMessageResponse ¶
type SetDisplayMessageResponse struct {
Status DisplayMessageStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetDisplayMessageResponse is an object of the 2.1 schemas.
func (SetDisplayMessageResponse) ActionName ¶
func (SetDisplayMessageResponse) ActionName() string
ActionName is "SetDisplayMessage".
func (SetDisplayMessageResponse) IsResponse ¶
func (SetDisplayMessageResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetMonitoringBaseRequest ¶
type SetMonitoringBaseRequest struct {
MonitoringBase MonitoringBase `json:"monitoringBase"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringBaseRequest is an object of the 2.1 schemas.
func (SetMonitoringBaseRequest) ActionName ¶
func (SetMonitoringBaseRequest) ActionName() string
ActionName is "SetMonitoringBase".
func (SetMonitoringBaseRequest) IsResponse ¶
func (SetMonitoringBaseRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetMonitoringBaseResponse ¶
type SetMonitoringBaseResponse struct {
Status GenericDeviceModelStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringBaseResponse is an object of the 2.1 schemas.
func (SetMonitoringBaseResponse) ActionName ¶
func (SetMonitoringBaseResponse) ActionName() string
ActionName is "SetMonitoringBase".
func (SetMonitoringBaseResponse) IsResponse ¶
func (SetMonitoringBaseResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetMonitoringData ¶
type SetMonitoringData struct {
ID *int `json:"id,omitempty"`
PeriodicEventStream *PeriodicEventStreamParams `json:"periodicEventStream,omitempty"`
Transaction *bool `json:"transaction,omitempty"`
Value float64 `json:"value"`
Type Monitor `json:"type"`
Severity int `json:"severity"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringData is an object of the 2.1 schemas.
type SetMonitoringLevelRequest ¶
type SetMonitoringLevelRequest struct {
Severity int `json:"severity"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringLevelRequest is an object of the 2.1 schemas.
func (SetMonitoringLevelRequest) ActionName ¶
func (SetMonitoringLevelRequest) ActionName() string
ActionName is "SetMonitoringLevel".
func (SetMonitoringLevelRequest) IsResponse ¶
func (SetMonitoringLevelRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetMonitoringLevelResponse ¶
type SetMonitoringLevelResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringLevelResponse is an object of the 2.1 schemas.
func (SetMonitoringLevelResponse) ActionName ¶
func (SetMonitoringLevelResponse) ActionName() string
ActionName is "SetMonitoringLevel".
func (SetMonitoringLevelResponse) IsResponse ¶
func (SetMonitoringLevelResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetMonitoringResult ¶
type SetMonitoringResult struct {
ID *int `json:"id,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Status SetMonitoringStatus `json:"status"`
Type Monitor `json:"type"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
Severity int `json:"severity"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetMonitoringResult is an object of the 2.1 schemas.
type SetMonitoringStatus ¶
type SetMonitoringStatus string
SetMonitoringStatus is an enumeration of the 2.1 schemas.
const ( SetMonitoringStatusAccepted SetMonitoringStatus = "Accepted" SetMonitoringStatusUnknownComponent SetMonitoringStatus = "UnknownComponent" SetMonitoringStatusUnknownVariable SetMonitoringStatus = "UnknownVariable" SetMonitoringStatusUnsupportedMonitorType SetMonitoringStatus = "UnsupportedMonitorType" SetMonitoringStatusRejected SetMonitoringStatus = "Rejected" SetMonitoringStatusDuplicate SetMonitoringStatus = "Duplicate" )
type SetNetworkProfileRequest ¶
type SetNetworkProfileRequest struct {
ConfigurationSlot int `json:"configurationSlot"`
ConnectionData NetworkConnectionProfile `json:"connectionData"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetNetworkProfileRequest is an object of the 2.1 schemas.
func (SetNetworkProfileRequest) ActionName ¶
func (SetNetworkProfileRequest) ActionName() string
ActionName is "SetNetworkProfile".
func (SetNetworkProfileRequest) IsResponse ¶
func (SetNetworkProfileRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetNetworkProfileResponse ¶
type SetNetworkProfileResponse struct {
Status SetNetworkProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetNetworkProfileResponse is an object of the 2.1 schemas.
func (SetNetworkProfileResponse) ActionName ¶
func (SetNetworkProfileResponse) ActionName() string
ActionName is "SetNetworkProfile".
func (SetNetworkProfileResponse) IsResponse ¶
func (SetNetworkProfileResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetNetworkProfileStatus ¶
type SetNetworkProfileStatus string
SetNetworkProfileStatus is an enumeration of the 2.1 schemas.
const ( SetNetworkProfileStatusAccepted SetNetworkProfileStatus = "Accepted" SetNetworkProfileStatusRejected SetNetworkProfileStatus = "Rejected" SetNetworkProfileStatusFailed SetNetworkProfileStatus = "Failed" )
type SetVariableData ¶
type SetVariableData struct {
AttributeType *Attribute `json:"attributeType,omitempty"`
AttributeValue string `json:"attributeValue"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariableData is an object of the 2.1 schemas.
type SetVariableMonitoringRequest ¶
type SetVariableMonitoringRequest struct {
SetMonitoringData []SetMonitoringData `json:"setMonitoringData"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariableMonitoringRequest is an object of the 2.1 schemas.
func (SetVariableMonitoringRequest) ActionName ¶
func (SetVariableMonitoringRequest) ActionName() string
ActionName is "SetVariableMonitoring".
func (SetVariableMonitoringRequest) IsResponse ¶
func (SetVariableMonitoringRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetVariableMonitoringResponse ¶
type SetVariableMonitoringResponse struct {
SetMonitoringResult []SetMonitoringResult `json:"setMonitoringResult"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariableMonitoringResponse is an object of the 2.1 schemas.
func (SetVariableMonitoringResponse) ActionName ¶
func (SetVariableMonitoringResponse) ActionName() string
ActionName is "SetVariableMonitoring".
func (SetVariableMonitoringResponse) IsResponse ¶
func (SetVariableMonitoringResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SetVariableResult ¶
type SetVariableResult struct {
AttributeType *Attribute `json:"attributeType,omitempty"`
AttributeStatus SetVariableStatus `json:"attributeStatus"`
AttributeStatusInfo *StatusInfo `json:"attributeStatusInfo,omitempty"`
Component Component `json:"component"`
Variable Variable `json:"variable"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariableResult is an object of the 2.1 schemas.
type SetVariableStatus ¶
type SetVariableStatus string
SetVariableStatus is an enumeration of the 2.1 schemas.
const ( SetVariableStatusAccepted SetVariableStatus = "Accepted" SetVariableStatusRejected SetVariableStatus = "Rejected" SetVariableStatusUnknownComponent SetVariableStatus = "UnknownComponent" SetVariableStatusUnknownVariable SetVariableStatus = "UnknownVariable" SetVariableStatusNotSupportedAttributeType SetVariableStatus = "NotSupportedAttributeType" SetVariableStatusRebootRequired SetVariableStatus = "RebootRequired" )
type SetVariablesRequest ¶
type SetVariablesRequest struct {
SetVariableData []SetVariableData `json:"setVariableData"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariablesRequest is an object of the 2.1 schemas.
func (SetVariablesRequest) ActionName ¶
func (SetVariablesRequest) ActionName() string
ActionName is "SetVariables".
func (SetVariablesRequest) IsResponse ¶
func (SetVariablesRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SetVariablesResponse ¶
type SetVariablesResponse struct {
SetVariableResult []SetVariableResult `json:"setVariableResult"`
CustomData *CustomData `json:"customData,omitempty"`
}
SetVariablesResponse is an object of the 2.1 schemas.
func (SetVariablesResponse) ActionName ¶
func (SetVariablesResponse) ActionName() string
ActionName is "SetVariables".
func (SetVariablesResponse) IsResponse ¶
func (SetVariablesResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SignCertificateRequest ¶
type SignCertificateRequest struct {
Csr string `json:"csr"`
CertificateType *CertificateSigningUse `json:"certificateType,omitempty"`
HashRootCertificate *CertificateHashData `json:"hashRootCertificate,omitempty"`
RequestID *int `json:"requestId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SignCertificateRequest is an object of the 2.1 schemas.
func (SignCertificateRequest) ActionName ¶
func (SignCertificateRequest) ActionName() string
ActionName is "SignCertificate".
func (SignCertificateRequest) IsResponse ¶
func (SignCertificateRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type SignCertificateResponse ¶
type SignCertificateResponse struct {
Status GenericStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SignCertificateResponse is an object of the 2.1 schemas.
func (SignCertificateResponse) ActionName ¶
func (SignCertificateResponse) ActionName() string
ActionName is "SignCertificate".
func (SignCertificateResponse) IsResponse ¶
func (SignCertificateResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type SignedMeterValue ¶
type SignedMeterValue struct {
SignedMeterData string `json:"signedMeterData"`
SigningMethod *string `json:"signingMethod,omitempty"`
EncodingMethod string `json:"encodingMethod"`
PublicKey *string `json:"publicKey,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
SignedMeterValue is an object of the 2.1 schemas.
type StatusInfo ¶
type StatusInfo struct {
ReasonCode string `json:"reasonCode"`
AdditionalInfo *string `json:"additionalInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
StatusInfo is an object of the 2.1 schemas.
type StatusNotificationRequest ¶
type StatusNotificationRequest struct {
Timestamp string `json:"timestamp"`
ConnectorStatus ConnectorStatus `json:"connectorStatus"`
EvseID int `json:"evseId"`
ConnectorID int `json:"connectorId"`
CustomData *CustomData `json:"customData,omitempty"`
}
StatusNotificationRequest is an object of the 2.1 schemas.
func (StatusNotificationRequest) ActionName ¶
func (StatusNotificationRequest) ActionName() string
ActionName is "StatusNotification".
func (StatusNotificationRequest) IsResponse ¶
func (StatusNotificationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type StatusNotificationResponse ¶
type StatusNotificationResponse struct {
CustomData *CustomData `json:"customData,omitempty"`
}
StatusNotificationResponse is an object of the 2.1 schemas.
func (StatusNotificationResponse) ActionName ¶
func (StatusNotificationResponse) ActionName() string
ActionName is "StatusNotification".
func (StatusNotificationResponse) IsResponse ¶
func (StatusNotificationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type StreamDataElement ¶
type StreamDataElement struct {
T float64 `json:"t"`
V string `json:"v"`
CustomData *CustomData `json:"customData,omitempty"`
}
StreamDataElement is an object of the 2.1 schemas.
type Tariff ¶
type Tariff struct {
TariffID string `json:"tariffId"`
Description []MessageContent `json:"description,omitempty"`
Currency string `json:"currency"`
Energy *TariffEnergy `json:"energy,omitempty"`
ValidFrom *string `json:"validFrom,omitempty"`
ChargingTime *TariffTime `json:"chargingTime,omitempty"`
IdleTime *TariffTime `json:"idleTime,omitempty"`
FixedFee *TariffFixed `json:"fixedFee,omitempty"`
ReservationTime *TariffTime `json:"reservationTime,omitempty"`
ReservationFixed *TariffFixed `json:"reservationFixed,omitempty"`
MinCost *Price `json:"minCost,omitempty"`
MaxCost *Price `json:"maxCost,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Tariff is an object of the 2.1 schemas.
type TariffAssignment ¶
type TariffAssignment struct {
TariffID string `json:"tariffId"`
TariffKind TariffKind `json:"tariffKind"`
ValidFrom *string `json:"validFrom,omitempty"`
EvseIds []int `json:"evseIds,omitempty"`
IDTokens []string `json:"idTokens,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffAssignment is an object of the 2.1 schemas.
type TariffChangeStatus ¶
type TariffChangeStatus string
TariffChangeStatus is an enumeration of the 2.1 schemas.
const ( TariffChangeStatusAccepted TariffChangeStatus = "Accepted" TariffChangeStatusRejected TariffChangeStatus = "Rejected" TariffChangeStatusTooManyElements TariffChangeStatus = "TooManyElements" TariffChangeStatusConditionNotSupported TariffChangeStatus = "ConditionNotSupported" TariffChangeStatusTxNotFound TariffChangeStatus = "TxNotFound" TariffChangeStatusNoCurrencyChange TariffChangeStatus = "NoCurrencyChange" )
type TariffClearStatus ¶
type TariffClearStatus string
TariffClearStatus is an enumeration of the 2.1 schemas.
const ( TariffClearStatusAccepted TariffClearStatus = "Accepted" TariffClearStatusRejected TariffClearStatus = "Rejected" TariffClearStatusNoTariff TariffClearStatus = "NoTariff" )
type TariffConditions ¶
type TariffConditions struct {
StartTimeOfDay *string `json:"startTimeOfDay,omitempty"`
EndTimeOfDay *string `json:"endTimeOfDay,omitempty"`
DayOfWeek []DayOfWeek `json:"dayOfWeek,omitempty"`
ValidFromDate *string `json:"validFromDate,omitempty"`
ValidToDate *string `json:"validToDate,omitempty"`
EvseKind *EvseKind `json:"evseKind,omitempty"`
MinEnergy *float64 `json:"minEnergy,omitempty"`
MaxEnergy *float64 `json:"maxEnergy,omitempty"`
MinCurrent *float64 `json:"minCurrent,omitempty"`
MaxCurrent *float64 `json:"maxCurrent,omitempty"`
MinPower *float64 `json:"minPower,omitempty"`
MaxPower *float64 `json:"maxPower,omitempty"`
MinTime *int `json:"minTime,omitempty"`
MaxTime *int `json:"maxTime,omitempty"`
MinChargingTime *int `json:"minChargingTime,omitempty"`
MaxChargingTime *int `json:"maxChargingTime,omitempty"`
MinIdleTime *int `json:"minIdleTime,omitempty"`
MaxIdleTime *int `json:"maxIdleTime,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffConditions is an object of the 2.1 schemas.
type TariffConditionsFixed ¶
type TariffConditionsFixed struct {
StartTimeOfDay *string `json:"startTimeOfDay,omitempty"`
EndTimeOfDay *string `json:"endTimeOfDay,omitempty"`
DayOfWeek []DayOfWeek `json:"dayOfWeek,omitempty"`
ValidFromDate *string `json:"validFromDate,omitempty"`
ValidToDate *string `json:"validToDate,omitempty"`
EvseKind *EvseKind `json:"evseKind,omitempty"`
PaymentBrand *string `json:"paymentBrand,omitempty"`
PaymentRecognition *string `json:"paymentRecognition,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffConditionsFixed is an object of the 2.1 schemas.
type TariffCost ¶
type TariffCost string
TariffCost is an enumeration of the 2.1 schemas.
const ( TariffCostNormalCost TariffCost = "NormalCost" TariffCostMinCost TariffCost = "MinCost" TariffCostMaxCost TariffCost = "MaxCost" )
type TariffEnergy ¶
type TariffEnergy struct {
Prices []TariffEnergyPrice `json:"prices"`
TaxRates []TaxRate `json:"taxRates,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffEnergy is an object of the 2.1 schemas.
type TariffEnergyPrice ¶
type TariffEnergyPrice struct {
PriceKwh float64 `json:"priceKwh"`
Conditions *TariffConditions `json:"conditions,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffEnergyPrice is an object of the 2.1 schemas.
type TariffFixed ¶
type TariffFixed struct {
Prices []TariffFixedPrice `json:"prices"`
TaxRates []TaxRate `json:"taxRates,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffFixed is an object of the 2.1 schemas.
type TariffFixedPrice ¶
type TariffFixedPrice struct {
Conditions *TariffConditionsFixed `json:"conditions,omitempty"`
PriceFixed float64 `json:"priceFixed"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffFixedPrice is an object of the 2.1 schemas.
type TariffGetStatus ¶
type TariffGetStatus string
TariffGetStatus is an enumeration of the 2.1 schemas.
const ( TariffGetStatusAccepted TariffGetStatus = "Accepted" TariffGetStatusRejected TariffGetStatus = "Rejected" TariffGetStatusNoTariff TariffGetStatus = "NoTariff" )
type TariffKind ¶
type TariffKind string
TariffKind is an enumeration of the 2.1 schemas.
const ( TariffKindDefaultTariff TariffKind = "DefaultTariff" TariffKindDriverTariff TariffKind = "DriverTariff" )
type TariffSetStatus ¶
type TariffSetStatus string
TariffSetStatus is an enumeration of the 2.1 schemas.
const ( TariffSetStatusAccepted TariffSetStatus = "Accepted" TariffSetStatusRejected TariffSetStatus = "Rejected" TariffSetStatusTooManyElements TariffSetStatus = "TooManyElements" TariffSetStatusConditionNotSupported TariffSetStatus = "ConditionNotSupported" TariffSetStatusDuplicateTariffID TariffSetStatus = "DuplicateTariffId" )
type TariffTime ¶
type TariffTime struct {
Prices []TariffTimePrice `json:"prices"`
TaxRates []TaxRate `json:"taxRates,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffTime is an object of the 2.1 schemas.
type TariffTimePrice ¶
type TariffTimePrice struct {
PriceMinute float64 `json:"priceMinute"`
Conditions *TariffConditions `json:"conditions,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TariffTimePrice is an object of the 2.1 schemas.
type TaxRate ¶
type TaxRate struct {
Type string `json:"type"`
Tax float64 `json:"tax"`
Stack *int `json:"stack,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TaxRate is an object of the 2.1 schemas.
type TaxRule ¶
type TaxRule struct {
TaxRuleID int `json:"taxRuleID"`
TaxRuleName *string `json:"taxRuleName,omitempty"`
TaxIncludedInPrice *bool `json:"taxIncludedInPrice,omitempty"`
AppliesToEnergyFee bool `json:"appliesToEnergyFee"`
AppliesToParkingFee bool `json:"appliesToParkingFee"`
AppliesToOverstayFee bool `json:"appliesToOverstayFee"`
AppliesToMinimumMaximumCost bool `json:"appliesToMinimumMaximumCost"`
TaxRate RationalNumber `json:"taxRate"`
CustomData *CustomData `json:"customData,omitempty"`
}
TaxRule is an object of the 2.1 schemas.
type TotalCost ¶
type TotalCost struct {
Currency string `json:"currency"`
TypeOfCost TariffCost `json:"typeOfCost"`
Fixed *Price `json:"fixed,omitempty"`
Energy *Price `json:"energy,omitempty"`
ChargingTime *Price `json:"chargingTime,omitempty"`
IdleTime *Price `json:"idleTime,omitempty"`
ReservationTime *Price `json:"reservationTime,omitempty"`
ReservationFixed *Price `json:"reservationFixed,omitempty"`
Total TotalPrice `json:"total"`
CustomData *CustomData `json:"customData,omitempty"`
}
TotalCost is an object of the 2.1 schemas.
type TotalPrice ¶
type TotalPrice struct {
ExclTax *float64 `json:"exclTax,omitempty"`
InclTax *float64 `json:"inclTax,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TotalPrice is an object of the 2.1 schemas.
type TotalUsage ¶
type TotalUsage struct {
Energy float64 `json:"energy"`
ChargingTime int `json:"chargingTime"`
IdleTime int `json:"idleTime"`
ReservationTime *int `json:"reservationTime,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TotalUsage is an object of the 2.1 schemas.
type Transaction ¶
type Transaction struct {
TransactionID string `json:"transactionId"`
ChargingState *ChargingState `json:"chargingState,omitempty"`
TimeSpentCharging *int `json:"timeSpentCharging,omitempty"`
StoppedReason *Reason `json:"stoppedReason,omitempty"`
RemoteStartID *int `json:"remoteStartId,omitempty"`
OperationMode *OperationMode `json:"operationMode,omitempty"`
TariffID *string `json:"tariffId,omitempty"`
TransactionLimit *TransactionLimit `json:"transactionLimit,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Transaction is an object of the 2.1 schemas.
type TransactionEvent ¶
type TransactionEvent string
TransactionEvent is an enumeration of the 2.1 schemas.
const ( TransactionEventEnded TransactionEvent = "Ended" TransactionEventStarted TransactionEvent = "Started" TransactionEventUpdated TransactionEvent = "Updated" )
type TransactionEventRequest ¶
type TransactionEventRequest struct {
CostDetails *CostDetails `json:"costDetails,omitempty"`
EventType TransactionEvent `json:"eventType"`
MeterValue []MeterValue `json:"meterValue,omitempty"`
Timestamp string `json:"timestamp"`
TriggerReason TriggerReason `json:"triggerReason"`
SeqNo int `json:"seqNo"`
Offline *bool `json:"offline,omitempty"`
NumberOfPhasesUsed *int `json:"numberOfPhasesUsed,omitempty"`
CableMaxCurrent *int `json:"cableMaxCurrent,omitempty"`
ReservationID *int `json:"reservationId,omitempty"`
PreconditioningStatus *PreconditioningStatus `json:"preconditioningStatus,omitempty"`
EvseSleep *bool `json:"evseSleep,omitempty"`
TransactionInfo Transaction `json:"transactionInfo"`
Evse *EVSE `json:"evse,omitempty"`
IDToken *IDToken `json:"idToken,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TransactionEventRequest is an object of the 2.1 schemas.
func (TransactionEventRequest) ActionName ¶
func (TransactionEventRequest) ActionName() string
ActionName is "TransactionEvent".
func (TransactionEventRequest) IsResponse ¶
func (TransactionEventRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type TransactionEventResponse ¶
type TransactionEventResponse struct {
TotalCost *float64 `json:"totalCost,omitempty"`
ChargingPriority *int `json:"chargingPriority,omitempty"`
IDTokenInfo *IDTokenInfo `json:"idTokenInfo,omitempty"`
TransactionLimit *TransactionLimit `json:"transactionLimit,omitempty"`
UpdatedPersonalMessage *MessageContent `json:"updatedPersonalMessage,omitempty"`
UpdatedPersonalMessageExtra []MessageContent `json:"updatedPersonalMessageExtra,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TransactionEventResponse is an object of the 2.1 schemas.
func (TransactionEventResponse) ActionName ¶
func (TransactionEventResponse) ActionName() string
ActionName is "TransactionEvent".
func (TransactionEventResponse) IsResponse ¶
func (TransactionEventResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type TransactionLimit ¶
type TransactionLimit struct {
MaxCost *float64 `json:"maxCost,omitempty"`
MaxEnergy *float64 `json:"maxEnergy,omitempty"`
MaxTime *int `json:"maxTime,omitempty"`
MaxSoC *int `json:"maxSoC,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TransactionLimit is an object of the 2.1 schemas.
type TriggerMessageRequest ¶
type TriggerMessageRequest struct {
Evse *EVSE `json:"evse,omitempty"`
RequestedMessage MessageTrigger `json:"requestedMessage"`
CustomTrigger *string `json:"customTrigger,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TriggerMessageRequest is an object of the 2.1 schemas.
func (TriggerMessageRequest) ActionName ¶
func (TriggerMessageRequest) ActionName() string
ActionName is "TriggerMessage".
func (TriggerMessageRequest) IsResponse ¶
func (TriggerMessageRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type TriggerMessageResponse ¶
type TriggerMessageResponse struct {
Status TriggerMessageStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
TriggerMessageResponse is an object of the 2.1 schemas.
func (TriggerMessageResponse) ActionName ¶
func (TriggerMessageResponse) ActionName() string
ActionName is "TriggerMessage".
func (TriggerMessageResponse) IsResponse ¶
func (TriggerMessageResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type TriggerMessageStatus ¶
type TriggerMessageStatus string
TriggerMessageStatus is an enumeration of the 2.1 schemas.
const ( TriggerMessageStatusAccepted TriggerMessageStatus = "Accepted" TriggerMessageStatusRejected TriggerMessageStatus = "Rejected" TriggerMessageStatusNotImplemented TriggerMessageStatus = "NotImplemented" )
type TriggerReason ¶
type TriggerReason string
TriggerReason is an enumeration of the 2.1 schemas.
const ( TriggerReasonAbnormalCondition TriggerReason = "AbnormalCondition" TriggerReasonAuthorized TriggerReason = "Authorized" TriggerReasonCablePluggedIn TriggerReason = "CablePluggedIn" TriggerReasonChargingRateChanged TriggerReason = "ChargingRateChanged" TriggerReasonChargingStateChanged TriggerReason = "ChargingStateChanged" TriggerReasonCostLimitReached TriggerReason = "CostLimitReached" TriggerReasonEnergyLimitReached TriggerReason = "EnergyLimitReached" TriggerReasonEVCommunicationLost TriggerReason = "EVCommunicationLost" TriggerReasonEVConnectTimeout TriggerReason = "EVConnectTimeout" TriggerReasonEVDeparted TriggerReason = "EVDeparted" TriggerReasonEVDetected TriggerReason = "EVDetected" TriggerReasonLimitSet TriggerReason = "LimitSet" TriggerReasonMeterValueClock TriggerReason = "MeterValueClock" TriggerReasonMeterValuePeriodic TriggerReason = "MeterValuePeriodic" TriggerReasonOperationModeChanged TriggerReason = "OperationModeChanged" TriggerReasonRemoteStart TriggerReason = "RemoteStart" TriggerReasonRemoteStop TriggerReason = "RemoteStop" TriggerReasonResetCommand TriggerReason = "ResetCommand" TriggerReasonRunningCost TriggerReason = "RunningCost" TriggerReasonSignedDataReceived TriggerReason = "SignedDataReceived" TriggerReasonSoCLimitReached TriggerReason = "SoCLimitReached" TriggerReasonStopAuthorized TriggerReason = "StopAuthorized" TriggerReasonTariffChanged TriggerReason = "TariffChanged" TriggerReasonTariffNotAccepted TriggerReason = "TariffNotAccepted" TriggerReasonTimeLimitReached TriggerReason = "TimeLimitReached" TriggerReasonTrigger TriggerReason = "Trigger" TriggerReasonTxResumed TriggerReason = "TxResumed" TriggerReasonUnlockCommand TriggerReason = "UnlockCommand" )
type UnitOfMeasure ¶
type UnitOfMeasure struct {
Unit *string `json:"unit,omitempty"`
Multiplier *int `json:"multiplier,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
UnitOfMeasure is an object of the 2.1 schemas.
type UnlockConnectorRequest ¶
type UnlockConnectorRequest struct {
EvseID int `json:"evseId"`
ConnectorID int `json:"connectorId"`
CustomData *CustomData `json:"customData,omitempty"`
}
UnlockConnectorRequest is an object of the 2.1 schemas.
func (UnlockConnectorRequest) ActionName ¶
func (UnlockConnectorRequest) ActionName() string
ActionName is "UnlockConnector".
func (UnlockConnectorRequest) IsResponse ¶
func (UnlockConnectorRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type UnlockConnectorResponse ¶
type UnlockConnectorResponse struct {
Status UnlockStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
UnlockConnectorResponse is an object of the 2.1 schemas.
func (UnlockConnectorResponse) ActionName ¶
func (UnlockConnectorResponse) ActionName() string
ActionName is "UnlockConnector".
func (UnlockConnectorResponse) IsResponse ¶
func (UnlockConnectorResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type UnlockStatus ¶
type UnlockStatus string
UnlockStatus is an enumeration of the 2.1 schemas.
const ( UnlockStatusUnlocked UnlockStatus = "Unlocked" UnlockStatusUnlockFailed UnlockStatus = "UnlockFailed" UnlockStatusOngoingAuthorizedTransaction UnlockStatus = "OngoingAuthorizedTransaction" UnlockStatusUnknownConnector UnlockStatus = "UnknownConnector" )
type UnpublishFirmwareRequest ¶
type UnpublishFirmwareRequest struct {
Checksum string `json:"checksum"`
CustomData *CustomData `json:"customData,omitempty"`
}
UnpublishFirmwareRequest is an object of the 2.1 schemas.
func (UnpublishFirmwareRequest) ActionName ¶
func (UnpublishFirmwareRequest) ActionName() string
ActionName is "UnpublishFirmware".
func (UnpublishFirmwareRequest) IsResponse ¶
func (UnpublishFirmwareRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type UnpublishFirmwareResponse ¶
type UnpublishFirmwareResponse struct {
Status UnpublishFirmwareStatus `json:"status"`
CustomData *CustomData `json:"customData,omitempty"`
}
UnpublishFirmwareResponse is an object of the 2.1 schemas.
func (UnpublishFirmwareResponse) ActionName ¶
func (UnpublishFirmwareResponse) ActionName() string
ActionName is "UnpublishFirmware".
func (UnpublishFirmwareResponse) IsResponse ¶
func (UnpublishFirmwareResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type UnpublishFirmwareStatus ¶
type UnpublishFirmwareStatus string
UnpublishFirmwareStatus is an enumeration of the 2.1 schemas.
const ( UnpublishFirmwareStatusDownloadOngoing UnpublishFirmwareStatus = "DownloadOngoing" UnpublishFirmwareStatusNoFirmware UnpublishFirmwareStatus = "NoFirmware" UnpublishFirmwareStatusUnpublished UnpublishFirmwareStatus = "Unpublished" )
type UpdateDynamicScheduleRequest ¶
type UpdateDynamicScheduleRequest struct {
ChargingProfileID int `json:"chargingProfileId"`
ScheduleUpdate ChargingScheduleUpdate `json:"scheduleUpdate"`
CustomData *CustomData `json:"customData,omitempty"`
}
UpdateDynamicScheduleRequest is an object of the 2.1 schemas.
func (UpdateDynamicScheduleRequest) ActionName ¶
func (UpdateDynamicScheduleRequest) ActionName() string
ActionName is "UpdateDynamicSchedule".
func (UpdateDynamicScheduleRequest) IsResponse ¶
func (UpdateDynamicScheduleRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type UpdateDynamicScheduleResponse ¶
type UpdateDynamicScheduleResponse struct {
Status ChargingProfileStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
UpdateDynamicScheduleResponse is an object of the 2.1 schemas.
func (UpdateDynamicScheduleResponse) ActionName ¶
func (UpdateDynamicScheduleResponse) ActionName() string
ActionName is "UpdateDynamicSchedule".
func (UpdateDynamicScheduleResponse) IsResponse ¶
func (UpdateDynamicScheduleResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type UpdateFirmwareRequest ¶
type UpdateFirmwareRequest struct {
Retries *int `json:"retries,omitempty"`
RetryInterval *int `json:"retryInterval,omitempty"`
RequestID int `json:"requestId"`
Firmware Firmware `json:"firmware"`
CustomData *CustomData `json:"customData,omitempty"`
}
UpdateFirmwareRequest is an object of the 2.1 schemas.
func (UpdateFirmwareRequest) ActionName ¶
func (UpdateFirmwareRequest) ActionName() string
ActionName is "UpdateFirmware".
func (UpdateFirmwareRequest) IsResponse ¶
func (UpdateFirmwareRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type UpdateFirmwareResponse ¶
type UpdateFirmwareResponse struct {
Status UpdateFirmwareStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
UpdateFirmwareResponse is an object of the 2.1 schemas.
func (UpdateFirmwareResponse) ActionName ¶
func (UpdateFirmwareResponse) ActionName() string
ActionName is "UpdateFirmware".
func (UpdateFirmwareResponse) IsResponse ¶
func (UpdateFirmwareResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type UpdateFirmwareStatus ¶
type UpdateFirmwareStatus string
UpdateFirmwareStatus is an enumeration of the 2.1 schemas.
const ( UpdateFirmwareStatusAccepted UpdateFirmwareStatus = "Accepted" UpdateFirmwareStatusRejected UpdateFirmwareStatus = "Rejected" UpdateFirmwareStatusAcceptedCanceled UpdateFirmwareStatus = "AcceptedCanceled" UpdateFirmwareStatusInvalidCertificate UpdateFirmwareStatus = "InvalidCertificate" UpdateFirmwareStatusRevokedCertificate UpdateFirmwareStatus = "RevokedCertificate" )
type UploadLogStatus ¶
type UploadLogStatus string
UploadLogStatus is an enumeration of the 2.1 schemas.
const ( UploadLogStatusBadMessage UploadLogStatus = "BadMessage" UploadLogStatusIdle UploadLogStatus = "Idle" UploadLogStatusNotSupportedOperation UploadLogStatus = "NotSupportedOperation" UploadLogStatusPermissionDenied UploadLogStatus = "PermissionDenied" UploadLogStatusUploaded UploadLogStatus = "Uploaded" UploadLogStatusUploadFailure UploadLogStatus = "UploadFailure" UploadLogStatusUploading UploadLogStatus = "Uploading" UploadLogStatusAcceptedCanceled UploadLogStatus = "AcceptedCanceled" )
type UsePriorityChargingRequest ¶
type UsePriorityChargingRequest struct {
TransactionID string `json:"transactionId"`
Activate bool `json:"activate"`
CustomData *CustomData `json:"customData,omitempty"`
}
UsePriorityChargingRequest is an object of the 2.1 schemas.
func (UsePriorityChargingRequest) ActionName ¶
func (UsePriorityChargingRequest) ActionName() string
ActionName is "UsePriorityCharging".
func (UsePriorityChargingRequest) IsResponse ¶
func (UsePriorityChargingRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type UsePriorityChargingResponse ¶
type UsePriorityChargingResponse struct {
Status PriorityChargingStatus `json:"status"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
UsePriorityChargingResponse is an object of the 2.1 schemas.
func (UsePriorityChargingResponse) ActionName ¶
func (UsePriorityChargingResponse) ActionName() string
ActionName is "UsePriorityCharging".
func (UsePriorityChargingResponse) IsResponse ¶
func (UsePriorityChargingResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type V2XChargingParameters ¶
type V2XChargingParameters struct {
MinChargePower *float64 `json:"minChargePower,omitempty"`
MinChargePowerL2 *float64 `json:"minChargePower_L2,omitempty"`
MinChargePowerL3 *float64 `json:"minChargePower_L3,omitempty"`
MaxChargePower *float64 `json:"maxChargePower,omitempty"`
MaxChargePowerL2 *float64 `json:"maxChargePower_L2,omitempty"`
MaxChargePowerL3 *float64 `json:"maxChargePower_L3,omitempty"`
MinDischargePower *float64 `json:"minDischargePower,omitempty"`
MinDischargePowerL2 *float64 `json:"minDischargePower_L2,omitempty"`
MinDischargePowerL3 *float64 `json:"minDischargePower_L3,omitempty"`
MaxDischargePower *float64 `json:"maxDischargePower,omitempty"`
MaxDischargePowerL2 *float64 `json:"maxDischargePower_L2,omitempty"`
MaxDischargePowerL3 *float64 `json:"maxDischargePower_L3,omitempty"`
MinChargeCurrent *float64 `json:"minChargeCurrent,omitempty"`
MaxChargeCurrent *float64 `json:"maxChargeCurrent,omitempty"`
MinDischargeCurrent *float64 `json:"minDischargeCurrent,omitempty"`
MaxDischargeCurrent *float64 `json:"maxDischargeCurrent,omitempty"`
MinVoltage *float64 `json:"minVoltage,omitempty"`
MaxVoltage *float64 `json:"maxVoltage,omitempty"`
EvTargetEnergyRequest *float64 `json:"evTargetEnergyRequest,omitempty"`
EvMinEnergyRequest *float64 `json:"evMinEnergyRequest,omitempty"`
EvMaxEnergyRequest *float64 `json:"evMaxEnergyRequest,omitempty"`
EvMinV2XEnergyRequest *float64 `json:"evMinV2XEnergyRequest,omitempty"`
EvMaxV2XEnergyRequest *float64 `json:"evMaxV2XEnergyRequest,omitempty"`
TargetSoC *int `json:"targetSoC,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
V2XChargingParameters is an object of the 2.1 schemas.
type V2XFreqWattPoint ¶
type V2XFreqWattPoint struct {
Frequency float64 `json:"frequency"`
Power float64 `json:"power"`
CustomData *CustomData `json:"customData,omitempty"`
}
V2XFreqWattPoint is an object of the 2.1 schemas.
type V2XSignalWattPoint ¶
type V2XSignalWattPoint struct {
Signal int `json:"signal"`
Power float64 `json:"power"`
CustomData *CustomData `json:"customData,omitempty"`
}
V2XSignalWattPoint is an object of the 2.1 schemas.
type VPN ¶
type VPN struct {
Server string `json:"server"`
User string `json:"user"`
Group *string `json:"group,omitempty"`
Password string `json:"password"`
Key string `json:"key"`
Type VPNEnum `json:"type"`
CustomData *CustomData `json:"customData,omitempty"`
}
VPN is an object of the 2.1 schemas.
type Variable ¶
type Variable struct {
Name string `json:"name"`
Instance *string `json:"instance,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
Variable is an object of the 2.1 schemas.
type VariableAttribute ¶
type VariableAttribute struct {
Type *Attribute `json:"type,omitempty"`
Value *string `json:"value,omitempty"`
Mutability *Mutability `json:"mutability,omitempty"`
Persistent *bool `json:"persistent,omitempty"`
Constant *bool `json:"constant,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
VariableAttribute is an object of the 2.1 schemas.
type VariableCharacteristics ¶
type VariableCharacteristics struct {
Unit *string `json:"unit,omitempty"`
DataType Data `json:"dataType"`
MinLimit *float64 `json:"minLimit,omitempty"`
MaxLimit *float64 `json:"maxLimit,omitempty"`
MaxElements *int `json:"maxElements,omitempty"`
ValuesList *string `json:"valuesList,omitempty"`
SupportsMonitoring bool `json:"supportsMonitoring"`
CustomData *CustomData `json:"customData,omitempty"`
}
VariableCharacteristics is an object of the 2.1 schemas.
type VariableMonitoring ¶
type VariableMonitoring struct {
ID int `json:"id"`
Transaction bool `json:"transaction"`
Value float64 `json:"value"`
Type Monitor `json:"type"`
Severity int `json:"severity"`
EventNotificationType EventNotification `json:"eventNotificationType"`
CustomData *CustomData `json:"customData,omitempty"`
}
VariableMonitoring is an object of the 2.1 schemas.
type VatNumberValidationRequest ¶
type VatNumberValidationRequest struct {
VatNumber string `json:"vatNumber"`
EvseID *int `json:"evseId,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
VatNumberValidationRequest is an object of the 2.1 schemas.
func (VatNumberValidationRequest) ActionName ¶
func (VatNumberValidationRequest) ActionName() string
ActionName is "VatNumberValidation".
func (VatNumberValidationRequest) IsResponse ¶
func (VatNumberValidationRequest) IsResponse() bool
IsResponse reports whether this is a response (false).
type VatNumberValidationResponse ¶
type VatNumberValidationResponse struct {
Company *Address `json:"company,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
VatNumber string `json:"vatNumber"`
EvseID *int `json:"evseId,omitempty"`
Status GenericStatus `json:"status"`
CustomData *CustomData `json:"customData,omitempty"`
}
VatNumberValidationResponse is an object of the 2.1 schemas.
func (VatNumberValidationResponse) ActionName ¶
func (VatNumberValidationResponse) ActionName() string
ActionName is "VatNumberValidation".
func (VatNumberValidationResponse) IsResponse ¶
func (VatNumberValidationResponse) IsResponse() bool
IsResponse reports whether this is a response (true).
type VoltageParams ¶
type VoltageParams struct {
Hv10MinMeanValue *float64 `json:"hv10MinMeanValue,omitempty"`
Hv10MinMeanTripDelay *float64 `json:"hv10MinMeanTripDelay,omitempty"`
PowerDuringCessation *PowerDuringCessation `json:"powerDuringCessation,omitempty"`
CustomData *CustomData `json:"customData,omitempty"`
}
VoltageParams is an object of the 2.1 schemas.