You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// EVSE represents the Electric Vehicle Supply Equipment, formerly referred to as connector(s).
329
+
typeEVSEstruct {
330
+
IDint`json:"id" validate:"gte=0"`// The EVSE Identifier. When 0, the ID references the Charging Station as a whole.
331
+
ConnectorID*int`json:"connectorId,omitempty" validate:"omitempty,gte=0"`// An id to designate a specific connector (on an EVSE) by connector index number.
332
+
}
333
+
334
+
// Component represents a physical or logical component.
335
+
typeComponentstruct {
336
+
Namestring`json:"name" validate:"required,max=50"`// Name of the component. Name should be taken from the list of standardized component names whenever possible. Case Insensitive. strongly advised to use Camel Case.
337
+
Instancestring`json:"instance,omitempty" validate:"omitempty,max=50"`// Name of instance in case the component exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
338
+
EVSE*EVSE`json:"evse,omitempty" validate:"omitempty"`// Specifies the EVSE when component is located at EVSE level, also specifies the connector when component is located at Connector level.
339
+
}
340
+
341
+
// Variable is a reference key to a component-variable.
342
+
typeVariablestruct {
343
+
Namestring`json:"name" validate:"required,max=50"`// Name of the variable. Name should be taken from the list of standardized variable names whenever possible. Case Insensitive. strongly advised to use Camel Case.
344
+
Instancestring`json:"instance,omitempty" validate:"omitempty,max=50"`// Name of instance in case the variable exists as multiple instances. Case Insensitive. strongly advised to use Camel Case.
345
+
}
346
+
347
+
// ComponentVariable is used to report components, variables and variable attributes and characteristics.
348
+
typeComponentVariablestruct {
349
+
ComponentComponent`json:"component" validate:"required"`// Component for which a report of Variable is requested.
350
+
VariableVariable`json:"variable" validate:"required"`// Variable for which report is requested.
0 commit comments