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 UnlockConnectorRequestJson ¶
type UnlockConnectorRequestJson struct { // This contains the identifier of the connector that needs to be unlocked. // ConnectorId int `json:"connectorId" yaml:"connectorId"` // CustomData corresponds to the JSON schema field "customData". CustomData *CustomDataType `json:"customData,omitempty" yaml:"customData,omitempty"` // This contains the identifier of the EVSE for which a connector needs to be // unlocked. // EvseId int `json:"evseId" yaml:"evseId"` }
func (*UnlockConnectorRequestJson) UnmarshalJSON ¶
func (j *UnlockConnectorRequestJson) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.