GetMonitoringReportRequest

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 ComponentType

type ComponentType 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"`

	// Name of instance in case the component exists as multiple instances. Case
	// Insensitive. strongly advised to use Camel Case.
	//
	Instance *string `json:"instance,omitempty" yaml:"instance,omitempty"`

	// 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.
	//
	Name string `json:"name" yaml:"name"`
}

A physical or logical component

func (*ComponentType) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

type ComponentVariableType

type ComponentVariableType struct {
	// Component corresponds to the JSON schema field "component".
	Component ComponentType `json:"component" yaml:"component"`

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

	// Variable corresponds to the JSON schema field "variable".
	Variable *VariableType `json:"variable,omitempty" yaml:"variable,omitempty"`
}

Class to report components, variables and variable attributes and characteristics.

func (*ComponentVariableType) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

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 GetMonitoringReportRequestJson

type GetMonitoringReportRequestJson struct {
	// ComponentVariable corresponds to the JSON schema field "componentVariable".
	ComponentVariable []ComponentVariableType `json:"componentVariable,omitempty" yaml:"componentVariable,omitempty"`

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

	// This field contains criteria for components for which a monitoring report is
	// requested
	//
	MonitoringCriteria []MonitoringCriterionEnumType_1 `json:"monitoringCriteria,omitempty" yaml:"monitoringCriteria,omitempty"`

	// The Id of the request.
	//
	RequestId int `json:"requestId" yaml:"requestId"`
}

func (*GetMonitoringReportRequestJson) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

type MonitoringCriterionEnumType

type MonitoringCriterionEnumType string
const MonitoringCriterionEnumTypeDeltaMonitoring MonitoringCriterionEnumType = "DeltaMonitoring"
const MonitoringCriterionEnumTypePeriodicMonitoring MonitoringCriterionEnumType = "PeriodicMonitoring"
const MonitoringCriterionEnumTypeThresholdMonitoring MonitoringCriterionEnumType = "ThresholdMonitoring"

func (*MonitoringCriterionEnumType) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

type MonitoringCriterionEnumType_1

type MonitoringCriterionEnumType_1 string
const MonitoringCriterionEnumType_1_DeltaMonitoring MonitoringCriterionEnumType_1 = "DeltaMonitoring"
const MonitoringCriterionEnumType_1_PeriodicMonitoring MonitoringCriterionEnumType_1 = "PeriodicMonitoring"
const MonitoringCriterionEnumType_1_ThresholdMonitoring MonitoringCriterionEnumType_1 = "ThresholdMonitoring"

func (*MonitoringCriterionEnumType_1) UnmarshalJSON

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

UnmarshalJSON implements json.Unmarshaler.

type VariableType

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

	// Name of instance in case the variable exists as multiple instances. Case
	// Insensitive. strongly advised to use Camel Case.
	//
	Instance *string `json:"instance,omitempty" yaml:"instance,omitempty"`

	// 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.
	//
	Name string `json:"name" yaml:"name"`
}

Reference key to a component-variable.

func (*VariableType) UnmarshalJSON

func (j *VariableType) 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