TriggerMessageRequest

package
v0.0.0-...-07563a9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomDataType

type CustomDataType struct {
	// VendorId corresponds to the JSON schema field "vendorId".
	VendorId string `json:"vendorId" yaml:"vendorId"`
}

This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.

func (*CustomDataType) UnmarshalJSON

func (j *CustomDataType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type EVSEType

type EVSEType struct {
	// An id to designate a specific connector (on an EVSE) by connector index number.
	//
	ConnectorId *int `json:"connectorId,omitempty" yaml:"connectorId,omitempty"`

	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// Identified_ Object. MRID. Numeric_ Identifier
	// urn:x-enexis:ecdm:uid:1:569198
	// EVSE Identifier. This contains a number (> 0) designating an EVSE of the
	// Charging Station.
	//
	Id int `json:"id" yaml:"id"`
}

EVSE urn:x-oca:ocpp:uid:2:233123 Electric Vehicle Supply Equipment

func (*EVSEType) UnmarshalJSON

func (j *EVSEType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type MessageTriggerEnumType

type MessageTriggerEnumType string
const MessageTriggerEnumTypeBootNotification MessageTriggerEnumType = "BootNotification"
const MessageTriggerEnumTypeFirmwareStatusNotification MessageTriggerEnumType = "FirmwareStatusNotification"
const MessageTriggerEnumTypeHeartbeat MessageTriggerEnumType = "Heartbeat"
const MessageTriggerEnumTypeLogStatusNotification MessageTriggerEnumType = "LogStatusNotification"
const MessageTriggerEnumTypeMeterValues MessageTriggerEnumType = "MeterValues"
const MessageTriggerEnumTypePublishFirmwareStatusNotification MessageTriggerEnumType = "PublishFirmwareStatusNotification"
const MessageTriggerEnumTypeSignChargingStationCertificate MessageTriggerEnumType = "SignChargingStationCertificate"
const MessageTriggerEnumTypeSignCombinedCertificate MessageTriggerEnumType = "SignCombinedCertificate"
const MessageTriggerEnumTypeSignV2GCertificate MessageTriggerEnumType = "SignV2GCertificate"
const MessageTriggerEnumTypeStatusNotification MessageTriggerEnumType = "StatusNotification"
const MessageTriggerEnumTypeTransactionEvent MessageTriggerEnumType = "TransactionEvent"

func (*MessageTriggerEnumType) UnmarshalJSON

func (j *MessageTriggerEnumType) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type MessageTriggerEnumType_1

type MessageTriggerEnumType_1 string
const MessageTriggerEnumType_1_BootNotification MessageTriggerEnumType_1 = "BootNotification"
const MessageTriggerEnumType_1_FirmwareStatusNotification MessageTriggerEnumType_1 = "FirmwareStatusNotification"
const MessageTriggerEnumType_1_Heartbeat MessageTriggerEnumType_1 = "Heartbeat"
const MessageTriggerEnumType_1_LogStatusNotification MessageTriggerEnumType_1 = "LogStatusNotification"
const MessageTriggerEnumType_1_MeterValues MessageTriggerEnumType_1 = "MeterValues"
const MessageTriggerEnumType_1_PublishFirmwareStatusNotification MessageTriggerEnumType_1 = "PublishFirmwareStatusNotification"
const MessageTriggerEnumType_1_SignChargingStationCertificate MessageTriggerEnumType_1 = "SignChargingStationCertificate"
const MessageTriggerEnumType_1_SignCombinedCertificate MessageTriggerEnumType_1 = "SignCombinedCertificate"
const MessageTriggerEnumType_1_SignV2GCertificate MessageTriggerEnumType_1 = "SignV2GCertificate"
const MessageTriggerEnumType_1_StatusNotification MessageTriggerEnumType_1 = "StatusNotification"
const MessageTriggerEnumType_1_TransactionEvent MessageTriggerEnumType_1 = "TransactionEvent"

func (*MessageTriggerEnumType_1) UnmarshalJSON

func (j *MessageTriggerEnumType_1) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

type TriggerMessageRequestJson

type TriggerMessageRequestJson struct {
	// CustomData corresponds to the JSON schema field "customData".
	CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"`

	// Evse corresponds to the JSON schema field "evse".
	Evse *EVSEType `json:"evse,omitempty" yaml:"evse,omitempty"`

	// RequestedMessage corresponds to the JSON schema field "requestedMessage".
	RequestedMessage MessageTriggerEnumType_1 `json:"requestedMessage" yaml:"requestedMessage"`
}

func (*TriggerMessageRequestJson) UnmarshalJSON

func (j *TriggerMessageRequestJson) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL