Documentation
¶
Overview ¶
Package ieee20305 is the resource model of IEEE 2030.5 (Smart Energy Profile 2.0): every type of the IEEE 2030.5-2023 schema (sep.xsd, schema version 2.2), generated from the official schema with XML tags that preserve its namespace, element order, optionality and cardinality.
The generated files (*_gen.go) are not edited by hand; see generate.go. They provide:
- a Go type for every schema type: structs that embed their base type, pointers for optional elements and attributes, slices for repeated elements, and named scalar types such as UInt32, String32 and the hexadecimal HexBinary160;
- Validate methods that check the facets and cardinalities of the schema and report a *ValidationError;
- Get methods that return the schema default of an absent value, such as DeviceCapability.GetPollRate;
- the document elements: ElementName and NewElement;
- the resource table of the IEEE 2030.5 WADL: Resources and LookupResource.
Marshal, Unmarshal and Decode encode and decode documents. Elements a schema admits without declaring (xs:any) are kept as ExtensionElements.
Entry points:
- package csipaus: the CSIP-AUS (Australia) profile.
- package client: an IEEE 2030.5 client for a utility server.
- package server: an IEEE 2030.5 server as an http.Handler.
- package security: mutual TLS, LFDI/SFDI derivation, certificate chain validation.
- package schedule: primacy-based event scheduling and the active/superseded/cancelled state machine.
- package discovery: DNS-SD service discovery for IEEE 2030.5 servers.
Index ¶
- Constants
- Variables
- func Decode(data []byte) (any, error)
- func ElementName(v any) (xml.Name, bool)
- func Marshal(v any) ([]byte, error)
- func NewElement(name xml.Name) any
- func Unmarshal(data []byte, v any) error
- type AbstractDevice
- type AccountBalance
- type AccountBalanceLink
- type AccountingUnit
- type AccumulationBehaviourType
- type ActiveBillingPeriodListLink
- type ActiveCreditRegisterListLink
- type ActiveDERControlListLink
- type ActiveEndDeviceControlListLink
- type ActiveFlowReservationListLink
- type ActivePower
- type ActivePowerControlType
- type ActivePowerDeltaControlType
- type ActiveProjectionReadingListLink
- type ActiveSupplyInterruptionOverrideListLink
- type ActiveTargetReadingListLink
- type ActiveTextMessageListLink
- type ActiveTimeTariffIntervalListLink
- type AggregatedDevice
- type AggregatedDeviceList
- type AggregatedDeviceListLink
- type AggregationDistributionType
- type AggregationPriority
- type AggregationPriorityLink
- type AmpereHour
- type AnyResource
- type ApparentPower
- type ApplianceLoadReduction
- type ApplianceLoadReductionType
- type AppliedTargetReduction
- type AssociatedDERProgramListLink
- type AssociatedUsagePointLink
- type BillingMeterReadingBase
- type BillingPeriod
- type BillingPeriodList
- type BillingPeriodListLink
- type BillingReading
- type BillingReadingList
- type BillingReadingListLink
- type BillingReadingSet
- type BillingReadingSetList
- type BillingReadingSetListLink
- type Charge
- type ChargeKind
- type CommodityType
- type Condition
- type Configuration
- type ConfigurationLink
- type Conformance
- type ConnectStatusType
- type ConnectStatusType2
- type ConsumptionBlockType
- type ConsumptionTariffInterval
- type ConsumptionTariffIntervalList
- type ConsumptionTariffIntervalListLink
- type CostKindType
- type CountryType
- type CreditRegister
- type CreditRegisterList
- type CreditRegisterListLink
- type CreditStatusType
- type CreditTypeChange
- type CreditTypeType
- type CurrencyCode
- type CurrentDERControls
- type CurrentDERControlsLink
- type CurrentDERProgramLink
- type CurrentRMS
- type CurveData
- type CustomerAccount
- type CustomerAccountLink
- type CustomerAccountList
- type CustomerAccountListLink
- type CustomerAgreement
- type CustomerAgreementList
- type CustomerAgreementListLink
- type DER
- type DERAvailability
- type DERAvailabilityLink
- type DERCapability
- type DERCapabilityLink
- type DERComponent
- type DERComponentBase
- type DERComponentList
- type DERComponentListLink
- type DERControl
- type DERControlBase
- type DERControlList
- type DERControlListLink
- type DERControlResponse
- type DERControlType
- type DERControlType2
- type DERCurve
- type DERCurveControlType
- type DERCurveLink
- type DERCurveList
- type DERCurveListLink
- type DERCurveType
- type DERLink
- type DERList
- type DERListLink
- type DERProgram
- type DERProgramLink
- type DERProgramList
- type DERProgramListLink
- type DERSettings
- type DERSettingsLink
- type DERStatus
- type DERStatusLink
- type DERType
- type DERUnitRefType
- type DRLCCapabilities
- type DataQualifierType
- type DateTimeInterval
- type DefaultDERControl
- type DefaultDERControlLink
- type DefaultDERControlResponse
- type DefaultDERControlType
- type DeltaBidirectionalType
- type DemandResponseProgram
- type DemandResponseProgramLink
- type DemandResponseProgramList
- type DemandResponseProgramListLink
- type DeviceCapability
- type DeviceCapabilityLink
- type DeviceCategoryType
- type DeviceInformation
- type DeviceInformationLink
- type DeviceStatus
- type DeviceStatusLink
- type DrResponse
- type DstRuleType
- type DutyCycle
- type EndDevice
- type EndDeviceControl
- type EndDeviceControlList
- type EndDeviceControlListLink
- type EndDeviceLink
- type EndDeviceList
- type EndDeviceListLink
- type EnvironmentalCost
- type Error
- type Event
- type EventStatus
- type ExtensionElement
- type ExternalDevice
- type File
- type FileLink
- type FileList
- type FileListLink
- type FileStatus
- type FileStatusLink
- type FixedPointType
- type FixedVar
- type FixedVarControlType
- type FlowDirectionType
- type FlowReservationRequest
- type FlowReservationRequestList
- type FlowReservationRequestListLink
- type FlowReservationResponse
- type FlowReservationResponseList
- type FlowReservationResponseListLink
- type FlowReservationResponseResponse
- type FreqDroopType
- type FunctionSetAssignments
- type FunctionSetAssignmentsBase
- type FunctionSetAssignmentsList
- type FunctionSetAssignmentsListLink
- type GPSLocationType
- type GeographicLocationType
- type HexBinary8
- type HexBinary16
- type HexBinary32
- type HexBinary48
- type HexBinary64
- type HexBinary128
- type HexBinary160
- type HistoricalReading
- type HistoricalReadingList
- type HistoricalReadingListLink
- type IEEE_802_15_4
- type IPAddr
- type IPAddrList
- type IPAddrListLink
- type IPInterface
- type IPInterfaceList
- type IPInterfaceListLink
- type IdentifiedObject
- type Int8
- type Int16
- type Int32
- type Int48
- type Int64
- type InverterStatusType
- type KindType
- type LLInterface
- type LLInterfaceList
- type LLInterfaceListLink
- type Link
- type List
- type ListLink
- type LoWPAN
- type LoadShedAvailability
- type LoadShedAvailabilityList
- type LoadShedAvailabilityListLink
- type LocalControlModeStatusType
- type LocaleType
- type LogEvent
- type LogEventList
- type LogEventListLink
- type MRIDType
- type ManufacturerStatusType
- type MessagingProgram
- type MessagingProgramList
- type MessagingProgramListLink
- type MeterReading
- type MeterReadingBase
- type MeterReadingLink
- type MeterReadingList
- type MeterReadingListLink
- type MethodSpec
- type MirrorMeterReading
- type MirrorMeterReadingList
- type MirrorReadingSet
- type MirrorUsagePoint
- type MirrorUsagePointList
- type MirrorUsagePointListLink
- type Neighbor
- type NeighborList
- type NeighborListLink
- type Notification
- type NotificationList
- type NotificationListLink
- type Offset
- type OneHourRangeType
- type OperationalModeStatusType
- type PENType
- type PEVInfo
- type PINType
- type PerCent
- type PerCentControlType
- type PhaseCode
- type PowerConfiguration
- type PowerFactor
- type PowerFactorWithExcitation
- type PowerFactorWithExcitationControlType
- type PowerOfTenMultiplierType
- type PowerSourceType
- type PowerStatus
- type PowerStatusLink
- type PrepayModeType
- type PrepayOperationStatus
- type PrepayOperationStatusLink
- type Prepayment
- type PrepaymentLink
- type PrepaymentList
- type PrepaymentListLink
- type PriceResponse
- type PriceResponseCfg
- type PriceResponseCfgList
- type PriceResponseCfgListLink
- type PrimacyType
- type PriorityData
- type PriorityType
- type Profile
- type ProjectionReading
- type ProjectionReadingList
- type ProjectionReadingListLink
- type ProxiedDevice
- type ProxiedDeviceList
- type ProxiedDeviceListLink
- type RPLInstance
- type RPLInstanceList
- type RPLInstanceListLink
- type RPLSourceRoutes
- type RPLSourceRoutesList
- type RPLSourceRoutesListLink
- type RandomizableEvent
- type RateComponent
- type RateComponentLink
- type RateComponentList
- type RateComponentListLink
- type ReactivePower
- type ReactivePowerControlType
- type ReactivePowerDeltaControlType
- type ReactiveSusceptance
- type Reading
- type ReadingBase
- type ReadingLink
- type ReadingList
- type ReadingListLink
- type ReadingSet
- type ReadingSetBase
- type ReadingSetList
- type ReadingSetListLink
- type ReadingType
- func (v *ReadingType) GetAccumulationBehaviour() AccumulationBehaviourType
- func (v *ReadingType) GetCommodity() CommodityType
- func (v *ReadingType) GetDataQualifier() DataQualifierType
- func (v *ReadingType) GetFlowDirection() FlowDirectionType
- func (v *ReadingType) GetKind() KindType
- func (v *ReadingType) GetNumberOfConsumptionBlocks() UInt8
- func (v *ReadingType) GetNumberOfTouTiers() UInt8
- func (v *ReadingType) GetPhase() PhaseCode
- func (v *ReadingType) GetPowerOfTenMultiplier() PowerOfTenMultiplierType
- func (v *ReadingType) GetTieredConsumptionBlocks() bool
- func (v *ReadingType) GetUom() UomType
- func (v *ReadingType) Validate() error
- type ReadingTypeLink
- type RealEnergy
- type Registration
- type RegistrationLink
- type RequestStatus
- type Resource
- type ResourceSpec
- type RespondableIdentifiedObject
- type RespondableResource
- type RespondableSubscribableIdentifiedObject
- type Response
- type ResponseList
- type ResponseListLink
- type ResponseSet
- type ResponseSetList
- type ResponseSetListLink
- type Revision2_3Type
- type RoleFlagsType
- type SEPVersion
- type SFDIType
- type SelfDevice
- type SelfDeviceLink
- type ServiceChange
- type ServiceKind
- type ServiceStatusType
- type ServiceSupplier
- type ServiceSupplierLink
- type SetPoint
- type SignedPerCent
- type SignedPerCentControlType
- type SignedRealEnergy
- type StateOfChargeStatusType
- type StatusError
- type StorageModeStatusType
- type String2
- type String3
- type String6
- type String16
- type String20
- type String32
- type String42
- type String192
- type SubdivisionType
- type SubscribableIdentifiedObject
- type SubscribableList
- type SubscribableResource
- type SubscribableType
- type Subscription
- type SubscriptionBase
- type SubscriptionList
- type SubscriptionListLink
- type SupplyInterruptionOverride
- type SupplyInterruptionOverrideList
- type SupplyInterruptionOverrideListLink
- type SupportedLocale
- type SupportedLocaleList
- type SupportedLocaleListLink
- type TOUType
- type TargetReading
- type TargetReadingList
- type TargetReadingListLink
- type TargetReduction
- type TariffProfile
- type TariffProfileLink
- type TariffProfileList
- type TariffProfileListLink
- type Temperature
- type TextMessage
- type TextMessageList
- type TextMessageListLink
- type TextResponse
- type Time
- type TimeConfiguration
- type TimeLink
- type TimeOffsetType
- type TimeTariffInterval
- type TimeTariffIntervalList
- type TimeTariffIntervalListLink
- type TimeType
- type UInt8
- type UInt16
- type UInt32
- type UInt40
- type UInt48
- type UInt64
- type UnitType
- type UnitValueType
- type UnsignedActivePower
- type UnsignedActivePowerControlType
- type UnsignedFixedPointType
- type UnsignedFixedVar
- type UnsignedFixedVarControlType
- type UnsignedReactivePower
- type UnsignedReactivePowerControlType
- type UomType
- type UsagePoint
- type UsagePointBase
- type UsagePointLink
- type UsagePointList
- type UsagePointListLink
- type ValidationError
- type Version
- type VersionType
- type VoltageRMS
- type VoltageRMSControlType
- type WattHour
Constants ¶
const Namespace = "urn:ieee:std:2030.5:ns"
Namespace is the XML namespace of the types in this package.
const SchemaVersion = "2.2"
SchemaVersion is the version of the schema the types in this package are generated from, written as the schemaVer attribute of documents.
Variables ¶
var ( ErrBadRequest = errors.New("ieee20305: bad request") ErrForbidden = errors.New("ieee20305: forbidden") ErrNotFound = errors.New("ieee20305: not found") )
Categories of failure reported by an IEEE 2030.5 server. An *Error matches the one for its HTTP status through errors.Is.
Test for these with errors.Is, and for the types with errors.As; the text of an error is for people and may change.
var ( // ErrInvalid is matched by every *ValidationError: a resource or // a message does not satisfy the schema. ErrInvalid = errors.New("ieee20305: invalid") // ErrConfiguration is matched by what a constructor of this module // returns for a configuration it cannot work with. ErrConfiguration = errors.New("ieee20305: invalid configuration") // ErrTimeout is matched by a call that ran out of time: the // deadline of its context, the timeout of the HTTP client, or a // network timeout below them. ErrTimeout = errors.New("ieee20305: timeout") // ErrProtocol is matched by an answer that is not what the // protocol says it is: a body that cannot be decoded, one that is // too large, or a response that violates the XML schema. The peer // acted on the request. ErrProtocol = errors.New("ieee20305: protocol error") // ErrClosed is matched by the use of something after it was closed. ErrClosed = errors.New("ieee20305: closed") // ErrCertificate is matched by a failure in certificate validation, // LFDI/SFDI derivation, or mutual TLS setup. ErrCertificate = errors.New("ieee20305: certificate error") // ErrSchedule is matched by a conflict in event scheduling: an // overlap that cannot be resolved, a primacy conflict, or a // randomization that falls outside allowed bounds. ErrSchedule = errors.New("ieee20305: schedule conflict") )
Categories of failure that are not an answer from a server.
var Resources = []ResourceSpec{}/* 135 elements not displayed */
Resources lists the resources of the IEEE 2030.5 WADL, sorted by ID.
Functions ¶
func Decode ¶
Decode decodes an IEEE 2030.5 XML document of any document type and returns a pointer to it, such as *EndDevice. An error in the document matches ErrProtocol.
func ElementName ¶
ElementName returns the name of the document element of v, which must be a pointer to or a value of a document type of this package.
func Marshal ¶
Marshal encodes v, a document type such as *EndDevice or *DERControlList, as an IEEE 2030.5 XML document with schemaVer set to SchemaVersion.
func NewElement ¶
NewElement returns a pointer to a new value of the document type with the given element name, or nil if this package has none.
Types ¶
type AbstractDevice ¶
type AbstractDevice struct {
SubscribableResource
AggregatedDeviceListLink *AggregatedDeviceListLink `xml:"urn:ieee:std:2030.5:ns AggregatedDeviceListLink,omitempty"`
AggregationPriorityLink *AggregationPriorityLink `xml:"urn:ieee:std:2030.5:ns AggregationPriorityLink,omitempty"`
ConfigurationLink *ConfigurationLink `xml:"urn:ieee:std:2030.5:ns ConfigurationLink,omitempty"`
DERListLink *DERListLink `xml:"urn:ieee:std:2030.5:ns DERListLink,omitempty"`
DeviceCategory *DeviceCategoryType `xml:"urn:ieee:std:2030.5:ns deviceCategory,omitempty"`
DeviceInformationLink *DeviceInformationLink `xml:"urn:ieee:std:2030.5:ns DeviceInformationLink,omitempty"`
DeviceStatusLink *DeviceStatusLink `xml:"urn:ieee:std:2030.5:ns DeviceStatusLink,omitempty"`
Distribution *AggregationDistributionType `xml:"urn:ieee:std:2030.5:ns distribution,omitempty"`
FileStatusLink *FileStatusLink `xml:"urn:ieee:std:2030.5:ns FileStatusLink,omitempty"`
IPInterfaceListLink *IPInterfaceListLink `xml:"urn:ieee:std:2030.5:ns IPInterfaceListLink,omitempty"`
LFDI *HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI,omitempty"`
LoadShedAvailabilityListLink *LoadShedAvailabilityListLink `xml:"urn:ieee:std:2030.5:ns LoadShedAvailabilityListLink,omitempty"`
LogEventListLink *LogEventListLink `xml:"urn:ieee:std:2030.5:ns LogEventListLink,omitempty"`
Phase *PhaseCode `xml:"urn:ieee:std:2030.5:ns phase,omitempty"`
PowerStatusLink *PowerStatusLink `xml:"urn:ieee:std:2030.5:ns PowerStatusLink,omitempty"`
SFDI SFDIType `xml:"urn:ieee:std:2030.5:ns sFDI"`
AbstractDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AbstractDevice_r2_3,omitempty"`
}
AbstractDevice is generated from the XML Schema type AbstractDevice in namespace urn:ieee:std:2030.5:ns.
func (*AbstractDevice) Validate ¶
func (v *AbstractDevice) Validate() error
Validate reports the first constraint of the schema that v violates.
type AccountBalance ¶
type AccountBalance struct {
Resource
AvailableCredit AccountingUnit `xml:"urn:ieee:std:2030.5:ns availableCredit"`
CreditStatus *CreditStatusType `xml:"urn:ieee:std:2030.5:ns creditStatus,omitempty"`
EmergencyCredit *AccountingUnit `xml:"urn:ieee:std:2030.5:ns emergencyCredit,omitempty"`
EmergencyCreditStatus *CreditStatusType `xml:"urn:ieee:std:2030.5:ns emergencyCreditStatus,omitempty"`
AccountBalanceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AccountBalance_r2_3,omitempty"`
}
AccountBalance is generated from the XML Schema type AccountBalance in namespace urn:ieee:std:2030.5:ns.
func (*AccountBalance) Validate ¶
func (v *AccountBalance) Validate() error
Validate reports the first constraint of the schema that v violates.
type AccountBalanceLink ¶
type AccountBalanceLink struct {
Link
AccountBalanceLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AccountBalanceLink_r2_3,omitempty"`
}
AccountBalanceLink is generated from the XML Schema type AccountBalanceLink in namespace urn:ieee:std:2030.5:ns.
func (*AccountBalanceLink) Validate ¶
func (v *AccountBalanceLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type AccountingUnit ¶
type AccountingUnit struct {
EnergyUnit *RealEnergy `xml:"urn:ieee:std:2030.5:ns energyUnit,omitempty"`
MonetaryUnit CurrencyCode `xml:"urn:ieee:std:2030.5:ns monetaryUnit"`
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value Int32 `xml:"urn:ieee:std:2030.5:ns value"`
AccountingUnitR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AccountingUnit_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
AccountingUnit is generated from the XML Schema type AccountingUnit in namespace urn:ieee:std:2030.5:ns.
func (*AccountingUnit) Validate ¶
func (v *AccountingUnit) Validate() error
Validate reports the first constraint of the schema that v violates.
type AccumulationBehaviourType ¶
type AccumulationBehaviourType uint8
AccumulationBehaviourType is generated from the XML Schema type AccumulationBehaviourType in namespace urn:ieee:std:2030.5:ns.
type ActiveBillingPeriodListLink ¶
type ActiveBillingPeriodListLink struct {
ListLink
ActiveBillingPeriodListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveBillingPeriodListLink_r2_3,omitempty"`
}
ActiveBillingPeriodListLink is generated from the XML Schema type ActiveBillingPeriodListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveBillingPeriodListLink) Validate ¶
func (v *ActiveBillingPeriodListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveCreditRegisterListLink ¶
type ActiveCreditRegisterListLink struct {
ListLink
ActiveCreditRegisterListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveCreditRegisterListLink_r2_3,omitempty"`
}
ActiveCreditRegisterListLink is generated from the XML Schema type ActiveCreditRegisterListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveCreditRegisterListLink) Validate ¶
func (v *ActiveCreditRegisterListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveDERControlListLink ¶
type ActiveDERControlListLink struct {
ListLink
ActiveDERControlListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveDERControlListLink_r2_3,omitempty"`
}
ActiveDERControlListLink is generated from the XML Schema type ActiveDERControlListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveDERControlListLink) Validate ¶
func (v *ActiveDERControlListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveEndDeviceControlListLink ¶
type ActiveEndDeviceControlListLink struct {
ListLink
ActiveEndDeviceControlListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveEndDeviceControlListLink_r2_3,omitempty"`
}
ActiveEndDeviceControlListLink is generated from the XML Schema type ActiveEndDeviceControlListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveEndDeviceControlListLink) Validate ¶
func (v *ActiveEndDeviceControlListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveFlowReservationListLink ¶
type ActiveFlowReservationListLink struct {
ListLink
ActiveFlowReservationListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveFlowReservationListLink_r2_3,omitempty"`
}
ActiveFlowReservationListLink is generated from the XML Schema type ActiveFlowReservationListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveFlowReservationListLink) Validate ¶
func (v *ActiveFlowReservationListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActivePower ¶
type ActivePower struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value Int16 `xml:"urn:ieee:std:2030.5:ns value"`
ActivePowerR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActivePower_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ActivePower is generated from the XML Schema type ActivePower in namespace urn:ieee:std:2030.5:ns.
func (*ActivePower) Validate ¶
func (v *ActivePower) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActivePowerControlType ¶
type ActivePowerControlType struct {
ActivePower
ActivePowerControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActivePowerControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
ActivePowerControlType is generated from the XML Schema type ActivePowerControlType in namespace urn:ieee:std:2030.5:ns.
func (*ActivePowerControlType) GetDisabled ¶
func (v *ActivePowerControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*ActivePowerControlType) Validate ¶
func (v *ActivePowerControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActivePowerDeltaControlType ¶
type ActivePowerDeltaControlType struct {
ActivePower
ActivePowerDeltaControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActivePowerDeltaControlType_r2_3,omitempty"`
Bidirectional *DeltaBidirectionalType `xml:"bidirectional,attr,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
ActivePowerDeltaControlType is generated from the XML Schema type ActivePowerDeltaControlType in namespace urn:ieee:std:2030.5:ns.
func (*ActivePowerDeltaControlType) GetBidirectional ¶
func (v *ActivePowerDeltaControlType) GetBidirectional() DeltaBidirectionalType
GetBidirectional returns Bidirectional, or its schema default 0 when it is absent.
func (*ActivePowerDeltaControlType) GetDisabled ¶
func (v *ActivePowerDeltaControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*ActivePowerDeltaControlType) Validate ¶
func (v *ActivePowerDeltaControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveProjectionReadingListLink ¶
type ActiveProjectionReadingListLink struct {
ListLink
ActiveProjectionReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveProjectionReadingListLink_r2_3,omitempty"`
}
ActiveProjectionReadingListLink is generated from the XML Schema type ActiveProjectionReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveProjectionReadingListLink) Validate ¶
func (v *ActiveProjectionReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveSupplyInterruptionOverrideListLink ¶
type ActiveSupplyInterruptionOverrideListLink struct {
ListLink
ActiveSupplyInterruptionOverrideListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveSupplyInterruptionOverrideListLink_r2_3,omitempty"`
}
ActiveSupplyInterruptionOverrideListLink is generated from the XML Schema type ActiveSupplyInterruptionOverrideListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveSupplyInterruptionOverrideListLink) Validate ¶
func (v *ActiveSupplyInterruptionOverrideListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveTargetReadingListLink ¶
type ActiveTargetReadingListLink struct {
ListLink
ActiveTargetReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveTargetReadingListLink_r2_3,omitempty"`
}
ActiveTargetReadingListLink is generated from the XML Schema type ActiveTargetReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveTargetReadingListLink) Validate ¶
func (v *ActiveTargetReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveTextMessageListLink ¶
type ActiveTextMessageListLink struct {
ListLink
ActiveTextMessageListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveTextMessageListLink_r2_3,omitempty"`
}
ActiveTextMessageListLink is generated from the XML Schema type ActiveTextMessageListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveTextMessageListLink) Validate ¶
func (v *ActiveTextMessageListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ActiveTimeTariffIntervalListLink ¶
type ActiveTimeTariffIntervalListLink struct {
ListLink
ActiveTimeTariffIntervalListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ActiveTimeTariffIntervalListLink_r2_3,omitempty"`
}
ActiveTimeTariffIntervalListLink is generated from the XML Schema type ActiveTimeTariffIntervalListLink in namespace urn:ieee:std:2030.5:ns.
func (*ActiveTimeTariffIntervalListLink) Validate ¶
func (v *ActiveTimeTariffIntervalListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type AggregatedDevice ¶
type AggregatedDevice struct {
Resource
ChangedTime TimeType `xml:"urn:ieee:std:2030.5:ns changedTime"`
DeviceCategory *DeviceCategoryType `xml:"urn:ieee:std:2030.5:ns deviceCategory,omitempty"`
Enabled *bool `xml:"urn:ieee:std:2030.5:ns enabled,omitempty"`
LFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI"`
SFDI SFDIType `xml:"urn:ieee:std:2030.5:ns sFDI"`
AggregatedDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AggregatedDevice_r2_3,omitempty"`
}
AggregatedDevice is generated from the XML Schema type AggregatedDevice in namespace urn:ieee:std:2030.5:ns.
func (*AggregatedDevice) Validate ¶
func (v *AggregatedDevice) Validate() error
Validate reports the first constraint of the schema that v violates.
type AggregatedDeviceList ¶
type AggregatedDeviceList struct {
SubscribableList
AggregatedDevice []AggregatedDevice `xml:"urn:ieee:std:2030.5:ns AggregatedDevice,omitempty"`
AggregatedDeviceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AggregatedDeviceList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
AggregatedDeviceList is generated from the XML Schema type AggregatedDeviceList in namespace urn:ieee:std:2030.5:ns.
func (*AggregatedDeviceList) GetPollRate ¶
func (v *AggregatedDeviceList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*AggregatedDeviceList) Validate ¶
func (v *AggregatedDeviceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type AggregatedDeviceListLink ¶
type AggregatedDeviceListLink struct {
ListLink
AggregatedDeviceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AggregatedDeviceListLink_r2_3,omitempty"`
}
AggregatedDeviceListLink is generated from the XML Schema type AggregatedDeviceListLink in namespace urn:ieee:std:2030.5:ns.
func (*AggregatedDeviceListLink) Validate ¶
func (v *AggregatedDeviceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type AggregationDistributionType ¶
type AggregationDistributionType uint8
AggregationDistributionType is generated from the XML Schema type AggregationDistributionType in namespace urn:ieee:std:2030.5:ns.
type AggregationPriority ¶
type AggregationPriority struct {
IdentifiedObject
PriorityData []PriorityData `xml:"urn:ieee:std:2030.5:ns PriorityData,omitempty"`
AggregationPriorityR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AggregationPriority_r2_3,omitempty"`
}
AggregationPriority is generated from the XML Schema type AggregationPriority in namespace urn:ieee:std:2030.5:ns.
func (*AggregationPriority) Validate ¶
func (v *AggregationPriority) Validate() error
Validate reports the first constraint of the schema that v violates.
type AggregationPriorityLink ¶
type AggregationPriorityLink struct {
Link
AggregationPriorityLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AggregationPriorityLink_r2_3,omitempty"`
}
AggregationPriorityLink is generated from the XML Schema type AggregationPriorityLink in namespace urn:ieee:std:2030.5:ns.
func (*AggregationPriorityLink) Validate ¶
func (v *AggregationPriorityLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type AmpereHour ¶
type AmpereHour struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
AmpereHourR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AmpereHour_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
AmpereHour is generated from the XML Schema type AmpereHour in namespace urn:ieee:std:2030.5:ns.
func (*AmpereHour) Validate ¶
func (v *AmpereHour) Validate() error
Validate reports the first constraint of the schema that v violates.
type AnyResource ¶
type AnyResource struct {
Value any
}
AnyResource is a Resource element whose xsi:type may name any type derived from Resource. Value is a pointer to the generated type, such as *Resource.
func (AnyResource) MarshalXML ¶
func (a AnyResource) MarshalXML(e *xml.Encoder, start xml.StartElement) error
MarshalXML encodes Value with an xsi:type attribute naming its type.
func (*AnyResource) UnmarshalXML ¶
func (a *AnyResource) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
UnmarshalXML decodes the element into a new value of the type its xsi:type names, or of Resource without one. A namespace prefix in the xsi:type value is ignored.
type ApparentPower ¶
type ApparentPower struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
ApparentPowerR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ApparentPower_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ApparentPower is generated from the XML Schema type ApparentPower in namespace urn:ieee:std:2030.5:ns.
func (*ApparentPower) Validate ¶
func (v *ApparentPower) Validate() error
Validate reports the first constraint of the schema that v violates.
type ApplianceLoadReduction ¶
type ApplianceLoadReduction struct {
Type ApplianceLoadReductionType `xml:"urn:ieee:std:2030.5:ns type"`
ApplianceLoadReductionR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ApplianceLoadReduction_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ApplianceLoadReduction is generated from the XML Schema type ApplianceLoadReduction in namespace urn:ieee:std:2030.5:ns.
func (*ApplianceLoadReduction) Validate ¶
func (v *ApplianceLoadReduction) Validate() error
Validate reports the first constraint of the schema that v violates.
type ApplianceLoadReductionType ¶
type ApplianceLoadReductionType uint8
ApplianceLoadReductionType is generated from the XML Schema type ApplianceLoadReductionType in namespace urn:ieee:std:2030.5:ns.
type AppliedTargetReduction ¶
type AppliedTargetReduction struct {
Type UnitType `xml:"urn:ieee:std:2030.5:ns type"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
AppliedTargetReductionR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AppliedTargetReduction_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
AppliedTargetReduction is generated from the XML Schema type AppliedTargetReduction in namespace urn:ieee:std:2030.5:ns.
func (*AppliedTargetReduction) Validate ¶
func (v *AppliedTargetReduction) Validate() error
Validate reports the first constraint of the schema that v violates.
type AssociatedDERProgramListLink ¶
type AssociatedDERProgramListLink struct {
ListLink
AssociatedDERProgramListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AssociatedDERProgramListLink_r2_3,omitempty"`
}
AssociatedDERProgramListLink is generated from the XML Schema type AssociatedDERProgramListLink in namespace urn:ieee:std:2030.5:ns.
func (*AssociatedDERProgramListLink) Validate ¶
func (v *AssociatedDERProgramListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type AssociatedUsagePointLink ¶
type AssociatedUsagePointLink struct {
Link
AssociatedUsagePointLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns AssociatedUsagePointLink_r2_3,omitempty"`
}
AssociatedUsagePointLink is generated from the XML Schema type AssociatedUsagePointLink in namespace urn:ieee:std:2030.5:ns.
func (*AssociatedUsagePointLink) Validate ¶
func (v *AssociatedUsagePointLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingMeterReadingBase ¶
type BillingMeterReadingBase struct {
MeterReadingBase
BillingReadingSetListLink *BillingReadingSetListLink `xml:"urn:ieee:std:2030.5:ns BillingReadingSetListLink,omitempty"`
ReadingTypeLink *ReadingTypeLink `xml:"urn:ieee:std:2030.5:ns ReadingTypeLink,omitempty"`
BillingMeterReadingBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingMeterReadingBase_r2_3,omitempty"`
}
BillingMeterReadingBase is generated from the XML Schema type BillingMeterReadingBase in namespace urn:ieee:std:2030.5:ns.
func (*BillingMeterReadingBase) Validate ¶
func (v *BillingMeterReadingBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingPeriod ¶
type BillingPeriod struct {
Resource
BillLastPeriod *Int48 `xml:"urn:ieee:std:2030.5:ns billLastPeriod,omitempty"`
BillToDate *Int48 `xml:"urn:ieee:std:2030.5:ns billToDate,omitempty"`
Interval DateTimeInterval `xml:"urn:ieee:std:2030.5:ns interval"`
StatusTimeStamp *TimeType `xml:"urn:ieee:std:2030.5:ns statusTimeStamp,omitempty"`
BillingPeriodR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingPeriod_r2_3,omitempty"`
}
BillingPeriod is generated from the XML Schema type BillingPeriod in namespace urn:ieee:std:2030.5:ns.
func (*BillingPeriod) Validate ¶
func (v *BillingPeriod) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingPeriodList ¶
type BillingPeriodList struct {
SubscribableList
BillingPeriod []BillingPeriod `xml:"urn:ieee:std:2030.5:ns BillingPeriod,omitempty"`
BillingPeriodListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingPeriodList_r2_3,omitempty"`
}
BillingPeriodList is generated from the XML Schema type BillingPeriodList in namespace urn:ieee:std:2030.5:ns.
func (*BillingPeriodList) Validate ¶
func (v *BillingPeriodList) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingPeriodListLink ¶
type BillingPeriodListLink struct {
ListLink
BillingPeriodListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingPeriodListLink_r2_3,omitempty"`
}
BillingPeriodListLink is generated from the XML Schema type BillingPeriodListLink in namespace urn:ieee:std:2030.5:ns.
func (*BillingPeriodListLink) Validate ¶
func (v *BillingPeriodListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReading ¶
type BillingReading struct {
ReadingBase
Charge []Charge `xml:"urn:ieee:std:2030.5:ns Charge,omitempty"`
BillingReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReading_r2_3,omitempty"`
}
BillingReading is generated from the XML Schema type BillingReading in namespace urn:ieee:std:2030.5:ns.
func (*BillingReading) Validate ¶
func (v *BillingReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReadingList ¶
type BillingReadingList struct {
List
BillingReading []BillingReading `xml:"urn:ieee:std:2030.5:ns BillingReading,omitempty"`
BillingReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReadingList_r2_3,omitempty"`
}
BillingReadingList is generated from the XML Schema type BillingReadingList in namespace urn:ieee:std:2030.5:ns.
func (*BillingReadingList) Validate ¶
func (v *BillingReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReadingListLink ¶
type BillingReadingListLink struct {
ListLink
BillingReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReadingListLink_r2_3,omitempty"`
}
BillingReadingListLink is generated from the XML Schema type BillingReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*BillingReadingListLink) Validate ¶
func (v *BillingReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReadingSet ¶
type BillingReadingSet struct {
ReadingSetBase
BillingReadingListLink *BillingReadingListLink `xml:"urn:ieee:std:2030.5:ns BillingReadingListLink,omitempty"`
BillingReadingSetR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReadingSet_r2_3,omitempty"`
}
BillingReadingSet is generated from the XML Schema type BillingReadingSet in namespace urn:ieee:std:2030.5:ns.
func (*BillingReadingSet) Validate ¶
func (v *BillingReadingSet) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReadingSetList ¶
type BillingReadingSetList struct {
SubscribableList
BillingReadingSet []BillingReadingSet `xml:"urn:ieee:std:2030.5:ns BillingReadingSet,omitempty"`
BillingReadingSetListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReadingSetList_r2_3,omitempty"`
}
BillingReadingSetList is generated from the XML Schema type BillingReadingSetList in namespace urn:ieee:std:2030.5:ns.
func (*BillingReadingSetList) Validate ¶
func (v *BillingReadingSetList) Validate() error
Validate reports the first constraint of the schema that v violates.
type BillingReadingSetListLink ¶
type BillingReadingSetListLink struct {
ListLink
BillingReadingSetListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns BillingReadingSetListLink_r2_3,omitempty"`
}
BillingReadingSetListLink is generated from the XML Schema type BillingReadingSetListLink in namespace urn:ieee:std:2030.5:ns.
func (*BillingReadingSetListLink) Validate ¶
func (v *BillingReadingSetListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Charge ¶
type Charge struct {
Description *String20 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Kind *ChargeKind `xml:"urn:ieee:std:2030.5:ns kind,omitempty"`
Value Int32 `xml:"urn:ieee:std:2030.5:ns value"`
ChargeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Charge_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
Charge is generated from the XML Schema type Charge in namespace urn:ieee:std:2030.5:ns.
type ChargeKind ¶
type ChargeKind uint8
ChargeKind is generated from the XML Schema type ChargeKind in namespace urn:ieee:std:2030.5:ns.
type CommodityType ¶
type CommodityType uint8
CommodityType is generated from the XML Schema type CommodityType in namespace urn:ieee:std:2030.5:ns.
type Condition ¶
type Condition struct {
AttributeIdentifier UInt8 `xml:"urn:ieee:std:2030.5:ns attributeIdentifier"`
LowerThreshold Int48 `xml:"urn:ieee:std:2030.5:ns lowerThreshold"`
UpperThreshold Int48 `xml:"urn:ieee:std:2030.5:ns upperThreshold"`
ConditionR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Condition_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
Condition is generated from the XML Schema type Condition in namespace urn:ieee:std:2030.5:ns.
type Configuration ¶
type Configuration struct {
SubscribableResource
CurrentLocale LocaleType `xml:"urn:ieee:std:2030.5:ns currentLocale"`
PowerConfiguration *PowerConfiguration `xml:"urn:ieee:std:2030.5:ns PowerConfiguration,omitempty"`
PriceResponseCfgListLink *PriceResponseCfgListLink `xml:"urn:ieee:std:2030.5:ns PriceResponseCfgListLink,omitempty"`
TimeConfiguration *TimeConfiguration `xml:"urn:ieee:std:2030.5:ns TimeConfiguration,omitempty"`
UserDeviceName String32 `xml:"urn:ieee:std:2030.5:ns userDeviceName"`
ConfigurationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Configuration_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
Configuration is generated from the XML Schema type Configuration in namespace urn:ieee:std:2030.5:ns.
func (*Configuration) GetPollRate ¶
func (v *Configuration) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*Configuration) Validate ¶
func (v *Configuration) Validate() error
Validate reports the first constraint of the schema that v violates.
type ConfigurationLink ¶
type ConfigurationLink struct {
Link
ConfigurationLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConfigurationLink_r2_3,omitempty"`
}
ConfigurationLink is generated from the XML Schema type ConfigurationLink in namespace urn:ieee:std:2030.5:ns.
func (*ConfigurationLink) Validate ¶
func (v *ConfigurationLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Conformance ¶
type Conformance uint8
Conformance is the support IEEE 2030.5 requires of a server for a method on a resource (the wx:mode of the WADL).
const ( // ConformanceMandatory: the server supports the method. ConformanceMandatory Conformance = iota + 1 // ConformanceOptional: the server may support the method. ConformanceOptional // ConformanceDiscouraged: the server should not support the method. ConformanceDiscouraged // ConformanceError: the server answers the method with an error. ConformanceError )
Conformance levels.
type ConnectStatusType ¶
type ConnectStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value HexBinary8 `xml:"urn:ieee:std:2030.5:ns value"`
ConnectStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConnectStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ConnectStatusType is generated from the XML Schema type ConnectStatusType in namespace urn:ieee:std:2030.5:ns.
func (*ConnectStatusType) Validate ¶
func (v *ConnectStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ConnectStatusType2 ¶
type ConnectStatusType2 struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value HexBinary8 `xml:"urn:ieee:std:2030.5:ns value"`
ConnectStatusType2R2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConnectStatusType2_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ConnectStatusType2 is generated from the XML Schema type ConnectStatusType2 in namespace urn:ieee:std:2030.5:ns.
func (*ConnectStatusType2) Validate ¶
func (v *ConnectStatusType2) Validate() error
Validate reports the first constraint of the schema that v violates.
type ConsumptionBlockType ¶
type ConsumptionBlockType uint8
ConsumptionBlockType is generated from the XML Schema type ConsumptionBlockType in namespace urn:ieee:std:2030.5:ns.
type ConsumptionTariffInterval ¶
type ConsumptionTariffInterval struct {
Resource
ConsumptionBlock ConsumptionBlockType `xml:"urn:ieee:std:2030.5:ns consumptionBlock"`
EnvironmentalCost []EnvironmentalCost `xml:"urn:ieee:std:2030.5:ns EnvironmentalCost,omitempty"`
Price *Int32 `xml:"urn:ieee:std:2030.5:ns price,omitempty"`
StartValue UInt48 `xml:"urn:ieee:std:2030.5:ns startValue"`
ConsumptionTariffIntervalR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConsumptionTariffInterval_r2_3,omitempty"`
}
ConsumptionTariffInterval is generated from the XML Schema type ConsumptionTariffInterval in namespace urn:ieee:std:2030.5:ns.
func (*ConsumptionTariffInterval) Validate ¶
func (v *ConsumptionTariffInterval) Validate() error
Validate reports the first constraint of the schema that v violates.
type ConsumptionTariffIntervalList ¶
type ConsumptionTariffIntervalList struct {
List
ConsumptionTariffInterval []ConsumptionTariffInterval `xml:"urn:ieee:std:2030.5:ns ConsumptionTariffInterval,omitempty"`
ConsumptionTariffIntervalListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConsumptionTariffIntervalList_r2_3,omitempty"`
}
ConsumptionTariffIntervalList is generated from the XML Schema type ConsumptionTariffIntervalList in namespace urn:ieee:std:2030.5:ns.
func (*ConsumptionTariffIntervalList) Validate ¶
func (v *ConsumptionTariffIntervalList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ConsumptionTariffIntervalListLink ¶
type ConsumptionTariffIntervalListLink struct {
ListLink
ConsumptionTariffIntervalListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ConsumptionTariffIntervalListLink_r2_3,omitempty"`
}
ConsumptionTariffIntervalListLink is generated from the XML Schema type ConsumptionTariffIntervalListLink in namespace urn:ieee:std:2030.5:ns.
func (*ConsumptionTariffIntervalListLink) Validate ¶
func (v *ConsumptionTariffIntervalListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CostKindType ¶
type CostKindType uint8
CostKindType is generated from the XML Schema type CostKindType in namespace urn:ieee:std:2030.5:ns.
type CountryType ¶
type CountryType string
CountryType is generated from the XML Schema type CountryType in namespace urn:ieee:std:2030.5:ns.
func (CountryType) Validate ¶
func (v CountryType) Validate() error
Validate reports whether v violates a facet of CountryType.
type CreditRegister ¶
type CreditRegister struct {
IdentifiedObject
CreditAmount AccountingUnit `xml:"urn:ieee:std:2030.5:ns creditAmount"`
CreditType *CreditTypeType `xml:"urn:ieee:std:2030.5:ns creditType,omitempty"`
EffectiveTime TimeType `xml:"urn:ieee:std:2030.5:ns effectiveTime"`
Token String32 `xml:"urn:ieee:std:2030.5:ns token"`
CreditRegisterR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CreditRegister_r2_3,omitempty"`
}
CreditRegister is generated from the XML Schema type CreditRegister in namespace urn:ieee:std:2030.5:ns.
func (*CreditRegister) Validate ¶
func (v *CreditRegister) Validate() error
Validate reports the first constraint of the schema that v violates.
type CreditRegisterList ¶
type CreditRegisterList struct {
List
CreditRegister []CreditRegister `xml:"urn:ieee:std:2030.5:ns CreditRegister,omitempty"`
CreditRegisterListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CreditRegisterList_r2_3,omitempty"`
}
CreditRegisterList is generated from the XML Schema type CreditRegisterList in namespace urn:ieee:std:2030.5:ns.
func (*CreditRegisterList) Validate ¶
func (v *CreditRegisterList) Validate() error
Validate reports the first constraint of the schema that v violates.
type CreditRegisterListLink ¶
type CreditRegisterListLink struct {
ListLink
CreditRegisterListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CreditRegisterListLink_r2_3,omitempty"`
}
CreditRegisterListLink is generated from the XML Schema type CreditRegisterListLink in namespace urn:ieee:std:2030.5:ns.
func (*CreditRegisterListLink) Validate ¶
func (v *CreditRegisterListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CreditStatusType ¶
type CreditStatusType uint8
CreditStatusType is generated from the XML Schema type CreditStatusType in namespace urn:ieee:std:2030.5:ns.
type CreditTypeChange ¶
type CreditTypeChange struct {
NewType CreditTypeType `xml:"urn:ieee:std:2030.5:ns newType"`
StartTime TimeType `xml:"urn:ieee:std:2030.5:ns startTime"`
CreditTypeChangeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CreditTypeChange_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
CreditTypeChange is generated from the XML Schema type CreditTypeChange in namespace urn:ieee:std:2030.5:ns.
func (*CreditTypeChange) Validate ¶
func (v *CreditTypeChange) Validate() error
Validate reports the first constraint of the schema that v violates.
type CreditTypeType ¶
type CreditTypeType uint8
CreditTypeType is generated from the XML Schema type CreditTypeType in namespace urn:ieee:std:2030.5:ns.
type CurrencyCode ¶
type CurrencyCode uint16
CurrencyCode is generated from the XML Schema type CurrencyCode in namespace urn:ieee:std:2030.5:ns.
type CurrentDERControls ¶
type CurrentDERControls struct {
SubscribableResource
OpModConnect *bool `xml:"urn:ieee:std:2030.5:ns opModConnect,omitempty"`
OpModDeltaVar *ReactivePowerDeltaControlType `xml:"urn:ieee:std:2030.5:ns opModDeltaVar,omitempty"`
OpModDeltaW *ActivePowerDeltaControlType `xml:"urn:ieee:std:2030.5:ns opModDeltaW,omitempty"`
OpModEnergize *bool `xml:"urn:ieee:std:2030.5:ns opModEnergize,omitempty"`
OpModFixedPFAbsorbW *PowerFactorWithExcitationControlType `xml:"urn:ieee:std:2030.5:ns opModFixedPFAbsorbW,omitempty"`
OpModFixedPFInjectW *PowerFactorWithExcitationControlType `xml:"urn:ieee:std:2030.5:ns opModFixedPFInjectW,omitempty"`
OpModFixedV *SignedPerCentControlType `xml:"urn:ieee:std:2030.5:ns opModFixedV,omitempty"`
OpModFixedVar *FixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModFixedVar,omitempty"`
OpModFixedW *SignedPerCentControlType `xml:"urn:ieee:std:2030.5:ns opModFixedW,omitempty"`
OpModFreqDroop *FreqDroopType `xml:"urn:ieee:std:2030.5:ns opModFreqDroop,omitempty"`
OpModFreqWatt *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModFreqWatt,omitempty"`
OpModGridConnectPermit *bool `xml:"urn:ieee:std:2030.5:ns opModGridConnectPermit,omitempty"`
OpModHFRTMayTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModHFRTMayTrip,omitempty"`
OpModHFRTMustTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModHFRTMustTrip,omitempty"`
OpModHVRTMayTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModHVRTMayTrip,omitempty"`
OpModHVRTMomentaryCessation *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModHVRTMomentaryCessation,omitempty"`
OpModHVRTMustTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModHVRTMustTrip,omitempty"`
OpModIslandPermit *bool `xml:"urn:ieee:std:2030.5:ns opModIslandPermit,omitempty"`
OpModLFRTMayTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModLFRTMayTrip,omitempty"`
OpModLFRTMustTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModLFRTMustTrip,omitempty"`
OpModLVRTMayTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModLVRTMayTrip,omitempty"`
OpModLVRTMomentaryCessation *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModLVRTMomentaryCessation,omitempty"`
OpModLVRTMustTrip *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModLVRTMustTrip,omitempty"`
OpModMaxLimPctVAAbsorb *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVAAbsorb,omitempty"`
OpModMaxLimPctVAInject *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVAInject,omitempty"`
OpModMaxLimPctVarAbsorb *UnsignedFixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVarAbsorb,omitempty"`
OpModMaxLimPctVarInject *UnsignedFixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVarInject,omitempty"`
OpModMaxLimPctWAbsorb *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctWAbsorb,omitempty"`
OpModMaxLimVarAbsorb *UnsignedReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimVarAbsorb,omitempty"`
OpModMaxLimVarInject *UnsignedReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimVarInject,omitempty"`
OpModMaxLimW *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimW,omitempty"`
OpModMaxLimWAbsorb *UnsignedActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimWAbsorb,omitempty"`
OpModMaxLimWInject *UnsignedActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimWInject,omitempty"`
OpModTargetV *VoltageRMSControlType `xml:"urn:ieee:std:2030.5:ns opModTargetV,omitempty"`
OpModTargetVar *ReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModTargetVar,omitempty"`
OpModTargetW *ActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModTargetW,omitempty"`
OpModVoltVar *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModVoltVar,omitempty"`
OpModVoltWatt *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModVoltWatt,omitempty"`
OpModWattPF *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModWattPF,omitempty"`
OpModWattVar *DERCurveControlType `xml:"urn:ieee:std:2030.5:ns opModWattVar,omitempty"`
UpdatedTime TimeType `xml:"urn:ieee:std:2030.5:ns updatedTime"`
CurrentDERControlsR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CurrentDERControls_r2_3,omitempty"`
}
CurrentDERControls is generated from the XML Schema type CurrentDERControls in namespace urn:ieee:std:2030.5:ns.
func (*CurrentDERControls) Validate ¶
func (v *CurrentDERControls) Validate() error
Validate reports the first constraint of the schema that v violates.
type CurrentDERControlsLink ¶
type CurrentDERControlsLink struct {
Link
CurrentDERControlsLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CurrentDERControlsLink_r2_3,omitempty"`
}
CurrentDERControlsLink is generated from the XML Schema type CurrentDERControlsLink in namespace urn:ieee:std:2030.5:ns.
func (*CurrentDERControlsLink) Validate ¶
func (v *CurrentDERControlsLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CurrentDERProgramLink ¶
type CurrentDERProgramLink struct {
Link
CurrentDERProgramLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CurrentDERProgramLink_r2_3,omitempty"`
}
CurrentDERProgramLink is generated from the XML Schema type CurrentDERProgramLink in namespace urn:ieee:std:2030.5:ns.
func (*CurrentDERProgramLink) Validate ¶
func (v *CurrentDERProgramLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CurrentRMS ¶
type CurrentRMS struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
CurrentRMSR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CurrentRMS_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
CurrentRMS is generated from the XML Schema type CurrentRMS in namespace urn:ieee:std:2030.5:ns.
func (*CurrentRMS) Validate ¶
func (v *CurrentRMS) Validate() error
Validate reports the first constraint of the schema that v violates.
type CurveData ¶
type CurveData struct {
Excitation *bool `xml:"urn:ieee:std:2030.5:ns excitation,omitempty"`
Xvalue Int32 `xml:"urn:ieee:std:2030.5:ns xvalue"`
Yvalue Int32 `xml:"urn:ieee:std:2030.5:ns yvalue"`
CurveDataR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CurveData_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
CurveData is generated from the XML Schema type CurveData in namespace urn:ieee:std:2030.5:ns.
type CustomerAccount ¶
type CustomerAccount struct {
IdentifiedObject
Currency UInt16 `xml:"urn:ieee:std:2030.5:ns currency"`
CustomerAccount *String42 `xml:"urn:ieee:std:2030.5:ns customerAccount,omitempty"`
CustomerAgreementListLink *CustomerAgreementListLink `xml:"urn:ieee:std:2030.5:ns CustomerAgreementListLink,omitempty"`
CustomerName *String42 `xml:"urn:ieee:std:2030.5:ns customerName,omitempty"`
PricePowerOfTenMultiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns pricePowerOfTenMultiplier"`
ServiceSupplierLink *ServiceSupplierLink `xml:"urn:ieee:std:2030.5:ns ServiceSupplierLink,omitempty"`
CustomerAccountR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAccount_r2_3,omitempty"`
}
CustomerAccount is generated from the XML Schema type CustomerAccount in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAccount) Validate ¶
func (v *CustomerAccount) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAccountLink ¶
type CustomerAccountLink struct {
Link
CustomerAccountLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAccountLink_r2_3,omitempty"`
}
CustomerAccountLink is generated from the XML Schema type CustomerAccountLink in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAccountLink) Validate ¶
func (v *CustomerAccountLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAccountList ¶
type CustomerAccountList struct {
SubscribableList
CustomerAccount []CustomerAccount `xml:"urn:ieee:std:2030.5:ns CustomerAccount,omitempty"`
CustomerAccountListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAccountList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
CustomerAccountList is generated from the XML Schema type CustomerAccountList in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAccountList) GetPollRate ¶
func (v *CustomerAccountList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*CustomerAccountList) Validate ¶
func (v *CustomerAccountList) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAccountListLink ¶
type CustomerAccountListLink struct {
ListLink
CustomerAccountListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAccountListLink_r2_3,omitempty"`
}
CustomerAccountListLink is generated from the XML Schema type CustomerAccountListLink in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAccountListLink) Validate ¶
func (v *CustomerAccountListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAgreement ¶
type CustomerAgreement struct {
IdentifiedObject
ActiveBillingPeriodListLink *ActiveBillingPeriodListLink `xml:"urn:ieee:std:2030.5:ns ActiveBillingPeriodListLink,omitempty"`
ActiveProjectionReadingListLink *ActiveProjectionReadingListLink `xml:"urn:ieee:std:2030.5:ns ActiveProjectionReadingListLink,omitempty"`
ActiveTargetReadingListLink *ActiveTargetReadingListLink `xml:"urn:ieee:std:2030.5:ns ActiveTargetReadingListLink,omitempty"`
BillingPeriodListLink *BillingPeriodListLink `xml:"urn:ieee:std:2030.5:ns BillingPeriodListLink,omitempty"`
HistoricalReadingListLink *HistoricalReadingListLink `xml:"urn:ieee:std:2030.5:ns HistoricalReadingListLink,omitempty"`
PrepaymentLink *PrepaymentLink `xml:"urn:ieee:std:2030.5:ns PrepaymentLink,omitempty"`
ProjectionReadingListLink *ProjectionReadingListLink `xml:"urn:ieee:std:2030.5:ns ProjectionReadingListLink,omitempty"`
ServiceAccount *String42 `xml:"urn:ieee:std:2030.5:ns serviceAccount,omitempty"`
ServiceLocation *String42 `xml:"urn:ieee:std:2030.5:ns serviceLocation,omitempty"`
TargetReadingListLink *TargetReadingListLink `xml:"urn:ieee:std:2030.5:ns TargetReadingListLink,omitempty"`
TariffProfileLink *TariffProfileLink `xml:"urn:ieee:std:2030.5:ns TariffProfileLink,omitempty"`
UsagePointLink *UsagePointLink `xml:"urn:ieee:std:2030.5:ns UsagePointLink,omitempty"`
CustomerAgreementR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAgreement_r2_3,omitempty"`
}
CustomerAgreement is generated from the XML Schema type CustomerAgreement in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAgreement) Validate ¶
func (v *CustomerAgreement) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAgreementList ¶
type CustomerAgreementList struct {
SubscribableList
CustomerAgreement []CustomerAgreement `xml:"urn:ieee:std:2030.5:ns CustomerAgreement,omitempty"`
CustomerAgreementListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAgreementList_r2_3,omitempty"`
}
CustomerAgreementList is generated from the XML Schema type CustomerAgreementList in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAgreementList) Validate ¶
func (v *CustomerAgreementList) Validate() error
Validate reports the first constraint of the schema that v violates.
type CustomerAgreementListLink ¶
type CustomerAgreementListLink struct {
ListLink
CustomerAgreementListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns CustomerAgreementListLink_r2_3,omitempty"`
}
CustomerAgreementListLink is generated from the XML Schema type CustomerAgreementListLink in namespace urn:ieee:std:2030.5:ns.
func (*CustomerAgreementListLink) Validate ¶
func (v *CustomerAgreementListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DER ¶
type DER struct {
SubscribableResource
AssociatedDERProgramListLink *AssociatedDERProgramListLink `xml:"urn:ieee:std:2030.5:ns AssociatedDERProgramListLink,omitempty"`
AssociatedUsagePointLink *AssociatedUsagePointLink `xml:"urn:ieee:std:2030.5:ns AssociatedUsagePointLink,omitempty"`
CurrentDERControlsLink *CurrentDERControlsLink `xml:"urn:ieee:std:2030.5:ns CurrentDERControlsLink,omitempty"`
CurrentDERProgramLink *CurrentDERProgramLink `xml:"urn:ieee:std:2030.5:ns CurrentDERProgramLink,omitempty"`
DERAvailabilityLink *DERAvailabilityLink `xml:"urn:ieee:std:2030.5:ns DERAvailabilityLink,omitempty"`
DERCapabilityLink *DERCapabilityLink `xml:"urn:ieee:std:2030.5:ns DERCapabilityLink,omitempty"`
DERComponentListLink *DERComponentListLink `xml:"urn:ieee:std:2030.5:ns DERComponentListLink,omitempty"`
DERSettingsLink *DERSettingsLink `xml:"urn:ieee:std:2030.5:ns DERSettingsLink,omitempty"`
DERStatusLink *DERStatusLink `xml:"urn:ieee:std:2030.5:ns DERStatusLink,omitempty"`
DERR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DER_r2_3,omitempty"`
}
DER is generated from the XML Schema type DER in namespace urn:ieee:std:2030.5:ns.
type DERAvailability ¶
type DERAvailability struct {
SubscribableResource
AvailabilityDuration *UInt32 `xml:"urn:ieee:std:2030.5:ns availabilityDuration,omitempty"`
MaxChargeDuration *UInt32 `xml:"urn:ieee:std:2030.5:ns maxChargeDuration,omitempty"`
ReadingTime TimeType `xml:"urn:ieee:std:2030.5:ns readingTime"`
ReserveChargePercent *PerCent `xml:"urn:ieee:std:2030.5:ns reserveChargePercent,omitempty"`
ReservePercent *PerCent `xml:"urn:ieee:std:2030.5:ns reservePercent,omitempty"`
StatVarAbsorbAvail *UnsignedReactivePower `xml:"urn:ieee:std:2030.5:ns statVarAbsorbAvail,omitempty"`
StatVarAvail *ReactivePower `xml:"urn:ieee:std:2030.5:ns statVarAvail,omitempty"`
StatWAbsorbAvail *UnsignedActivePower `xml:"urn:ieee:std:2030.5:ns statWAbsorbAvail,omitempty"`
StatWAvail *ActivePower `xml:"urn:ieee:std:2030.5:ns statWAvail,omitempty"`
DERAvailabilityR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERAvailability_r2_3,omitempty"`
}
DERAvailability is generated from the XML Schema type DERAvailability in namespace urn:ieee:std:2030.5:ns.
func (*DERAvailability) Validate ¶
func (v *DERAvailability) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERAvailabilityLink ¶
type DERAvailabilityLink struct {
Link
DERAvailabilityLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERAvailabilityLink_r2_3,omitempty"`
}
DERAvailabilityLink is generated from the XML Schema type DERAvailabilityLink in namespace urn:ieee:std:2030.5:ns.
func (*DERAvailabilityLink) Validate ¶
func (v *DERAvailabilityLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCapability ¶
type DERCapability struct {
Resource
ModesSupported DERControlType `xml:"urn:ieee:std:2030.5:ns modesSupported"`
ModesSupported2 *DERControlType2 `xml:"urn:ieee:std:2030.5:ns modesSupported2,omitempty"`
RtgAbnormalCategory *UInt8 `xml:"urn:ieee:std:2030.5:ns rtgAbnormalCategory,omitempty"`
RtgMaxA *CurrentRMS `xml:"urn:ieee:std:2030.5:ns rtgMaxA,omitempty"`
RtgMaxAh *AmpereHour `xml:"urn:ieee:std:2030.5:ns rtgMaxAh,omitempty"`
RtgMaxChargeRateVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns rtgMaxChargeRateVA,omitempty"`
RtgMaxChargeRateW *ActivePower `xml:"urn:ieee:std:2030.5:ns rtgMaxChargeRateW,omitempty"`
RtgMaxDischargeRateVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns rtgMaxDischargeRateVA,omitempty"`
RtgMaxDischargeRateW *ActivePower `xml:"urn:ieee:std:2030.5:ns rtgMaxDischargeRateW,omitempty"`
RtgMaxV *VoltageRMS `xml:"urn:ieee:std:2030.5:ns rtgMaxV,omitempty"`
RtgMaxVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns rtgMaxVA,omitempty"`
RtgMaxVar *ReactivePower `xml:"urn:ieee:std:2030.5:ns rtgMaxVar,omitempty"`
RtgMaxVarNeg *ReactivePower `xml:"urn:ieee:std:2030.5:ns rtgMaxVarNeg,omitempty"`
RtgMaxW ActivePower `xml:"urn:ieee:std:2030.5:ns rtgMaxW"`
RtgMaxWh *WattHour `xml:"urn:ieee:std:2030.5:ns rtgMaxWh,omitempty"`
RtgMinPFOverExcited *PowerFactor `xml:"urn:ieee:std:2030.5:ns rtgMinPFOverExcited,omitempty"`
RtgMinPFUnderExcited *PowerFactor `xml:"urn:ieee:std:2030.5:ns rtgMinPFUnderExcited,omitempty"`
RtgMinV *VoltageRMS `xml:"urn:ieee:std:2030.5:ns rtgMinV,omitempty"`
RtgNormalCategory *UInt8 `xml:"urn:ieee:std:2030.5:ns rtgNormalCategory,omitempty"`
RtgOverExcitedPF *PowerFactor `xml:"urn:ieee:std:2030.5:ns rtgOverExcitedPF,omitempty"`
RtgOverExcitedW *ActivePower `xml:"urn:ieee:std:2030.5:ns rtgOverExcitedW,omitempty"`
RtgReactiveSusceptance *ReactiveSusceptance `xml:"urn:ieee:std:2030.5:ns rtgReactiveSusceptance,omitempty"`
RtgUnderExcitedPF *PowerFactor `xml:"urn:ieee:std:2030.5:ns rtgUnderExcitedPF,omitempty"`
RtgUnderExcitedW *ActivePower `xml:"urn:ieee:std:2030.5:ns rtgUnderExcitedW,omitempty"`
RtgVNom *VoltageRMS `xml:"urn:ieee:std:2030.5:ns rtgVNom,omitempty"`
Type DERType `xml:"urn:ieee:std:2030.5:ns type"`
DERCapabilityR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCapability_r2_3,omitempty"`
}
DERCapability is generated from the XML Schema type DERCapability in namespace urn:ieee:std:2030.5:ns.
func (*DERCapability) Validate ¶
func (v *DERCapability) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCapabilityLink ¶
type DERCapabilityLink struct {
Link
DERCapabilityLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCapabilityLink_r2_3,omitempty"`
}
DERCapabilityLink is generated from the XML Schema type DERCapabilityLink in namespace urn:ieee:std:2030.5:ns.
func (*DERCapabilityLink) Validate ¶
func (v *DERCapabilityLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERComponent ¶
type DERComponent struct {
DERComponentBase
LFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI"`
DERComponentR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERComponent_r2_3,omitempty"`
}
DERComponent is generated from the XML Schema type DERComponent in namespace urn:ieee:std:2030.5:ns.
func (*DERComponent) Validate ¶
func (v *DERComponent) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERComponentBase ¶
type DERComponentBase struct {
SubscribableResource
AssociatedUsagePointLink *AssociatedUsagePointLink `xml:"urn:ieee:std:2030.5:ns AssociatedUsagePointLink,omitempty"`
DERAvailabilityLink *DERAvailabilityLink `xml:"urn:ieee:std:2030.5:ns DERAvailabilityLink,omitempty"`
DERCapabilityLink *DERCapabilityLink `xml:"urn:ieee:std:2030.5:ns DERCapabilityLink,omitempty"`
DERSettingsLink *DERSettingsLink `xml:"urn:ieee:std:2030.5:ns DERSettingsLink,omitempty"`
DERStatusLink *DERStatusLink `xml:"urn:ieee:std:2030.5:ns DERStatusLink,omitempty"`
DERComponentBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERComponentBase_r2_3,omitempty"`
}
DERComponentBase is generated from the XML Schema type DERComponentBase in namespace urn:ieee:std:2030.5:ns.
func (*DERComponentBase) Validate ¶
func (v *DERComponentBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERComponentList ¶
type DERComponentList struct {
List
DERComponent []DERComponent `xml:"urn:ieee:std:2030.5:ns DERComponent,omitempty"`
DERComponentListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERComponentList_r2_3,omitempty"`
}
DERComponentList is generated from the XML Schema type DERComponentList in namespace urn:ieee:std:2030.5:ns.
func (*DERComponentList) Validate ¶
func (v *DERComponentList) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERComponentListLink ¶
type DERComponentListLink struct {
ListLink
DERComponentListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERComponentListLink_r2_3,omitempty"`
}
DERComponentListLink is generated from the XML Schema type DERComponentListLink in namespace urn:ieee:std:2030.5:ns.
func (*DERComponentListLink) Validate ¶
func (v *DERComponentListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControl ¶
type DERControl struct {
RandomizableEvent
DERControlBase DERControlBase `xml:"urn:ieee:std:2030.5:ns DERControlBase"`
DeviceCategory *DeviceCategoryType `xml:"urn:ieee:std:2030.5:ns deviceCategory,omitempty"`
DERControlR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERControl_r2_3,omitempty"`
}
DERControl is generated from the XML Schema type DERControl in namespace urn:ieee:std:2030.5:ns.
func (*DERControl) Validate ¶
func (v *DERControl) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControlBase ¶
type DERControlBase struct {
OpModConnect *bool `xml:"urn:ieee:std:2030.5:ns opModConnect,omitempty"`
OpModDeltaVar *ReactivePowerDeltaControlType `xml:"urn:ieee:std:2030.5:ns opModDeltaVar,omitempty"`
OpModDeltaW *ActivePowerDeltaControlType `xml:"urn:ieee:std:2030.5:ns opModDeltaW,omitempty"`
OpModEnergize *bool `xml:"urn:ieee:std:2030.5:ns opModEnergize,omitempty"`
OpModFixedPFAbsorbW *PowerFactorWithExcitationControlType `xml:"urn:ieee:std:2030.5:ns opModFixedPFAbsorbW,omitempty"`
OpModFixedPFInjectW *PowerFactorWithExcitationControlType `xml:"urn:ieee:std:2030.5:ns opModFixedPFInjectW,omitempty"`
OpModFixedV *SignedPerCentControlType `xml:"urn:ieee:std:2030.5:ns opModFixedV,omitempty"`
OpModFixedVar *FixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModFixedVar,omitempty"`
OpModFixedW *SignedPerCentControlType `xml:"urn:ieee:std:2030.5:ns opModFixedW,omitempty"`
OpModFreqDroop *FreqDroopType `xml:"urn:ieee:std:2030.5:ns opModFreqDroop,omitempty"`
OpModFreqWatt *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModFreqWatt,omitempty"`
OpModGridConnectPermit *bool `xml:"urn:ieee:std:2030.5:ns opModGridConnectPermit,omitempty"`
OpModHFRTMayTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModHFRTMayTrip,omitempty"`
OpModHFRTMustTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModHFRTMustTrip,omitempty"`
OpModHVRTMayTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModHVRTMayTrip,omitempty"`
OpModHVRTMomentaryCessation *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModHVRTMomentaryCessation,omitempty"`
OpModHVRTMustTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModHVRTMustTrip,omitempty"`
OpModIslandPermit *bool `xml:"urn:ieee:std:2030.5:ns opModIslandPermit,omitempty"`
OpModLFRTMayTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModLFRTMayTrip,omitempty"`
OpModLFRTMustTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModLFRTMustTrip,omitempty"`
OpModLVRTMayTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModLVRTMayTrip,omitempty"`
OpModLVRTMomentaryCessation *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModLVRTMomentaryCessation,omitempty"`
OpModLVRTMustTrip *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModLVRTMustTrip,omitempty"`
OpModMaxLimPctVAAbsorb *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVAAbsorb,omitempty"`
OpModMaxLimPctVAInject *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVAInject,omitempty"`
OpModMaxLimPctVarAbsorb *UnsignedFixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVarAbsorb,omitempty"`
OpModMaxLimPctVarInject *UnsignedFixedVarControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctVarInject,omitempty"`
OpModMaxLimPctWAbsorb *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimPctWAbsorb,omitempty"`
OpModMaxLimVarAbsorb *UnsignedReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimVarAbsorb,omitempty"`
OpModMaxLimVarInject *UnsignedReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimVarInject,omitempty"`
OpModMaxLimW *PerCentControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimW,omitempty"`
OpModMaxLimWAbsorb *UnsignedActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimWAbsorb,omitempty"`
OpModMaxLimWInject *UnsignedActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModMaxLimWInject,omitempty"`
OpModTargetV *VoltageRMSControlType `xml:"urn:ieee:std:2030.5:ns opModTargetV,omitempty"`
OpModTargetVar *ReactivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModTargetVar,omitempty"`
OpModTargetW *ActivePowerControlType `xml:"urn:ieee:std:2030.5:ns opModTargetW,omitempty"`
OpModVoltVar *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModVoltVar,omitempty"`
OpModVoltWatt *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModVoltWatt,omitempty"`
OpModWattPF *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModWattPF,omitempty"`
OpModWattVar *DERCurveLink `xml:"urn:ieee:std:2030.5:ns opModWattVar,omitempty"`
RampTms *UInt16 `xml:"urn:ieee:std:2030.5:ns rampTms,omitempty"`
DERControlBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERControlBase_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
DERControlBase is generated from the XML Schema type DERControlBase in namespace urn:ieee:std:2030.5:ns.
func (*DERControlBase) Validate ¶
func (v *DERControlBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControlList ¶
type DERControlList struct {
SubscribableList
DERControl []DERControl `xml:"urn:ieee:std:2030.5:ns DERControl,omitempty"`
DERControlListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERControlList_r2_3,omitempty"`
}
DERControlList is generated from the XML Schema type DERControlList in namespace urn:ieee:std:2030.5:ns.
func (*DERControlList) Validate ¶
func (v *DERControlList) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControlListLink ¶
type DERControlListLink struct {
ListLink
DERControlListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERControlListLink_r2_3,omitempty"`
}
DERControlListLink is generated from the XML Schema type DERControlListLink in namespace urn:ieee:std:2030.5:ns.
func (*DERControlListLink) Validate ¶
func (v *DERControlListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControlResponse ¶
type DERControlResponse struct {
Response
ModesResponded *DERControlType `xml:"urn:ieee:std:2030.5:ns modesResponded,omitempty"`
ModesResponded2 *DERControlType2 `xml:"urn:ieee:std:2030.5:ns modesResponded2,omitempty"`
DERControlResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERControlResponse_r2_3,omitempty"`
}
DERControlResponse is generated from the XML Schema type DERControlResponse in namespace urn:ieee:std:2030.5:ns.
func (*DERControlResponse) Validate ¶
func (v *DERControlResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERControlType ¶
type DERControlType []byte
DERControlType is generated from the XML Schema type DERControlType in namespace urn:ieee:std:2030.5:ns.
func (DERControlType) MarshalText ¶
func (v DERControlType) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (DERControlType) String ¶
func (v DERControlType) String() string
String returns v as upper-case hexadecimal.
func (*DERControlType) UnmarshalText ¶
func (v *DERControlType) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (DERControlType) Validate ¶
func (v DERControlType) Validate() error
Validate reports whether v violates a facet of DERControlType.
type DERControlType2 ¶
type DERControlType2 []byte
DERControlType2 is generated from the XML Schema type DERControlType2 in namespace urn:ieee:std:2030.5:ns.
func (DERControlType2) MarshalText ¶
func (v DERControlType2) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (DERControlType2) String ¶
func (v DERControlType2) String() string
String returns v as upper-case hexadecimal.
func (*DERControlType2) UnmarshalText ¶
func (v *DERControlType2) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (DERControlType2) Validate ¶
func (v DERControlType2) Validate() error
Validate reports whether v violates a facet of DERControlType2.
type DERCurve ¶
type DERCurve struct {
IdentifiedObject
AutonomousVRefEnable *bool `xml:"urn:ieee:std:2030.5:ns autonomousVRefEnable,omitempty"`
AutonomousVRefTimeConstant *UInt32 `xml:"urn:ieee:std:2030.5:ns autonomousVRefTimeConstant,omitempty"`
CreationTime TimeType `xml:"urn:ieee:std:2030.5:ns creationTime"`
CurveData []CurveData `xml:"urn:ieee:std:2030.5:ns CurveData,omitempty"`
CurveType DERCurveType `xml:"urn:ieee:std:2030.5:ns curveType"`
OpenLoopTms *UInt16 `xml:"urn:ieee:std:2030.5:ns openLoopTms,omitempty"`
RampDecTms *UInt16 `xml:"urn:ieee:std:2030.5:ns rampDecTms,omitempty"`
RampIncTms *UInt16 `xml:"urn:ieee:std:2030.5:ns rampIncTms,omitempty"`
RampPT1Tms *UInt16 `xml:"urn:ieee:std:2030.5:ns rampPT1Tms,omitempty"`
VRef *PerCent `xml:"urn:ieee:std:2030.5:ns vRef,omitempty"`
XMultiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns xMultiplier"`
YMultiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns yMultiplier"`
YRefType DERUnitRefType `xml:"urn:ieee:std:2030.5:ns yRefType"`
DERCurveR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCurve_r2_3,omitempty"`
}
DERCurve is generated from the XML Schema type DERCurve in namespace urn:ieee:std:2030.5:ns.
func (*DERCurve) GetAutonomousVRefEnable ¶
GetAutonomousVRefEnable returns AutonomousVRefEnable, or its schema default false when it is absent.
type DERCurveControlType ¶
type DERCurveControlType struct {
DERCurve
DERCurveControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCurveControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
DERCurveControlType is generated from the XML Schema type DERCurveControlType in namespace urn:ieee:std:2030.5:ns.
func (*DERCurveControlType) GetDisabled ¶
func (v *DERCurveControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*DERCurveControlType) Validate ¶
func (v *DERCurveControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCurveLink ¶
type DERCurveLink struct {
Link
DERCurveLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCurveLink_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
DERCurveLink is generated from the XML Schema type DERCurveLink in namespace urn:ieee:std:2030.5:ns.
func (*DERCurveLink) GetDisabled ¶
func (v *DERCurveLink) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*DERCurveLink) Validate ¶
func (v *DERCurveLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCurveList ¶
type DERCurveList struct {
List
DERCurve []DERCurve `xml:"urn:ieee:std:2030.5:ns DERCurve,omitempty"`
DERCurveListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCurveList_r2_3,omitempty"`
}
DERCurveList is generated from the XML Schema type DERCurveList in namespace urn:ieee:std:2030.5:ns.
func (*DERCurveList) Validate ¶
func (v *DERCurveList) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCurveListLink ¶
type DERCurveListLink struct {
ListLink
DERCurveListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERCurveListLink_r2_3,omitempty"`
}
DERCurveListLink is generated from the XML Schema type DERCurveListLink in namespace urn:ieee:std:2030.5:ns.
func (*DERCurveListLink) Validate ¶
func (v *DERCurveListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERCurveType ¶
type DERCurveType uint8
DERCurveType is generated from the XML Schema type DERCurveType in namespace urn:ieee:std:2030.5:ns.
type DERLink ¶
type DERLink struct {
Link
DERLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERLink_r2_3,omitempty"`
}
DERLink is generated from the XML Schema type DERLink in namespace urn:ieee:std:2030.5:ns.
type DERList ¶
type DERList struct {
List
DER []DER `xml:"urn:ieee:std:2030.5:ns DER,omitempty"`
DERListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DERList is generated from the XML Schema type DERList in namespace urn:ieee:std:2030.5:ns.
func (*DERList) GetPollRate ¶
GetPollRate returns PollRate, or its schema default 900 when it is absent.
type DERListLink ¶
type DERListLink struct {
ListLink
DERListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERListLink_r2_3,omitempty"`
}
DERListLink is generated from the XML Schema type DERListLink in namespace urn:ieee:std:2030.5:ns.
func (*DERListLink) Validate ¶
func (v *DERListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERProgram ¶
type DERProgram struct {
SubscribableIdentifiedObject
ActiveDERControlListLink *ActiveDERControlListLink `xml:"urn:ieee:std:2030.5:ns ActiveDERControlListLink,omitempty"`
DefaultDERControlLink *DefaultDERControlLink `xml:"urn:ieee:std:2030.5:ns DefaultDERControlLink,omitempty"`
DERControlListLink *DERControlListLink `xml:"urn:ieee:std:2030.5:ns DERControlListLink,omitempty"`
DERCurveListLink *DERCurveListLink `xml:"urn:ieee:std:2030.5:ns DERCurveListLink,omitempty"`
Primacy PrimacyType `xml:"urn:ieee:std:2030.5:ns primacy"`
DERProgramR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERProgram_r2_3,omitempty"`
}
DERProgram is generated from the XML Schema type DERProgram in namespace urn:ieee:std:2030.5:ns.
func (*DERProgram) Validate ¶
func (v *DERProgram) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERProgramLink ¶
type DERProgramLink struct {
Link
DERProgramLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERProgramLink_r2_3,omitempty"`
}
DERProgramLink is generated from the XML Schema type DERProgramLink in namespace urn:ieee:std:2030.5:ns.
func (*DERProgramLink) Validate ¶
func (v *DERProgramLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERProgramList ¶
type DERProgramList struct {
SubscribableList
DERProgram []DERProgram `xml:"urn:ieee:std:2030.5:ns DERProgram,omitempty"`
DERProgramListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERProgramList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DERProgramList is generated from the XML Schema type DERProgramList in namespace urn:ieee:std:2030.5:ns.
func (*DERProgramList) GetPollRate ¶
func (v *DERProgramList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*DERProgramList) Validate ¶
func (v *DERProgramList) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERProgramListLink ¶
type DERProgramListLink struct {
ListLink
DERProgramListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERProgramListLink_r2_3,omitempty"`
}
DERProgramListLink is generated from the XML Schema type DERProgramListLink in namespace urn:ieee:std:2030.5:ns.
func (*DERProgramListLink) Validate ¶
func (v *DERProgramListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERSettings ¶
type DERSettings struct {
SubscribableResource
ModesEnabled *DERControlType `xml:"urn:ieee:std:2030.5:ns modesEnabled,omitempty"`
ModesEnabled2 *DERControlType2 `xml:"urn:ieee:std:2030.5:ns modesEnabled2,omitempty"`
SetESDelay *UInt32 `xml:"urn:ieee:std:2030.5:ns setESDelay,omitempty"`
SetESHighFreq *UInt16 `xml:"urn:ieee:std:2030.5:ns setESHighFreq,omitempty"`
SetESHighVolt *Int16 `xml:"urn:ieee:std:2030.5:ns setESHighVolt,omitempty"`
SetESLowFreq *UInt16 `xml:"urn:ieee:std:2030.5:ns setESLowFreq,omitempty"`
SetESLowVolt *Int16 `xml:"urn:ieee:std:2030.5:ns setESLowVolt,omitempty"`
SetESRampTms *UInt32 `xml:"urn:ieee:std:2030.5:ns setESRampTms,omitempty"`
SetESRandomDelay *UInt32 `xml:"urn:ieee:std:2030.5:ns setESRandomDelay,omitempty"`
SetGradW UInt16 `xml:"urn:ieee:std:2030.5:ns setGradW"`
SetMaxA *CurrentRMS `xml:"urn:ieee:std:2030.5:ns setMaxA,omitempty"`
SetMaxAh *AmpereHour `xml:"urn:ieee:std:2030.5:ns setMaxAh,omitempty"`
SetMaxChargeRateVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns setMaxChargeRateVA,omitempty"`
SetMaxChargeRateW *ActivePower `xml:"urn:ieee:std:2030.5:ns setMaxChargeRateW,omitempty"`
SetMaxDischargeRateVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns setMaxDischargeRateVA,omitempty"`
SetMaxDischargeRateW *ActivePower `xml:"urn:ieee:std:2030.5:ns setMaxDischargeRateW,omitempty"`
SetMaxV *VoltageRMS `xml:"urn:ieee:std:2030.5:ns setMaxV,omitempty"`
SetMaxVA *ApparentPower `xml:"urn:ieee:std:2030.5:ns setMaxVA,omitempty"`
SetMaxVar *ReactivePower `xml:"urn:ieee:std:2030.5:ns setMaxVar,omitempty"`
SetMaxVarNeg *ReactivePower `xml:"urn:ieee:std:2030.5:ns setMaxVarNeg,omitempty"`
SetMaxW ActivePower `xml:"urn:ieee:std:2030.5:ns setMaxW"`
SetMaxWh *WattHour `xml:"urn:ieee:std:2030.5:ns setMaxWh,omitempty"`
SetMinPFOverExcited *PowerFactor `xml:"urn:ieee:std:2030.5:ns setMinPFOverExcited,omitempty"`
SetMinPFUnderExcited *PowerFactor `xml:"urn:ieee:std:2030.5:ns setMinPFUnderExcited,omitempty"`
SetMinV *VoltageRMS `xml:"urn:ieee:std:2030.5:ns setMinV,omitempty"`
SetSoftGradW *UInt16 `xml:"urn:ieee:std:2030.5:ns setSoftGradW,omitempty"`
SetVNom *VoltageRMS `xml:"urn:ieee:std:2030.5:ns setVNom,omitempty"`
SetVRef *VoltageRMS `xml:"urn:ieee:std:2030.5:ns setVRef,omitempty"`
SetVRefOfs *VoltageRMS `xml:"urn:ieee:std:2030.5:ns setVRefOfs,omitempty"`
UpdatedTime TimeType `xml:"urn:ieee:std:2030.5:ns updatedTime"`
DERSettingsR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERSettings_r2_3,omitempty"`
}
DERSettings is generated from the XML Schema type DERSettings in namespace urn:ieee:std:2030.5:ns.
func (*DERSettings) Validate ¶
func (v *DERSettings) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERSettingsLink ¶
type DERSettingsLink struct {
Link
DERSettingsLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERSettingsLink_r2_3,omitempty"`
}
DERSettingsLink is generated from the XML Schema type DERSettingsLink in namespace urn:ieee:std:2030.5:ns.
func (*DERSettingsLink) Validate ¶
func (v *DERSettingsLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERStatus ¶
type DERStatus struct {
SubscribableResource
AlarmStatus *HexBinary32 `xml:"urn:ieee:std:2030.5:ns alarmStatus,omitempty"`
ConnectStatus *ConnectStatusType2 `xml:"urn:ieee:std:2030.5:ns connectStatus,omitempty"`
GenConnectStatus *ConnectStatusType `xml:"urn:ieee:std:2030.5:ns genConnectStatus,omitempty"`
InverterStatus *InverterStatusType `xml:"urn:ieee:std:2030.5:ns inverterStatus,omitempty"`
LocalControlModeStatus *LocalControlModeStatusType `xml:"urn:ieee:std:2030.5:ns localControlModeStatus,omitempty"`
ManufacturerStatus *ManufacturerStatusType `xml:"urn:ieee:std:2030.5:ns manufacturerStatus,omitempty"`
OperationalModeStatus *OperationalModeStatusType `xml:"urn:ieee:std:2030.5:ns operationalModeStatus,omitempty"`
ReadingTime TimeType `xml:"urn:ieee:std:2030.5:ns readingTime"`
StateOfChargeStatus *StateOfChargeStatusType `xml:"urn:ieee:std:2030.5:ns stateOfChargeStatus,omitempty"`
StorageModeStatus *StorageModeStatusType `xml:"urn:ieee:std:2030.5:ns storageModeStatus,omitempty"`
StorConnectStatus *ConnectStatusType `xml:"urn:ieee:std:2030.5:ns storConnectStatus,omitempty"`
DERStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERStatus_r2_3,omitempty"`
}
DERStatus is generated from the XML Schema type DERStatus in namespace urn:ieee:std:2030.5:ns.
type DERStatusLink ¶
type DERStatusLink struct {
Link
DERStatusLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DERStatusLink_r2_3,omitempty"`
}
DERStatusLink is generated from the XML Schema type DERStatusLink in namespace urn:ieee:std:2030.5:ns.
func (*DERStatusLink) Validate ¶
func (v *DERStatusLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DERType ¶
type DERType uint8
DERType is generated from the XML Schema type DERType in namespace urn:ieee:std:2030.5:ns.
type DERUnitRefType ¶
type DERUnitRefType uint8
DERUnitRefType is generated from the XML Schema type DERUnitRefType in namespace urn:ieee:std:2030.5:ns.
type DRLCCapabilities ¶
type DRLCCapabilities struct {
AverageEnergy RealEnergy `xml:"urn:ieee:std:2030.5:ns averageEnergy"`
MaxDemand ActivePower `xml:"urn:ieee:std:2030.5:ns maxDemand"`
OptionsImplemented HexBinary32 `xml:"urn:ieee:std:2030.5:ns optionsImplemented"`
DRLCCapabilitiesR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DRLCCapabilities_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
DRLCCapabilities is generated from the XML Schema type DRLCCapabilities in namespace urn:ieee:std:2030.5:ns.
func (*DRLCCapabilities) Validate ¶
func (v *DRLCCapabilities) Validate() error
Validate reports the first constraint of the schema that v violates.
type DataQualifierType ¶
type DataQualifierType uint8
DataQualifierType is generated from the XML Schema type DataQualifierType in namespace urn:ieee:std:2030.5:ns.
type DateTimeInterval ¶
type DateTimeInterval struct {
Duration UInt32 `xml:"urn:ieee:std:2030.5:ns duration"`
Start TimeType `xml:"urn:ieee:std:2030.5:ns start"`
DateTimeIntervalR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DateTimeInterval_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
DateTimeInterval is generated from the XML Schema type DateTimeInterval in namespace urn:ieee:std:2030.5:ns.
func (*DateTimeInterval) Validate ¶
func (v *DateTimeInterval) Validate() error
Validate reports the first constraint of the schema that v violates.
type DefaultDERControl ¶
type DefaultDERControl struct {
RespondableSubscribableIdentifiedObject
DERControlBase DERControlBase `xml:"urn:ieee:std:2030.5:ns DERControlBase"`
SetESDelay *UInt32 `xml:"urn:ieee:std:2030.5:ns setESDelay,omitempty"`
SetESHighFreq *UInt16 `xml:"urn:ieee:std:2030.5:ns setESHighFreq,omitempty"`
SetESHighVolt *Int16 `xml:"urn:ieee:std:2030.5:ns setESHighVolt,omitempty"`
SetESLowFreq *UInt16 `xml:"urn:ieee:std:2030.5:ns setESLowFreq,omitempty"`
SetESLowVolt *Int16 `xml:"urn:ieee:std:2030.5:ns setESLowVolt,omitempty"`
SetESRampTms *UInt32 `xml:"urn:ieee:std:2030.5:ns setESRampTms,omitempty"`
SetESRandomDelay *UInt32 `xml:"urn:ieee:std:2030.5:ns setESRandomDelay,omitempty"`
SetGradW *UInt16 `xml:"urn:ieee:std:2030.5:ns setGradW,omitempty"`
SetSoftGradW *UInt16 `xml:"urn:ieee:std:2030.5:ns setSoftGradW,omitempty"`
UpdatedTime *TimeType `xml:"urn:ieee:std:2030.5:ns updatedTime,omitempty"`
DefaultDERControlR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DefaultDERControl_r2_3,omitempty"`
}
DefaultDERControl is generated from the XML Schema type DefaultDERControl in namespace urn:ieee:std:2030.5:ns.
func (*DefaultDERControl) Validate ¶
func (v *DefaultDERControl) Validate() error
Validate reports the first constraint of the schema that v violates.
type DefaultDERControlLink ¶
type DefaultDERControlLink struct {
Link
DefaultDERControlLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DefaultDERControlLink_r2_3,omitempty"`
}
DefaultDERControlLink is generated from the XML Schema type DefaultDERControlLink in namespace urn:ieee:std:2030.5:ns.
func (*DefaultDERControlLink) Validate ¶
func (v *DefaultDERControlLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DefaultDERControlResponse ¶
type DefaultDERControlResponse struct {
Response
DefaultsResponded DefaultDERControlType `xml:"urn:ieee:std:2030.5:ns defaultsResponded"`
ModesResponded DERControlType `xml:"urn:ieee:std:2030.5:ns modesResponded"`
ModesResponded2 DERControlType2 `xml:"urn:ieee:std:2030.5:ns modesResponded2"`
DefaultDERControlResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DefaultDERControlResponse_r2_3,omitempty"`
}
DefaultDERControlResponse is generated from the XML Schema type DefaultDERControlResponse in namespace urn:ieee:std:2030.5:ns.
func (*DefaultDERControlResponse) Validate ¶
func (v *DefaultDERControlResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type DefaultDERControlType ¶
type DefaultDERControlType []byte
DefaultDERControlType is generated from the XML Schema type DefaultDERControlType in namespace urn:ieee:std:2030.5:ns.
func (DefaultDERControlType) MarshalText ¶
func (v DefaultDERControlType) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (DefaultDERControlType) String ¶
func (v DefaultDERControlType) String() string
String returns v as upper-case hexadecimal.
func (*DefaultDERControlType) UnmarshalText ¶
func (v *DefaultDERControlType) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (DefaultDERControlType) Validate ¶
func (v DefaultDERControlType) Validate() error
Validate reports whether v violates a facet of DefaultDERControlType.
type DeltaBidirectionalType ¶
type DeltaBidirectionalType uint8
DeltaBidirectionalType is generated from the XML Schema type DeltaBidirectionalType in namespace urn:ieee:std:2030.5:ns.
type DemandResponseProgram ¶
type DemandResponseProgram struct {
IdentifiedObject
ActiveEndDeviceControlListLink *ActiveEndDeviceControlListLink `xml:"urn:ieee:std:2030.5:ns ActiveEndDeviceControlListLink,omitempty"`
AvailabilityUpdatePercentChangeThreshold *PerCent `xml:"urn:ieee:std:2030.5:ns availabilityUpdatePercentChangeThreshold,omitempty"`
AvailabilityUpdatePowerChangeThreshold *ActivePower `xml:"urn:ieee:std:2030.5:ns availabilityUpdatePowerChangeThreshold,omitempty"`
EndDeviceControlListLink *EndDeviceControlListLink `xml:"urn:ieee:std:2030.5:ns EndDeviceControlListLink,omitempty"`
Primacy PrimacyType `xml:"urn:ieee:std:2030.5:ns primacy"`
DemandResponseProgramR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DemandResponseProgram_r2_3,omitempty"`
}
DemandResponseProgram is generated from the XML Schema type DemandResponseProgram in namespace urn:ieee:std:2030.5:ns.
func (*DemandResponseProgram) GetAvailabilityUpdatePercentChangeThreshold ¶
func (v *DemandResponseProgram) GetAvailabilityUpdatePercentChangeThreshold() PerCent
GetAvailabilityUpdatePercentChangeThreshold returns AvailabilityUpdatePercentChangeThreshold, or its schema default 0 when it is absent.
func (*DemandResponseProgram) Validate ¶
func (v *DemandResponseProgram) Validate() error
Validate reports the first constraint of the schema that v violates.
type DemandResponseProgramLink ¶
type DemandResponseProgramLink struct {
Link
DemandResponseProgramLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DemandResponseProgramLink_r2_3,omitempty"`
}
DemandResponseProgramLink is generated from the XML Schema type DemandResponseProgramLink in namespace urn:ieee:std:2030.5:ns.
func (*DemandResponseProgramLink) Validate ¶
func (v *DemandResponseProgramLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DemandResponseProgramList ¶
type DemandResponseProgramList struct {
SubscribableList
DemandResponseProgram []DemandResponseProgram `xml:"urn:ieee:std:2030.5:ns DemandResponseProgram,omitempty"`
DemandResponseProgramListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DemandResponseProgramList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DemandResponseProgramList is generated from the XML Schema type DemandResponseProgramList in namespace urn:ieee:std:2030.5:ns.
func (*DemandResponseProgramList) GetPollRate ¶
func (v *DemandResponseProgramList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*DemandResponseProgramList) Validate ¶
func (v *DemandResponseProgramList) Validate() error
Validate reports the first constraint of the schema that v violates.
type DemandResponseProgramListLink ¶
type DemandResponseProgramListLink struct {
ListLink
DemandResponseProgramListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DemandResponseProgramListLink_r2_3,omitempty"`
}
DemandResponseProgramListLink is generated from the XML Schema type DemandResponseProgramListLink in namespace urn:ieee:std:2030.5:ns.
func (*DemandResponseProgramListLink) Validate ¶
func (v *DemandResponseProgramListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceCapability ¶
type DeviceCapability struct {
FunctionSetAssignmentsBase
EndDeviceListLink *EndDeviceListLink `xml:"urn:ieee:std:2030.5:ns EndDeviceListLink,omitempty"`
MirrorUsagePointListLink *MirrorUsagePointListLink `xml:"urn:ieee:std:2030.5:ns MirrorUsagePointListLink,omitempty"`
SelfDeviceLink *SelfDeviceLink `xml:"urn:ieee:std:2030.5:ns SelfDeviceLink,omitempty"`
DeviceCapabilityR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceCapability_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DeviceCapability is generated from the XML Schema type DeviceCapability in namespace urn:ieee:std:2030.5:ns.
func (*DeviceCapability) GetPollRate ¶
func (v *DeviceCapability) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*DeviceCapability) Validate ¶
func (v *DeviceCapability) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceCapabilityLink ¶
type DeviceCapabilityLink struct {
Link
DeviceCapabilityLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceCapabilityLink_r2_3,omitempty"`
}
DeviceCapabilityLink is generated from the XML Schema type DeviceCapabilityLink in namespace urn:ieee:std:2030.5:ns.
func (*DeviceCapabilityLink) Validate ¶
func (v *DeviceCapabilityLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceCategoryType ¶
type DeviceCategoryType []byte
DeviceCategoryType is generated from the XML Schema type DeviceCategoryType in namespace urn:ieee:std:2030.5:ns.
func (DeviceCategoryType) MarshalText ¶
func (v DeviceCategoryType) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (DeviceCategoryType) String ¶
func (v DeviceCategoryType) String() string
String returns v as upper-case hexadecimal.
func (*DeviceCategoryType) UnmarshalText ¶
func (v *DeviceCategoryType) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (DeviceCategoryType) Validate ¶
func (v DeviceCategoryType) Validate() error
Validate reports whether v violates a facet of DeviceCategoryType.
type DeviceInformation ¶
type DeviceInformation struct {
Resource
ConnectionPointID *String32 `xml:"urn:ieee:std:2030.5:ns connectionPointID,omitempty"`
DRLCCapabilities *DRLCCapabilities `xml:"urn:ieee:std:2030.5:ns DRLCCapabilities,omitempty"`
FunctionsImplemented *HexBinary64 `xml:"urn:ieee:std:2030.5:ns functionsImplemented,omitempty"`
GpsLocation *GPSLocationType `xml:"urn:ieee:std:2030.5:ns gpsLocation,omitempty"`
LFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI"`
MfDate TimeType `xml:"urn:ieee:std:2030.5:ns mfDate"`
MfHwVer String32 `xml:"urn:ieee:std:2030.5:ns mfHwVer"`
MfID PENType `xml:"urn:ieee:std:2030.5:ns mfID"`
MfInfo *String32 `xml:"urn:ieee:std:2030.5:ns mfInfo,omitempty"`
MfModel String32 `xml:"urn:ieee:std:2030.5:ns mfModel"`
MfSerNum String32 `xml:"urn:ieee:std:2030.5:ns mfSerNum"`
PrimaryPower PowerSourceType `xml:"urn:ieee:std:2030.5:ns primaryPower"`
SecondaryPower PowerSourceType `xml:"urn:ieee:std:2030.5:ns secondaryPower"`
SupportedLocaleListLink *SupportedLocaleListLink `xml:"urn:ieee:std:2030.5:ns SupportedLocaleListLink,omitempty"`
SwActTime TimeType `xml:"urn:ieee:std:2030.5:ns swActTime"`
SwVer String32 `xml:"urn:ieee:std:2030.5:ns swVer"`
DeviceInformationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceInformation_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DeviceInformation is generated from the XML Schema type DeviceInformation in namespace urn:ieee:std:2030.5:ns.
func (*DeviceInformation) GetPollRate ¶
func (v *DeviceInformation) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*DeviceInformation) Validate ¶
func (v *DeviceInformation) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceInformationLink ¶
type DeviceInformationLink struct {
Link
DeviceInformationLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceInformationLink_r2_3,omitempty"`
}
DeviceInformationLink is generated from the XML Schema type DeviceInformationLink in namespace urn:ieee:std:2030.5:ns.
func (*DeviceInformationLink) Validate ¶
func (v *DeviceInformationLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceStatus ¶
type DeviceStatus struct {
Resource
ChangedTime TimeType `xml:"urn:ieee:std:2030.5:ns changedTime"`
OnCount *UInt16 `xml:"urn:ieee:std:2030.5:ns onCount,omitempty"`
OpState *UInt8 `xml:"urn:ieee:std:2030.5:ns opState,omitempty"`
OpTime *UInt32 `xml:"urn:ieee:std:2030.5:ns opTime,omitempty"`
Temperature []Temperature `xml:"urn:ieee:std:2030.5:ns Temperature,omitempty"`
TimeLink *TimeLink `xml:"urn:ieee:std:2030.5:ns TimeLink,omitempty"`
DeviceStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceStatus_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
DeviceStatus is generated from the XML Schema type DeviceStatus in namespace urn:ieee:std:2030.5:ns.
func (*DeviceStatus) GetOpState ¶
func (v *DeviceStatus) GetOpState() UInt8
GetOpState returns OpState, or its schema default 0 when it is absent.
func (*DeviceStatus) GetPollRate ¶
func (v *DeviceStatus) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*DeviceStatus) Validate ¶
func (v *DeviceStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type DeviceStatusLink ¶
type DeviceStatusLink struct {
Link
DeviceStatusLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DeviceStatusLink_r2_3,omitempty"`
}
DeviceStatusLink is generated from the XML Schema type DeviceStatusLink in namespace urn:ieee:std:2030.5:ns.
func (*DeviceStatusLink) Validate ¶
func (v *DeviceStatusLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type DrResponse ¶
type DrResponse struct {
Response
ApplianceLoadReduction *ApplianceLoadReduction `xml:"urn:ieee:std:2030.5:ns ApplianceLoadReduction,omitempty"`
AppliedTargetReduction *AppliedTargetReduction `xml:"urn:ieee:std:2030.5:ns AppliedTargetReduction,omitempty"`
DutyCycle *DutyCycle `xml:"urn:ieee:std:2030.5:ns DutyCycle,omitempty"`
Offset *Offset `xml:"urn:ieee:std:2030.5:ns Offset,omitempty"`
OverrideDuration *UInt16 `xml:"urn:ieee:std:2030.5:ns overrideDuration,omitempty"`
SetPoint *SetPoint `xml:"urn:ieee:std:2030.5:ns SetPoint,omitempty"`
DrResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DrResponse_r2_3,omitempty"`
}
DrResponse is generated from the XML Schema type DrResponse in namespace urn:ieee:std:2030.5:ns.
func (*DrResponse) Validate ¶
func (v *DrResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type DstRuleType ¶
type DstRuleType []byte
DstRuleType is generated from the XML Schema type DstRuleType in namespace urn:ieee:std:2030.5:ns.
func (DstRuleType) MarshalText ¶
func (v DstRuleType) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (DstRuleType) String ¶
func (v DstRuleType) String() string
String returns v as upper-case hexadecimal.
func (*DstRuleType) UnmarshalText ¶
func (v *DstRuleType) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (DstRuleType) Validate ¶
func (v DstRuleType) Validate() error
Validate reports whether v violates a facet of DstRuleType.
type DutyCycle ¶
type DutyCycle struct {
NormalValue UInt8 `xml:"urn:ieee:std:2030.5:ns normalValue"`
DutyCycleR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns DutyCycle_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
DutyCycle is generated from the XML Schema type DutyCycle in namespace urn:ieee:std:2030.5:ns.
type EndDevice ¶
type EndDevice struct {
ExternalDevice
ProxiedDeviceListLink *ProxiedDeviceListLink `xml:"urn:ieee:std:2030.5:ns ProxiedDeviceListLink,omitempty"`
SubscriptionListLink *SubscriptionListLink `xml:"urn:ieee:std:2030.5:ns SubscriptionListLink,omitempty"`
EndDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDevice_r2_3,omitempty"`
}
EndDevice is generated from the XML Schema type EndDevice in namespace urn:ieee:std:2030.5:ns.
type EndDeviceControl ¶
type EndDeviceControl struct {
RandomizableEvent
ApplianceLoadReduction *ApplianceLoadReduction `xml:"urn:ieee:std:2030.5:ns ApplianceLoadReduction,omitempty"`
DeviceCategory DeviceCategoryType `xml:"urn:ieee:std:2030.5:ns deviceCategory"`
DrProgramMandatory bool `xml:"urn:ieee:std:2030.5:ns drProgramMandatory"`
DutyCycle *DutyCycle `xml:"urn:ieee:std:2030.5:ns DutyCycle,omitempty"`
LoadShiftForward bool `xml:"urn:ieee:std:2030.5:ns loadShiftForward"`
Offset *Offset `xml:"urn:ieee:std:2030.5:ns Offset,omitempty"`
OverrideDuration *UInt16 `xml:"urn:ieee:std:2030.5:ns overrideDuration,omitempty"`
SetPoint *SetPoint `xml:"urn:ieee:std:2030.5:ns SetPoint,omitempty"`
TargetReduction *TargetReduction `xml:"urn:ieee:std:2030.5:ns TargetReduction,omitempty"`
EndDeviceControlR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceControl_r2_3,omitempty"`
}
EndDeviceControl is generated from the XML Schema type EndDeviceControl in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceControl) GetOverrideDuration ¶
func (v *EndDeviceControl) GetOverrideDuration() UInt16
GetOverrideDuration returns OverrideDuration, or its schema default 0 when it is absent.
func (*EndDeviceControl) Validate ¶
func (v *EndDeviceControl) Validate() error
Validate reports the first constraint of the schema that v violates.
type EndDeviceControlList ¶
type EndDeviceControlList struct {
SubscribableList
EndDeviceControl []EndDeviceControl `xml:"urn:ieee:std:2030.5:ns EndDeviceControl,omitempty"`
EndDeviceControlListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceControlList_r2_3,omitempty"`
}
EndDeviceControlList is generated from the XML Schema type EndDeviceControlList in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceControlList) Validate ¶
func (v *EndDeviceControlList) Validate() error
Validate reports the first constraint of the schema that v violates.
type EndDeviceControlListLink ¶
type EndDeviceControlListLink struct {
ListLink
EndDeviceControlListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceControlListLink_r2_3,omitempty"`
}
EndDeviceControlListLink is generated from the XML Schema type EndDeviceControlListLink in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceControlListLink) Validate ¶
func (v *EndDeviceControlListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type EndDeviceLink ¶
type EndDeviceLink struct {
Link
EndDeviceLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceLink_r2_3,omitempty"`
}
EndDeviceLink is generated from the XML Schema type EndDeviceLink in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceLink) Validate ¶
func (v *EndDeviceLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type EndDeviceList ¶
type EndDeviceList struct {
SubscribableList
EndDevice []EndDevice `xml:"urn:ieee:std:2030.5:ns EndDevice,omitempty"`
EndDeviceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
EndDeviceList is generated from the XML Schema type EndDeviceList in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceList) GetPollRate ¶
func (v *EndDeviceList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*EndDeviceList) Validate ¶
func (v *EndDeviceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type EndDeviceListLink ¶
type EndDeviceListLink struct {
ListLink
EndDeviceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EndDeviceListLink_r2_3,omitempty"`
}
EndDeviceListLink is generated from the XML Schema type EndDeviceListLink in namespace urn:ieee:std:2030.5:ns.
func (*EndDeviceListLink) Validate ¶
func (v *EndDeviceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type EnvironmentalCost ¶
type EnvironmentalCost struct {
Amount UInt32 `xml:"urn:ieee:std:2030.5:ns amount"`
CostKind CostKindType `xml:"urn:ieee:std:2030.5:ns costKind"`
CostLevel UInt8 `xml:"urn:ieee:std:2030.5:ns costLevel"`
NumCostLevels UInt8 `xml:"urn:ieee:std:2030.5:ns numCostLevels"`
EnvironmentalCostR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EnvironmentalCost_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
EnvironmentalCost is generated from the XML Schema type EnvironmentalCost in namespace urn:ieee:std:2030.5:ns.
func (*EnvironmentalCost) Validate ¶
func (v *EnvironmentalCost) Validate() error
Validate reports the first constraint of the schema that v violates.
type Error ¶
type Error struct {
MaxRetryDuration *UInt16 `xml:"urn:ieee:std:2030.5:ns maxRetryDuration,omitempty"`
ReasonCode UInt16 `xml:"urn:ieee:std:2030.5:ns reasonCode"`
ErrorR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Error_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
Error is generated from the XML Schema type Error in namespace urn:ieee:std:2030.5:ns.
type Event ¶
type Event struct {
RespondableSubscribableIdentifiedObject
CreationTime TimeType `xml:"urn:ieee:std:2030.5:ns creationTime"`
EventStatus EventStatus `xml:"urn:ieee:std:2030.5:ns EventStatus"`
Interval DateTimeInterval `xml:"urn:ieee:std:2030.5:ns interval"`
EventR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Event_r2_3,omitempty"`
}
Event is generated from the XML Schema type Event in namespace urn:ieee:std:2030.5:ns.
type EventStatus ¶
type EventStatus struct {
CurrentStatus UInt8 `xml:"urn:ieee:std:2030.5:ns currentStatus"`
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
PotentiallySuperseded bool `xml:"urn:ieee:std:2030.5:ns potentiallySuperseded"`
PotentiallySupersededTime *TimeType `xml:"urn:ieee:std:2030.5:ns potentiallySupersededTime,omitempty"`
Reason *String192 `xml:"urn:ieee:std:2030.5:ns reason,omitempty"`
EventStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns EventStatus_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
EventStatus is generated from the XML Schema type EventStatus in namespace urn:ieee:std:2030.5:ns.
func (*EventStatus) Validate ¶
func (v *EventStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type ExtensionElement ¶
type ExtensionElement struct {
XMLName xml.Name
Attrs []xml.Attr `xml:",any,attr"`
InnerXML []byte `xml:",innerxml"`
}
ExtensionElement is an element in a place where the schema admits elements it does not declare (xs:any): extensions in other namespaces, such as CSIP-AUS elements read through this package, and elements of later revisions of IEEE 2030.5. Decoding keeps them, so that a document can be encoded again without losing them.
The content is kept as raw XML. Namespace prefixes it uses that are declared outside the element are not carried along.
func (*ExtensionElement) UnmarshalXML ¶
func (e *ExtensionElement) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
UnmarshalXML decodes the element, dropping namespace declarations from its attributes: the encoder writes the declarations it needs itself.
type ExternalDevice ¶
type ExternalDevice struct {
AbstractDevice
ChangedTime TimeType `xml:"urn:ieee:std:2030.5:ns changedTime"`
Enabled *bool `xml:"urn:ieee:std:2030.5:ns enabled,omitempty"`
FlowReservationRequestListLink *FlowReservationRequestListLink `xml:"urn:ieee:std:2030.5:ns FlowReservationRequestListLink,omitempty"`
FlowReservationResponseListLink *FlowReservationResponseListLink `xml:"urn:ieee:std:2030.5:ns FlowReservationResponseListLink,omitempty"`
FunctionSetAssignmentsListLink *FunctionSetAssignmentsListLink `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignmentsListLink,omitempty"`
PostRate *UInt32 `xml:"urn:ieee:std:2030.5:ns postRate,omitempty"`
RegistrationLink *RegistrationLink `xml:"urn:ieee:std:2030.5:ns RegistrationLink,omitempty"`
ExternalDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ExternalDevice_r2_3,omitempty"`
}
ExternalDevice is generated from the XML Schema type ExternalDevice in namespace urn:ieee:std:2030.5:ns.
func (*ExternalDevice) GetEnabled ¶
func (v *ExternalDevice) GetEnabled() bool
GetEnabled returns Enabled, or its schema default true when it is absent.
func (*ExternalDevice) Validate ¶
func (v *ExternalDevice) Validate() error
Validate reports the first constraint of the schema that v violates.
type File ¶
type File struct {
Resource
ActivateTime *TimeType `xml:"urn:ieee:std:2030.5:ns activateTime,omitempty"`
FileURI string `xml:"urn:ieee:std:2030.5:ns fileURI"`
LFDI *HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI,omitempty"`
MfHwVer *String32 `xml:"urn:ieee:std:2030.5:ns mfHwVer,omitempty"`
MfID PENType `xml:"urn:ieee:std:2030.5:ns mfID"`
MfModel String32 `xml:"urn:ieee:std:2030.5:ns mfModel"`
MfSerNum *String32 `xml:"urn:ieee:std:2030.5:ns mfSerNum,omitempty"`
MfVer String16 `xml:"urn:ieee:std:2030.5:ns mfVer"`
Size UInt32 `xml:"urn:ieee:std:2030.5:ns size"`
Type HexBinary16 `xml:"urn:ieee:std:2030.5:ns type"`
FileR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns File_r2_3,omitempty"`
}
File is generated from the XML Schema type File in namespace urn:ieee:std:2030.5:ns.
type FileLink ¶
type FileLink struct {
Link
FileLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FileLink_r2_3,omitempty"`
}
FileLink is generated from the XML Schema type FileLink in namespace urn:ieee:std:2030.5:ns.
type FileList ¶
type FileList struct {
List
File []File `xml:"urn:ieee:std:2030.5:ns File,omitempty"`
FileListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FileList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
FileList is generated from the XML Schema type FileList in namespace urn:ieee:std:2030.5:ns.
func (*FileList) GetPollRate ¶
GetPollRate returns PollRate, or its schema default 900 when it is absent.
type FileListLink ¶
type FileListLink struct {
ListLink
FileListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FileListLink_r2_3,omitempty"`
}
FileListLink is generated from the XML Schema type FileListLink in namespace urn:ieee:std:2030.5:ns.
func (*FileListLink) Validate ¶
func (v *FileListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type FileStatus ¶
type FileStatus struct {
Resource
ActivateTime *TimeType `xml:"urn:ieee:std:2030.5:ns activateTime,omitempty"`
FileLink *FileLink `xml:"urn:ieee:std:2030.5:ns FileLink,omitempty"`
LoadPercent UInt8 `xml:"urn:ieee:std:2030.5:ns loadPercent"`
NextRequestAttempt TimeType `xml:"urn:ieee:std:2030.5:ns nextRequestAttempt"`
Request503Count UInt16 `xml:"urn:ieee:std:2030.5:ns request503Count"`
RequestFailCount UInt16 `xml:"urn:ieee:std:2030.5:ns requestFailCount"`
Status UInt8 `xml:"urn:ieee:std:2030.5:ns status"`
StatusTime TimeType `xml:"urn:ieee:std:2030.5:ns statusTime"`
FileStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FileStatus_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
FileStatus is generated from the XML Schema type FileStatus in namespace urn:ieee:std:2030.5:ns.
func (*FileStatus) GetPollRate ¶
func (v *FileStatus) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*FileStatus) Validate ¶
func (v *FileStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type FileStatusLink ¶
type FileStatusLink struct {
Link
FileStatusLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FileStatusLink_r2_3,omitempty"`
}
FileStatusLink is generated from the XML Schema type FileStatusLink in namespace urn:ieee:std:2030.5:ns.
func (*FileStatusLink) Validate ¶
func (v *FileStatusLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type FixedPointType ¶
type FixedPointType struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value Int16 `xml:"urn:ieee:std:2030.5:ns value"`
FixedPointTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FixedPointType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
FixedPointType is generated from the XML Schema type FixedPointType in namespace urn:ieee:std:2030.5:ns.
func (*FixedPointType) Validate ¶
func (v *FixedPointType) Validate() error
Validate reports the first constraint of the schema that v violates.
type FixedVar ¶
type FixedVar struct {
RefType DERUnitRefType `xml:"urn:ieee:std:2030.5:ns refType"`
Value SignedPerCent `xml:"urn:ieee:std:2030.5:ns value"`
FixedVarR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FixedVar_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
FixedVar is generated from the XML Schema type FixedVar in namespace urn:ieee:std:2030.5:ns.
type FixedVarControlType ¶
type FixedVarControlType struct {
FixedVar
FixedVarControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FixedVarControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
FixedVarControlType is generated from the XML Schema type FixedVarControlType in namespace urn:ieee:std:2030.5:ns.
func (*FixedVarControlType) GetDisabled ¶
func (v *FixedVarControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*FixedVarControlType) Validate ¶
func (v *FixedVarControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowDirectionType ¶
type FlowDirectionType uint8
FlowDirectionType is generated from the XML Schema type FlowDirectionType in namespace urn:ieee:std:2030.5:ns.
type FlowReservationRequest ¶
type FlowReservationRequest struct {
IdentifiedObject
CreationTime TimeType `xml:"urn:ieee:std:2030.5:ns creationTime"`
DurationRequested *UInt16 `xml:"urn:ieee:std:2030.5:ns durationRequested,omitempty"`
EnergyRequested SignedRealEnergy `xml:"urn:ieee:std:2030.5:ns energyRequested"`
IntervalRequested DateTimeInterval `xml:"urn:ieee:std:2030.5:ns intervalRequested"`
PowerRequested ActivePower `xml:"urn:ieee:std:2030.5:ns powerRequested"`
RequestStatus RequestStatus `xml:"urn:ieee:std:2030.5:ns RequestStatus"`
FlowReservationRequestR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationRequest_r2_3,omitempty"`
}
FlowReservationRequest is generated from the XML Schema type FlowReservationRequest in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationRequest) Validate ¶
func (v *FlowReservationRequest) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationRequestList ¶
type FlowReservationRequestList struct {
List
FlowReservationRequest []FlowReservationRequest `xml:"urn:ieee:std:2030.5:ns FlowReservationRequest,omitempty"`
FlowReservationRequestListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationRequestList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
FlowReservationRequestList is generated from the XML Schema type FlowReservationRequestList in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationRequestList) GetPollRate ¶
func (v *FlowReservationRequestList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*FlowReservationRequestList) Validate ¶
func (v *FlowReservationRequestList) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationRequestListLink ¶
type FlowReservationRequestListLink struct {
ListLink
FlowReservationRequestListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationRequestListLink_r2_3,omitempty"`
}
FlowReservationRequestListLink is generated from the XML Schema type FlowReservationRequestListLink in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationRequestListLink) Validate ¶
func (v *FlowReservationRequestListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationResponse ¶
type FlowReservationResponse struct {
Event
EnergyAvailable SignedRealEnergy `xml:"urn:ieee:std:2030.5:ns energyAvailable"`
PowerAvailable ActivePower `xml:"urn:ieee:std:2030.5:ns powerAvailable"`
Subject MRIDType `xml:"urn:ieee:std:2030.5:ns subject"`
FlowReservationResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationResponse_r2_3,omitempty"`
}
FlowReservationResponse is generated from the XML Schema type FlowReservationResponse in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationResponse) Validate ¶
func (v *FlowReservationResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationResponseList ¶
type FlowReservationResponseList struct {
SubscribableList
FlowReservationResponse []FlowReservationResponse `xml:"urn:ieee:std:2030.5:ns FlowReservationResponse,omitempty"`
FlowReservationResponseListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationResponseList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
FlowReservationResponseList is generated from the XML Schema type FlowReservationResponseList in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationResponseList) GetPollRate ¶
func (v *FlowReservationResponseList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*FlowReservationResponseList) Validate ¶
func (v *FlowReservationResponseList) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationResponseListLink ¶
type FlowReservationResponseListLink struct {
ListLink
FlowReservationResponseListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationResponseListLink_r2_3,omitempty"`
}
FlowReservationResponseListLink is generated from the XML Schema type FlowReservationResponseListLink in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationResponseListLink) Validate ¶
func (v *FlowReservationResponseListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type FlowReservationResponseResponse ¶
type FlowReservationResponseResponse struct {
Response
FlowReservationResponseResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FlowReservationResponseResponse_r2_3,omitempty"`
}
FlowReservationResponseResponse is generated from the XML Schema type FlowReservationResponseResponse in namespace urn:ieee:std:2030.5:ns.
func (*FlowReservationResponseResponse) Validate ¶
func (v *FlowReservationResponseResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type FreqDroopType ¶
type FreqDroopType struct {
DBOF UInt32 `xml:"urn:ieee:std:2030.5:ns dBOF"`
DBUF UInt32 `xml:"urn:ieee:std:2030.5:ns dBUF"`
KOF UInt16 `xml:"urn:ieee:std:2030.5:ns kOF"`
KUF UInt16 `xml:"urn:ieee:std:2030.5:ns kUF"`
OpenLoopTms UInt16 `xml:"urn:ieee:std:2030.5:ns openLoopTms"`
PMin *ActivePower `xml:"urn:ieee:std:2030.5:ns pMin,omitempty"`
FreqDroopTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FreqDroopType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
FreqDroopType is generated from the XML Schema type FreqDroopType in namespace urn:ieee:std:2030.5:ns.
func (*FreqDroopType) GetDisabled ¶
func (v *FreqDroopType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*FreqDroopType) Validate ¶
func (v *FreqDroopType) Validate() error
Validate reports the first constraint of the schema that v violates.
type FunctionSetAssignments ¶
type FunctionSetAssignments struct {
FunctionSetAssignmentsBase
MRID MRIDType `xml:"urn:ieee:std:2030.5:ns mRID"`
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Version *VersionType `xml:"urn:ieee:std:2030.5:ns version,omitempty"`
FunctionSetAssignmentsR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignments_r2_3,omitempty"`
Subscribable *SubscribableType `xml:"subscribable,attr,omitempty"`
}
FunctionSetAssignments is generated from the XML Schema type FunctionSetAssignments in namespace urn:ieee:std:2030.5:ns.
func (*FunctionSetAssignments) GetSubscribable ¶
func (v *FunctionSetAssignments) GetSubscribable() SubscribableType
GetSubscribable returns Subscribable, or its schema default 0 when it is absent.
func (*FunctionSetAssignments) GetVersion ¶
func (v *FunctionSetAssignments) GetVersion() VersionType
GetVersion returns Version, or its schema default 0 when it is absent.
func (*FunctionSetAssignments) Validate ¶
func (v *FunctionSetAssignments) Validate() error
Validate reports the first constraint of the schema that v violates.
type FunctionSetAssignmentsBase ¶
type FunctionSetAssignmentsBase struct {
Resource
CustomerAccountListLink *CustomerAccountListLink `xml:"urn:ieee:std:2030.5:ns CustomerAccountListLink,omitempty"`
DemandResponseProgramListLink *DemandResponseProgramListLink `xml:"urn:ieee:std:2030.5:ns DemandResponseProgramListLink,omitempty"`
DERProgramListLink *DERProgramListLink `xml:"urn:ieee:std:2030.5:ns DERProgramListLink,omitempty"`
FileListLink *FileListLink `xml:"urn:ieee:std:2030.5:ns FileListLink,omitempty"`
MessagingProgramListLink *MessagingProgramListLink `xml:"urn:ieee:std:2030.5:ns MessagingProgramListLink,omitempty"`
PrepaymentListLink *PrepaymentListLink `xml:"urn:ieee:std:2030.5:ns PrepaymentListLink,omitempty"`
ResponseSetListLink *ResponseSetListLink `xml:"urn:ieee:std:2030.5:ns ResponseSetListLink,omitempty"`
TariffProfileListLink *TariffProfileListLink `xml:"urn:ieee:std:2030.5:ns TariffProfileListLink,omitempty"`
TimeLink *TimeLink `xml:"urn:ieee:std:2030.5:ns TimeLink,omitempty"`
UsagePointListLink *UsagePointListLink `xml:"urn:ieee:std:2030.5:ns UsagePointListLink,omitempty"`
FunctionSetAssignmentsBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignmentsBase_r2_3,omitempty"`
}
FunctionSetAssignmentsBase is generated from the XML Schema type FunctionSetAssignmentsBase in namespace urn:ieee:std:2030.5:ns.
func (*FunctionSetAssignmentsBase) Validate ¶
func (v *FunctionSetAssignmentsBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type FunctionSetAssignmentsList ¶
type FunctionSetAssignmentsList struct {
SubscribableList
FunctionSetAssignments []FunctionSetAssignments `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignments,omitempty"`
FunctionSetAssignmentsListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignmentsList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
FunctionSetAssignmentsList is generated from the XML Schema type FunctionSetAssignmentsList in namespace urn:ieee:std:2030.5:ns.
func (*FunctionSetAssignmentsList) GetPollRate ¶
func (v *FunctionSetAssignmentsList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*FunctionSetAssignmentsList) Validate ¶
func (v *FunctionSetAssignmentsList) Validate() error
Validate reports the first constraint of the schema that v violates.
type FunctionSetAssignmentsListLink ¶
type FunctionSetAssignmentsListLink struct {
ListLink
FunctionSetAssignmentsListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns FunctionSetAssignmentsListLink_r2_3,omitempty"`
}
FunctionSetAssignmentsListLink is generated from the XML Schema type FunctionSetAssignmentsListLink in namespace urn:ieee:std:2030.5:ns.
func (*FunctionSetAssignmentsListLink) Validate ¶
func (v *FunctionSetAssignmentsListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type GPSLocationType ¶
type GPSLocationType struct {
Lat String32 `xml:"urn:ieee:std:2030.5:ns lat"`
Lon String32 `xml:"urn:ieee:std:2030.5:ns lon"`
GPSLocationTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns GPSLocationType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
GPSLocationType is generated from the XML Schema type GPSLocationType in namespace urn:ieee:std:2030.5:ns.
func (*GPSLocationType) Validate ¶
func (v *GPSLocationType) Validate() error
Validate reports the first constraint of the schema that v violates.
type GeographicLocationType ¶
type GeographicLocationType struct {
Country CountryType `xml:"urn:ieee:std:2030.5:ns country"`
Subdivision *SubdivisionType `xml:"urn:ieee:std:2030.5:ns subdivision,omitempty"`
GeographicLocationTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns GeographicLocationType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
GeographicLocationType is generated from the XML Schema type GeographicLocationType in namespace urn:ieee:std:2030.5:ns.
func (*GeographicLocationType) Validate ¶
func (v *GeographicLocationType) Validate() error
Validate reports the first constraint of the schema that v violates.
type HexBinary8 ¶
type HexBinary8 []byte
HexBinary8 is generated from the XML Schema type HexBinary8 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary8) MarshalText ¶
func (v HexBinary8) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary8) String ¶
func (v HexBinary8) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary8) UnmarshalText ¶
func (v *HexBinary8) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary8) Validate ¶
func (v HexBinary8) Validate() error
Validate reports whether v violates a facet of HexBinary8.
type HexBinary16 ¶
type HexBinary16 []byte
HexBinary16 is generated from the XML Schema type HexBinary16 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary16) MarshalText ¶
func (v HexBinary16) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary16) String ¶
func (v HexBinary16) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary16) UnmarshalText ¶
func (v *HexBinary16) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary16) Validate ¶
func (v HexBinary16) Validate() error
Validate reports whether v violates a facet of HexBinary16.
type HexBinary32 ¶
type HexBinary32 []byte
HexBinary32 is generated from the XML Schema type HexBinary32 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary32) MarshalText ¶
func (v HexBinary32) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary32) String ¶
func (v HexBinary32) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary32) UnmarshalText ¶
func (v *HexBinary32) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary32) Validate ¶
func (v HexBinary32) Validate() error
Validate reports whether v violates a facet of HexBinary32.
type HexBinary48 ¶
type HexBinary48 []byte
HexBinary48 is generated from the XML Schema type HexBinary48 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary48) MarshalText ¶
func (v HexBinary48) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary48) String ¶
func (v HexBinary48) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary48) UnmarshalText ¶
func (v *HexBinary48) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary48) Validate ¶
func (v HexBinary48) Validate() error
Validate reports whether v violates a facet of HexBinary48.
type HexBinary64 ¶
type HexBinary64 []byte
HexBinary64 is generated from the XML Schema type HexBinary64 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary64) MarshalText ¶
func (v HexBinary64) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary64) String ¶
func (v HexBinary64) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary64) UnmarshalText ¶
func (v *HexBinary64) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary64) Validate ¶
func (v HexBinary64) Validate() error
Validate reports whether v violates a facet of HexBinary64.
type HexBinary128 ¶
type HexBinary128 []byte
HexBinary128 is generated from the XML Schema type HexBinary128 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary128) MarshalText ¶
func (v HexBinary128) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary128) String ¶
func (v HexBinary128) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary128) UnmarshalText ¶
func (v *HexBinary128) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary128) Validate ¶
func (v HexBinary128) Validate() error
Validate reports whether v violates a facet of HexBinary128.
type HexBinary160 ¶
type HexBinary160 []byte
HexBinary160 is generated from the XML Schema type HexBinary160 in namespace urn:ieee:std:2030.5:ns.
func (HexBinary160) MarshalText ¶
func (v HexBinary160) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (HexBinary160) String ¶
func (v HexBinary160) String() string
String returns v as upper-case hexadecimal.
func (*HexBinary160) UnmarshalText ¶
func (v *HexBinary160) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (HexBinary160) Validate ¶
func (v HexBinary160) Validate() error
Validate reports whether v violates a facet of HexBinary160.
type HistoricalReading ¶
type HistoricalReading struct {
BillingMeterReadingBase
HistoricalReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns HistoricalReading_r2_3,omitempty"`
}
HistoricalReading is generated from the XML Schema type HistoricalReading in namespace urn:ieee:std:2030.5:ns.
func (*HistoricalReading) Validate ¶
func (v *HistoricalReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type HistoricalReadingList ¶
type HistoricalReadingList struct {
List
HistoricalReading []HistoricalReading `xml:"urn:ieee:std:2030.5:ns HistoricalReading,omitempty"`
HistoricalReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns HistoricalReadingList_r2_3,omitempty"`
}
HistoricalReadingList is generated from the XML Schema type HistoricalReadingList in namespace urn:ieee:std:2030.5:ns.
func (*HistoricalReadingList) Validate ¶
func (v *HistoricalReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type HistoricalReadingListLink ¶
type HistoricalReadingListLink struct {
ListLink
HistoricalReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns HistoricalReadingListLink_r2_3,omitempty"`
}
HistoricalReadingListLink is generated from the XML Schema type HistoricalReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*HistoricalReadingListLink) Validate ¶
func (v *HistoricalReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type IEEE_802_15_4 ¶
type IEEE_802_15_4 struct {
CapabilityInfo HexBinary8 `xml:"urn:ieee:std:2030.5:ns capabilityInfo"`
NeighborListLink *NeighborListLink `xml:"urn:ieee:std:2030.5:ns NeighborListLink,omitempty"`
ShortAddress UInt16 `xml:"urn:ieee:std:2030.5:ns shortAddress"`
IEEE_802_15_4R2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IEEE_802_15_4_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
IEEE_802_15_4 is generated from the XML Schema type IEEE_802_15_4 in namespace urn:ieee:std:2030.5:ns.
func (*IEEE_802_15_4) Validate ¶
func (v *IEEE_802_15_4) Validate() error
Validate reports the first constraint of the schema that v violates.
type IPAddr ¶
type IPAddr struct {
Resource
Address HexBinary128 `xml:"urn:ieee:std:2030.5:ns address"`
RPLInstanceListLink *RPLInstanceListLink `xml:"urn:ieee:std:2030.5:ns RPLInstanceListLink,omitempty"`
IPAddrR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPAddr_r2_3,omitempty"`
}
IPAddr is generated from the XML Schema type IPAddr in namespace urn:ieee:std:2030.5:ns.
type IPAddrList ¶
type IPAddrList struct {
List
IPAddr []IPAddr `xml:"urn:ieee:std:2030.5:ns IPAddr,omitempty"`
IPAddrListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPAddrList_r2_3,omitempty"`
}
IPAddrList is generated from the XML Schema type IPAddrList in namespace urn:ieee:std:2030.5:ns.
func (*IPAddrList) Validate ¶
func (v *IPAddrList) Validate() error
Validate reports the first constraint of the schema that v violates.
type IPAddrListLink ¶
type IPAddrListLink struct {
ListLink
IPAddrListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPAddrListLink_r2_3,omitempty"`
}
IPAddrListLink is generated from the XML Schema type IPAddrListLink in namespace urn:ieee:std:2030.5:ns.
func (*IPAddrListLink) Validate ¶
func (v *IPAddrListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type IPInterface ¶
type IPInterface struct {
Resource
IfDescr *String192 `xml:"urn:ieee:std:2030.5:ns ifDescr,omitempty"`
IfHighSpeed *UInt32 `xml:"urn:ieee:std:2030.5:ns ifHighSpeed,omitempty"`
IfInBroadcastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInBroadcastPkts,omitempty"`
IfIndex *UInt32 `xml:"urn:ieee:std:2030.5:ns ifIndex,omitempty"`
IfInDiscards *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInDiscards,omitempty"`
IfInErrors *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInErrors,omitempty"`
IfInMulticastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInMulticastPkts,omitempty"`
IfInOctets *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInOctets,omitempty"`
IfInUcastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInUcastPkts,omitempty"`
IfInUnknownProtos *UInt32 `xml:"urn:ieee:std:2030.5:ns ifInUnknownProtos,omitempty"`
IfMtu *UInt32 `xml:"urn:ieee:std:2030.5:ns ifMtu,omitempty"`
IfName *String16 `xml:"urn:ieee:std:2030.5:ns ifName,omitempty"`
IfOperStatus *UInt8 `xml:"urn:ieee:std:2030.5:ns ifOperStatus,omitempty"`
IfOutBroadcastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutBroadcastPkts,omitempty"`
IfOutDiscards *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutDiscards,omitempty"`
IfOutErrors *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutErrors,omitempty"`
IfOutMulticastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutMulticastPkts,omitempty"`
IfOutOctets *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutOctets,omitempty"`
IfOutUcastPkts *UInt32 `xml:"urn:ieee:std:2030.5:ns ifOutUcastPkts,omitempty"`
IfPromiscuousMode *bool `xml:"urn:ieee:std:2030.5:ns ifPromiscuousMode,omitempty"`
IfSpeed *UInt32 `xml:"urn:ieee:std:2030.5:ns ifSpeed,omitempty"`
IfType *UInt16 `xml:"urn:ieee:std:2030.5:ns ifType,omitempty"`
IPAddrListLink *IPAddrListLink `xml:"urn:ieee:std:2030.5:ns IPAddrListLink,omitempty"`
LastResetTime *Int64 `xml:"urn:ieee:std:2030.5:ns lastResetTime,omitempty"`
LastUpdatedTime *Int64 `xml:"urn:ieee:std:2030.5:ns lastUpdatedTime,omitempty"`
LLInterfaceListLink *LLInterfaceListLink `xml:"urn:ieee:std:2030.5:ns LLInterfaceListLink,omitempty"`
IPInterfaceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPInterface_r2_3,omitempty"`
}
IPInterface is generated from the XML Schema type IPInterface in namespace urn:ieee:std:2030.5:ns.
func (*IPInterface) Validate ¶
func (v *IPInterface) Validate() error
Validate reports the first constraint of the schema that v violates.
type IPInterfaceList ¶
type IPInterfaceList struct {
List
IPInterface []IPInterface `xml:"urn:ieee:std:2030.5:ns IPInterface,omitempty"`
IPInterfaceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPInterfaceList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
IPInterfaceList is generated from the XML Schema type IPInterfaceList in namespace urn:ieee:std:2030.5:ns.
func (*IPInterfaceList) GetPollRate ¶
func (v *IPInterfaceList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*IPInterfaceList) Validate ¶
func (v *IPInterfaceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type IPInterfaceListLink ¶
type IPInterfaceListLink struct {
ListLink
IPInterfaceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IPInterfaceListLink_r2_3,omitempty"`
}
IPInterfaceListLink is generated from the XML Schema type IPInterfaceListLink in namespace urn:ieee:std:2030.5:ns.
func (*IPInterfaceListLink) Validate ¶
func (v *IPInterfaceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type IdentifiedObject ¶
type IdentifiedObject struct {
Resource
MRID MRIDType `xml:"urn:ieee:std:2030.5:ns mRID"`
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Version *VersionType `xml:"urn:ieee:std:2030.5:ns version,omitempty"`
IdentifiedObjectR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns IdentifiedObject_r2_3,omitempty"`
}
IdentifiedObject is generated from the XML Schema type IdentifiedObject in namespace urn:ieee:std:2030.5:ns.
func (*IdentifiedObject) GetVersion ¶
func (v *IdentifiedObject) GetVersion() VersionType
GetVersion returns Version, or its schema default 0 when it is absent.
func (*IdentifiedObject) Validate ¶
func (v *IdentifiedObject) Validate() error
Validate reports the first constraint of the schema that v violates.
type Int8 ¶
type Int8 int8
Int8 is generated from the XML Schema type Int8 in namespace urn:ieee:std:2030.5:ns.
type Int16 ¶
type Int16 int16
Int16 is generated from the XML Schema type Int16 in namespace urn:ieee:std:2030.5:ns.
type Int32 ¶
type Int32 int32
Int32 is generated from the XML Schema type Int32 in namespace urn:ieee:std:2030.5:ns.
type Int48 ¶
type Int48 int64
Int48 is generated from the XML Schema type Int48 in namespace urn:ieee:std:2030.5:ns.
type Int64 ¶
type Int64 int64
Int64 is generated from the XML Schema type Int64 in namespace urn:ieee:std:2030.5:ns.
type InverterStatusType ¶
type InverterStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value UInt8 `xml:"urn:ieee:std:2030.5:ns value"`
InverterStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns InverterStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
InverterStatusType is generated from the XML Schema type InverterStatusType in namespace urn:ieee:std:2030.5:ns.
func (*InverterStatusType) Validate ¶
func (v *InverterStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type KindType ¶
type KindType uint8
KindType is generated from the XML Schema type KindType in namespace urn:ieee:std:2030.5:ns.
type LLInterface ¶
type LLInterface struct {
Resource
CRCerrors UInt32 `xml:"urn:ieee:std:2030.5:ns CRCerrors"`
EUI64 HexBinary64 `xml:"urn:ieee:std:2030.5:ns EUI64"`
IEEE_802_15_4 *IEEE_802_15_4 `xml:"urn:ieee:std:2030.5:ns IEEE_802_15_4,omitempty"`
LinkLayerType UInt8 `xml:"urn:ieee:std:2030.5:ns linkLayerType"`
LLAckNotRx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLAckNotRx,omitempty"`
LLCSMAFail *UInt32 `xml:"urn:ieee:std:2030.5:ns LLCSMAFail,omitempty"`
LLFramesDropRx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLFramesDropRx,omitempty"`
LLFramesDropTx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLFramesDropTx,omitempty"`
LLFramesRx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLFramesRx,omitempty"`
LLFramesTx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLFramesTx,omitempty"`
LLMediaAccessFail *UInt32 `xml:"urn:ieee:std:2030.5:ns LLMediaAccessFail,omitempty"`
LLOctetsRx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLOctetsRx,omitempty"`
LLOctetsTx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLOctetsTx,omitempty"`
LLRetryCount *UInt32 `xml:"urn:ieee:std:2030.5:ns LLRetryCount,omitempty"`
LLSecurityErrorRx *UInt32 `xml:"urn:ieee:std:2030.5:ns LLSecurityErrorRx,omitempty"`
LoWPAN *LoWPAN `xml:"urn:ieee:std:2030.5:ns loWPAN,omitempty"`
LLInterfaceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LLInterface_r2_3,omitempty"`
}
LLInterface is generated from the XML Schema type LLInterface in namespace urn:ieee:std:2030.5:ns.
func (*LLInterface) Validate ¶
func (v *LLInterface) Validate() error
Validate reports the first constraint of the schema that v violates.
type LLInterfaceList ¶
type LLInterfaceList struct {
List
LLInterface []LLInterface `xml:"urn:ieee:std:2030.5:ns LLInterface,omitempty"`
LLInterfaceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LLInterfaceList_r2_3,omitempty"`
}
LLInterfaceList is generated from the XML Schema type LLInterfaceList in namespace urn:ieee:std:2030.5:ns.
func (*LLInterfaceList) Validate ¶
func (v *LLInterfaceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type LLInterfaceListLink ¶
type LLInterfaceListLink struct {
ListLink
LLInterfaceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LLInterfaceListLink_r2_3,omitempty"`
}
LLInterfaceListLink is generated from the XML Schema type LLInterfaceListLink in namespace urn:ieee:std:2030.5:ns.
func (*LLInterfaceListLink) Validate ¶
func (v *LLInterfaceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Link ¶
type Link struct {
LinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Link_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
Href string `xml:"href,attr"`
}
Link is generated from the XML Schema type Link in namespace urn:ieee:std:2030.5:ns.
type List ¶
type List struct {
Resource
ListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns List_r2_3,omitempty"`
All UInt32 `xml:"all,attr"`
Results UInt32 `xml:"results,attr"`
}
List is generated from the XML Schema type List in namespace urn:ieee:std:2030.5:ns.
type ListLink ¶
type ListLink struct {
Link
ListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ListLink_r2_3,omitempty"`
All *UInt32 `xml:"all,attr,omitempty"`
}
ListLink is generated from the XML Schema type ListLink in namespace urn:ieee:std:2030.5:ns.
type LoWPAN ¶
type LoWPAN struct {
OctetsRx *UInt32 `xml:"urn:ieee:std:2030.5:ns octetsRx,omitempty"`
OctetsTx *UInt32 `xml:"urn:ieee:std:2030.5:ns octetsTx,omitempty"`
PacketsRx UInt32 `xml:"urn:ieee:std:2030.5:ns packetsRx"`
PacketsTx UInt32 `xml:"urn:ieee:std:2030.5:ns packetsTx"`
RxFragError UInt32 `xml:"urn:ieee:std:2030.5:ns rxFragError"`
LoWPANR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns loWPAN_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
LoWPAN is generated from the XML Schema type loWPAN in namespace urn:ieee:std:2030.5:ns.
type LoadShedAvailability ¶
type LoadShedAvailability struct {
Resource
AvailabilityDuration *UInt32 `xml:"urn:ieee:std:2030.5:ns availabilityDuration,omitempty"`
DemandResponseProgramLink *DemandResponseProgramLink `xml:"urn:ieee:std:2030.5:ns DemandResponseProgramLink,omitempty"`
SheddablePercent *PerCent `xml:"urn:ieee:std:2030.5:ns sheddablePercent,omitempty"`
SheddablePower *ActivePower `xml:"urn:ieee:std:2030.5:ns sheddablePower,omitempty"`
LoadShedAvailabilityR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LoadShedAvailability_r2_3,omitempty"`
}
LoadShedAvailability is generated from the XML Schema type LoadShedAvailability in namespace urn:ieee:std:2030.5:ns.
func (*LoadShedAvailability) Validate ¶
func (v *LoadShedAvailability) Validate() error
Validate reports the first constraint of the schema that v violates.
type LoadShedAvailabilityList ¶
type LoadShedAvailabilityList struct {
List
LoadShedAvailability []LoadShedAvailability `xml:"urn:ieee:std:2030.5:ns LoadShedAvailability,omitempty"`
LoadShedAvailabilityListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LoadShedAvailabilityList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
LoadShedAvailabilityList is generated from the XML Schema type LoadShedAvailabilityList in namespace urn:ieee:std:2030.5:ns.
func (*LoadShedAvailabilityList) GetPollRate ¶
func (v *LoadShedAvailabilityList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*LoadShedAvailabilityList) Validate ¶
func (v *LoadShedAvailabilityList) Validate() error
Validate reports the first constraint of the schema that v violates.
type LoadShedAvailabilityListLink ¶
type LoadShedAvailabilityListLink struct {
ListLink
LoadShedAvailabilityListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LoadShedAvailabilityListLink_r2_3,omitempty"`
}
LoadShedAvailabilityListLink is generated from the XML Schema type LoadShedAvailabilityListLink in namespace urn:ieee:std:2030.5:ns.
func (*LoadShedAvailabilityListLink) Validate ¶
func (v *LoadShedAvailabilityListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type LocalControlModeStatusType ¶
type LocalControlModeStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value UInt8 `xml:"urn:ieee:std:2030.5:ns value"`
LocalControlModeStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LocalControlModeStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
LocalControlModeStatusType is generated from the XML Schema type LocalControlModeStatusType in namespace urn:ieee:std:2030.5:ns.
func (*LocalControlModeStatusType) Validate ¶
func (v *LocalControlModeStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type LocaleType ¶
type LocaleType string
LocaleType is generated from the XML Schema type LocaleType in namespace urn:ieee:std:2030.5:ns.
func (LocaleType) Validate ¶
func (v LocaleType) Validate() error
Validate reports whether v violates a facet of LocaleType.
type LogEvent ¶
type LogEvent struct {
Resource
CreatedDateTime TimeType `xml:"urn:ieee:std:2030.5:ns createdDateTime"`
Details *String32 `xml:"urn:ieee:std:2030.5:ns details,omitempty"`
ExtendedData *UInt32 `xml:"urn:ieee:std:2030.5:ns extendedData,omitempty"`
FunctionSet UInt8 `xml:"urn:ieee:std:2030.5:ns functionSet"`
LogEventCode UInt8 `xml:"urn:ieee:std:2030.5:ns logEventCode"`
LogEventID UInt16 `xml:"urn:ieee:std:2030.5:ns logEventID"`
LogEventPEN PENType `xml:"urn:ieee:std:2030.5:ns logEventPEN"`
ProfileID UInt8 `xml:"urn:ieee:std:2030.5:ns profileID"`
LogEventR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LogEvent_r2_3,omitempty"`
}
LogEvent is generated from the XML Schema type LogEvent in namespace urn:ieee:std:2030.5:ns.
type LogEventList ¶
type LogEventList struct {
SubscribableList
LogEvent []LogEvent `xml:"urn:ieee:std:2030.5:ns LogEvent,omitempty"`
LogEventListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LogEventList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
LogEventList is generated from the XML Schema type LogEventList in namespace urn:ieee:std:2030.5:ns.
func (*LogEventList) GetPollRate ¶
func (v *LogEventList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*LogEventList) Validate ¶
func (v *LogEventList) Validate() error
Validate reports the first constraint of the schema that v violates.
type LogEventListLink ¶
type LogEventListLink struct {
ListLink
LogEventListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns LogEventListLink_r2_3,omitempty"`
}
LogEventListLink is generated from the XML Schema type LogEventListLink in namespace urn:ieee:std:2030.5:ns.
func (*LogEventListLink) Validate ¶
func (v *LogEventListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type MRIDType ¶
type MRIDType []byte
MRIDType is generated from the XML Schema type mRIDType in namespace urn:ieee:std:2030.5:ns.
func (MRIDType) MarshalText ¶
MarshalText encodes v as upper-case hexadecimal.
func (*MRIDType) UnmarshalText ¶
UnmarshalText decodes hexadecimal text.
type ManufacturerStatusType ¶
type ManufacturerStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value String6 `xml:"urn:ieee:std:2030.5:ns value"`
ManufacturerStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ManufacturerStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ManufacturerStatusType is generated from the XML Schema type ManufacturerStatusType in namespace urn:ieee:std:2030.5:ns.
func (*ManufacturerStatusType) Validate ¶
func (v *ManufacturerStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type MessagingProgram ¶
type MessagingProgram struct {
SubscribableIdentifiedObject
ActiveTextMessageListLink *ActiveTextMessageListLink `xml:"urn:ieee:std:2030.5:ns ActiveTextMessageListLink,omitempty"`
Locale LocaleType `xml:"urn:ieee:std:2030.5:ns locale"`
Primacy PrimacyType `xml:"urn:ieee:std:2030.5:ns primacy"`
TextMessageListLink *TextMessageListLink `xml:"urn:ieee:std:2030.5:ns TextMessageListLink,omitempty"`
MessagingProgramR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MessagingProgram_r2_3,omitempty"`
}
MessagingProgram is generated from the XML Schema type MessagingProgram in namespace urn:ieee:std:2030.5:ns.
func (*MessagingProgram) Validate ¶
func (v *MessagingProgram) Validate() error
Validate reports the first constraint of the schema that v violates.
type MessagingProgramList ¶
type MessagingProgramList struct {
SubscribableList
MessagingProgram []MessagingProgram `xml:"urn:ieee:std:2030.5:ns MessagingProgram,omitempty"`
MessagingProgramListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MessagingProgramList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
MessagingProgramList is generated from the XML Schema type MessagingProgramList in namespace urn:ieee:std:2030.5:ns.
func (*MessagingProgramList) GetPollRate ¶
func (v *MessagingProgramList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*MessagingProgramList) Validate ¶
func (v *MessagingProgramList) Validate() error
Validate reports the first constraint of the schema that v violates.
type MessagingProgramListLink ¶
type MessagingProgramListLink struct {
ListLink
MessagingProgramListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MessagingProgramListLink_r2_3,omitempty"`
}
MessagingProgramListLink is generated from the XML Schema type MessagingProgramListLink in namespace urn:ieee:std:2030.5:ns.
func (*MessagingProgramListLink) Validate ¶
func (v *MessagingProgramListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type MeterReading ¶
type MeterReading struct {
MeterReadingBase
RateComponentListLink *RateComponentListLink `xml:"urn:ieee:std:2030.5:ns RateComponentListLink,omitempty"`
ReadingLink *ReadingLink `xml:"urn:ieee:std:2030.5:ns ReadingLink,omitempty"`
ReadingSetListLink *ReadingSetListLink `xml:"urn:ieee:std:2030.5:ns ReadingSetListLink,omitempty"`
ReadingTypeLink ReadingTypeLink `xml:"urn:ieee:std:2030.5:ns ReadingTypeLink"`
MeterReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MeterReading_r2_3,omitempty"`
}
MeterReading is generated from the XML Schema type MeterReading in namespace urn:ieee:std:2030.5:ns.
func (*MeterReading) Validate ¶
func (v *MeterReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type MeterReadingBase ¶
type MeterReadingBase struct {
IdentifiedObject
MeterReadingBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MeterReadingBase_r2_3,omitempty"`
}
MeterReadingBase is generated from the XML Schema type MeterReadingBase in namespace urn:ieee:std:2030.5:ns.
func (*MeterReadingBase) Validate ¶
func (v *MeterReadingBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type MeterReadingLink ¶
type MeterReadingLink struct {
Link
MeterReadingLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MeterReadingLink_r2_3,omitempty"`
}
MeterReadingLink is generated from the XML Schema type MeterReadingLink in namespace urn:ieee:std:2030.5:ns.
func (*MeterReadingLink) Validate ¶
func (v *MeterReadingLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type MeterReadingList ¶
type MeterReadingList struct {
SubscribableList
MeterReading []MeterReading `xml:"urn:ieee:std:2030.5:ns MeterReading,omitempty"`
MeterReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MeterReadingList_r2_3,omitempty"`
}
MeterReadingList is generated from the XML Schema type MeterReadingList in namespace urn:ieee:std:2030.5:ns.
func (*MeterReadingList) Validate ¶
func (v *MeterReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type MeterReadingListLink ¶
type MeterReadingListLink struct {
ListLink
MeterReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MeterReadingListLink_r2_3,omitempty"`
}
MeterReadingListLink is generated from the XML Schema type MeterReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*MeterReadingListLink) Validate ¶
func (v *MeterReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type MethodSpec ¶
type MethodSpec struct {
Method string
Conformance Conformance
// Request and Response are the document elements of the bodies, or
// "" for none.
Request string
Response string
// QueryParams are the query parameters the method accepts.
QueryParams []string
// Statuses are the status codes the WADL lists for the method.
Statuses []int
}
MethodSpec describes an HTTP method on a resource.
type MirrorMeterReading ¶
type MirrorMeterReading struct {
MeterReadingBase
LastUpdateTime *TimeType `xml:"urn:ieee:std:2030.5:ns lastUpdateTime,omitempty"`
MirrorReadingSet []MirrorReadingSet `xml:"urn:ieee:std:2030.5:ns MirrorReadingSet,omitempty"`
NextUpdateTime *TimeType `xml:"urn:ieee:std:2030.5:ns nextUpdateTime,omitempty"`
Reading *Reading `xml:"urn:ieee:std:2030.5:ns Reading,omitempty"`
ReadingType *ReadingType `xml:"urn:ieee:std:2030.5:ns ReadingType,omitempty"`
MirrorMeterReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorMeterReading_r2_3,omitempty"`
}
MirrorMeterReading is generated from the XML Schema type MirrorMeterReading in namespace urn:ieee:std:2030.5:ns.
func (*MirrorMeterReading) Validate ¶
func (v *MirrorMeterReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type MirrorMeterReadingList ¶
type MirrorMeterReadingList struct {
List
MirrorMeterReading []MirrorMeterReading `xml:"urn:ieee:std:2030.5:ns MirrorMeterReading,omitempty"`
MirrorMeterReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorMeterReadingList_r2_3,omitempty"`
}
MirrorMeterReadingList is generated from the XML Schema type MirrorMeterReadingList in namespace urn:ieee:std:2030.5:ns.
func (*MirrorMeterReadingList) Validate ¶
func (v *MirrorMeterReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type MirrorReadingSet ¶
type MirrorReadingSet struct {
ReadingSetBase
Reading []Reading `xml:"urn:ieee:std:2030.5:ns Reading,omitempty"`
MirrorReadingSetR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorReadingSet_r2_3,omitempty"`
}
MirrorReadingSet is generated from the XML Schema type MirrorReadingSet in namespace urn:ieee:std:2030.5:ns.
func (*MirrorReadingSet) Validate ¶
func (v *MirrorReadingSet) Validate() error
Validate reports the first constraint of the schema that v violates.
type MirrorUsagePoint ¶
type MirrorUsagePoint struct {
UsagePointBase
DeviceLFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns deviceLFDI"`
MirrorMeterReading []MirrorMeterReading `xml:"urn:ieee:std:2030.5:ns MirrorMeterReading,omitempty"`
PostRate *UInt32 `xml:"urn:ieee:std:2030.5:ns postRate,omitempty"`
UsagePointLink *UsagePointLink `xml:"urn:ieee:std:2030.5:ns UsagePointLink,omitempty"`
MirrorUsagePointR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorUsagePoint_r2_3,omitempty"`
Subscribable *SubscribableType `xml:"subscribable,attr,omitempty"`
}
MirrorUsagePoint is generated from the XML Schema type MirrorUsagePoint in namespace urn:ieee:std:2030.5:ns.
func (*MirrorUsagePoint) GetSubscribable ¶
func (v *MirrorUsagePoint) GetSubscribable() SubscribableType
GetSubscribable returns Subscribable, or its schema default 0 when it is absent.
func (*MirrorUsagePoint) Validate ¶
func (v *MirrorUsagePoint) Validate() error
Validate reports the first constraint of the schema that v violates.
type MirrorUsagePointList ¶
type MirrorUsagePointList struct {
SubscribableList
MirrorUsagePoint []MirrorUsagePoint `xml:"urn:ieee:std:2030.5:ns MirrorUsagePoint,omitempty"`
MirrorUsagePointListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorUsagePointList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
MirrorUsagePointList is generated from the XML Schema type MirrorUsagePointList in namespace urn:ieee:std:2030.5:ns.
func (*MirrorUsagePointList) GetPollRate ¶
func (v *MirrorUsagePointList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*MirrorUsagePointList) Validate ¶
func (v *MirrorUsagePointList) Validate() error
Validate reports the first constraint of the schema that v violates.
type MirrorUsagePointListLink ¶
type MirrorUsagePointListLink struct {
ListLink
MirrorUsagePointListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns MirrorUsagePointListLink_r2_3,omitempty"`
}
MirrorUsagePointListLink is generated from the XML Schema type MirrorUsagePointListLink in namespace urn:ieee:std:2030.5:ns.
func (*MirrorUsagePointListLink) Validate ¶
func (v *MirrorUsagePointListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Neighbor ¶
type Neighbor struct {
Resource
IsChild bool `xml:"urn:ieee:std:2030.5:ns isChild"`
LinkQuality UInt8 `xml:"urn:ieee:std:2030.5:ns linkQuality"`
ShortAddress UInt16 `xml:"urn:ieee:std:2030.5:ns shortAddress"`
NeighborR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Neighbor_r2_3,omitempty"`
}
Neighbor is generated from the XML Schema type Neighbor in namespace urn:ieee:std:2030.5:ns.
type NeighborList ¶
type NeighborList struct {
List
Neighbor []Neighbor `xml:"urn:ieee:std:2030.5:ns Neighbor,omitempty"`
NeighborListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns NeighborList_r2_3,omitempty"`
}
NeighborList is generated from the XML Schema type NeighborList in namespace urn:ieee:std:2030.5:ns.
func (*NeighborList) Validate ¶
func (v *NeighborList) Validate() error
Validate reports the first constraint of the schema that v violates.
type NeighborListLink ¶
type NeighborListLink struct {
ListLink
NeighborListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns NeighborListLink_r2_3,omitempty"`
}
NeighborListLink is generated from the XML Schema type NeighborListLink in namespace urn:ieee:std:2030.5:ns.
func (*NeighborListLink) Validate ¶
func (v *NeighborListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Notification ¶
type Notification struct {
SubscriptionBase
CreatedDateTime *TimeType `xml:"urn:ieee:std:2030.5:ns createdDateTime,omitempty"`
NewResourceURI *string `xml:"urn:ieee:std:2030.5:ns newResourceURI,omitempty"`
Resource *AnyResource `xml:"urn:ieee:std:2030.5:ns Resource,omitempty"`
Status UInt8 `xml:"urn:ieee:std:2030.5:ns status"`
SubscriptionURI string `xml:"urn:ieee:std:2030.5:ns subscriptionURI"`
NotificationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Notification_r2_3,omitempty"`
}
Notification is generated from the XML Schema type Notification in namespace urn:ieee:std:2030.5:ns.
func (*Notification) Validate ¶
func (v *Notification) Validate() error
Validate reports the first constraint of the schema that v violates.
type NotificationList ¶
type NotificationList struct {
List
Notification []Notification `xml:"urn:ieee:std:2030.5:ns Notification,omitempty"`
NotificationListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns NotificationList_r2_3,omitempty"`
}
NotificationList is generated from the XML Schema type NotificationList in namespace urn:ieee:std:2030.5:ns.
func (*NotificationList) Validate ¶
func (v *NotificationList) Validate() error
Validate reports the first constraint of the schema that v violates.
type NotificationListLink ¶
type NotificationListLink struct {
ListLink
NotificationListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns NotificationListLink_r2_3,omitempty"`
}
NotificationListLink is generated from the XML Schema type NotificationListLink in namespace urn:ieee:std:2030.5:ns.
func (*NotificationListLink) Validate ¶
func (v *NotificationListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Offset ¶
type Offset struct {
CoolingOffset *UInt8 `xml:"urn:ieee:std:2030.5:ns coolingOffset,omitempty"`
HeatingOffset *UInt8 `xml:"urn:ieee:std:2030.5:ns heatingOffset,omitempty"`
LoadAdjustmentPercentageOffset *PerCent `xml:"urn:ieee:std:2030.5:ns loadAdjustmentPercentageOffset,omitempty"`
OffsetR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Offset_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
Offset is generated from the XML Schema type Offset in namespace urn:ieee:std:2030.5:ns.
type OneHourRangeType ¶
type OneHourRangeType int16
OneHourRangeType is generated from the XML Schema type OneHourRangeType in namespace urn:ieee:std:2030.5:ns.
type OperationalModeStatusType ¶
type OperationalModeStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value UInt8 `xml:"urn:ieee:std:2030.5:ns value"`
OperationalModeStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns OperationalModeStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
OperationalModeStatusType is generated from the XML Schema type OperationalModeStatusType in namespace urn:ieee:std:2030.5:ns.
func (*OperationalModeStatusType) Validate ¶
func (v *OperationalModeStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type PENType ¶
type PENType uint32
PENType is generated from the XML Schema type PENType in namespace urn:ieee:std:2030.5:ns.
type PEVInfo ¶
type PEVInfo struct {
ChargingPowerNow ActivePower `xml:"urn:ieee:std:2030.5:ns chargingPowerNow"`
EnergyRequestNow RealEnergy `xml:"urn:ieee:std:2030.5:ns energyRequestNow"`
MaxForwardPower ActivePower `xml:"urn:ieee:std:2030.5:ns maxForwardPower"`
MinimumChargingDuration UInt32 `xml:"urn:ieee:std:2030.5:ns minimumChargingDuration"`
TargetStateOfCharge PerCent `xml:"urn:ieee:std:2030.5:ns targetStateOfCharge"`
TimeChargeIsNeeded TimeType `xml:"urn:ieee:std:2030.5:ns timeChargeIsNeeded"`
TimeChargingStatusPEV TimeType `xml:"urn:ieee:std:2030.5:ns timeChargingStatusPEV"`
PEVInfoR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PEVInfo_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
PEVInfo is generated from the XML Schema type PEVInfo in namespace urn:ieee:std:2030.5:ns.
type PINType ¶
type PINType uint32
PINType is generated from the XML Schema type PINType in namespace urn:ieee:std:2030.5:ns.
type PerCent ¶
type PerCent uint16
PerCent is generated from the XML Schema type PerCent in namespace urn:ieee:std:2030.5:ns.
type PerCentControlType ¶
type PerCentControlType struct {
Value PerCent `xml:",chardata"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
PerCentControlType is generated from the XML Schema type PerCentControlType in namespace urn:ieee:std:2030.5:ns.
func (*PerCentControlType) GetDisabled ¶
func (v *PerCentControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*PerCentControlType) Validate ¶
func (v *PerCentControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type PhaseCode ¶
type PhaseCode uint8
PhaseCode is generated from the XML Schema type PhaseCode in namespace urn:ieee:std:2030.5:ns.
type PowerConfiguration ¶
type PowerConfiguration struct {
BatteryInstallTime *TimeType `xml:"urn:ieee:std:2030.5:ns batteryInstallTime,omitempty"`
LowChargeThreshold *UInt32 `xml:"urn:ieee:std:2030.5:ns lowChargeThreshold,omitempty"`
PowerConfigurationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerConfiguration_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
PowerConfiguration is generated from the XML Schema type PowerConfiguration in namespace urn:ieee:std:2030.5:ns.
func (*PowerConfiguration) Validate ¶
func (v *PowerConfiguration) Validate() error
Validate reports the first constraint of the schema that v violates.
type PowerFactor ¶
type PowerFactor struct {
Displacement UInt16 `xml:"urn:ieee:std:2030.5:ns displacement"`
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
PowerFactorR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerFactor_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
PowerFactor is generated from the XML Schema type PowerFactor in namespace urn:ieee:std:2030.5:ns.
func (*PowerFactor) Validate ¶
func (v *PowerFactor) Validate() error
Validate reports the first constraint of the schema that v violates.
type PowerFactorWithExcitation ¶
type PowerFactorWithExcitation struct {
Displacement UInt16 `xml:"urn:ieee:std:2030.5:ns displacement"`
Excitation bool `xml:"urn:ieee:std:2030.5:ns excitation"`
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
PowerFactorWithExcitationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerFactorWithExcitation_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
PowerFactorWithExcitation is generated from the XML Schema type PowerFactorWithExcitation in namespace urn:ieee:std:2030.5:ns.
func (*PowerFactorWithExcitation) Validate ¶
func (v *PowerFactorWithExcitation) Validate() error
Validate reports the first constraint of the schema that v violates.
type PowerFactorWithExcitationControlType ¶
type PowerFactorWithExcitationControlType struct {
PowerFactorWithExcitation
PowerFactorWithExcitationControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerFactorWithExcitationControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
PowerFactorWithExcitationControlType is generated from the XML Schema type PowerFactorWithExcitationControlType in namespace urn:ieee:std:2030.5:ns.
func (*PowerFactorWithExcitationControlType) GetDisabled ¶
func (v *PowerFactorWithExcitationControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*PowerFactorWithExcitationControlType) Validate ¶
func (v *PowerFactorWithExcitationControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type PowerOfTenMultiplierType ¶
type PowerOfTenMultiplierType int8
PowerOfTenMultiplierType is generated from the XML Schema type PowerOfTenMultiplierType in namespace urn:ieee:std:2030.5:ns.
type PowerSourceType ¶
type PowerSourceType uint8
PowerSourceType is generated from the XML Schema type PowerSourceType in namespace urn:ieee:std:2030.5:ns.
type PowerStatus ¶
type PowerStatus struct {
Resource
BatteryStatus UInt8 `xml:"urn:ieee:std:2030.5:ns batteryStatus"`
ChangedTime TimeType `xml:"urn:ieee:std:2030.5:ns changedTime"`
CurrentPowerSource PowerSourceType `xml:"urn:ieee:std:2030.5:ns currentPowerSource"`
EstimatedChargeRemaining *PerCent `xml:"urn:ieee:std:2030.5:ns estimatedChargeRemaining,omitempty"`
EstimatedTimeRemaining *UInt32 `xml:"urn:ieee:std:2030.5:ns estimatedTimeRemaining,omitempty"`
PEVInfo *PEVInfo `xml:"urn:ieee:std:2030.5:ns PEVInfo,omitempty"`
SessionTimeOnBattery *UInt32 `xml:"urn:ieee:std:2030.5:ns sessionTimeOnBattery,omitempty"`
TotalTimeOnBattery *UInt32 `xml:"urn:ieee:std:2030.5:ns totalTimeOnBattery,omitempty"`
PowerStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerStatus_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
PowerStatus is generated from the XML Schema type PowerStatus in namespace urn:ieee:std:2030.5:ns.
func (*PowerStatus) GetPollRate ¶
func (v *PowerStatus) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*PowerStatus) Validate ¶
func (v *PowerStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type PowerStatusLink ¶
type PowerStatusLink struct {
Link
PowerStatusLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PowerStatusLink_r2_3,omitempty"`
}
PowerStatusLink is generated from the XML Schema type PowerStatusLink in namespace urn:ieee:std:2030.5:ns.
func (*PowerStatusLink) Validate ¶
func (v *PowerStatusLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrepayModeType ¶
type PrepayModeType uint8
PrepayModeType is generated from the XML Schema type PrepayModeType in namespace urn:ieee:std:2030.5:ns.
type PrepayOperationStatus ¶
type PrepayOperationStatus struct {
Resource
CreditTypeChange *CreditTypeChange `xml:"urn:ieee:std:2030.5:ns creditTypeChange,omitempty"`
CreditTypeInUse *CreditTypeType `xml:"urn:ieee:std:2030.5:ns creditTypeInUse,omitempty"`
ServiceChange *ServiceChange `xml:"urn:ieee:std:2030.5:ns serviceChange,omitempty"`
ServiceStatus ServiceStatusType `xml:"urn:ieee:std:2030.5:ns serviceStatus"`
PrepayOperationStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PrepayOperationStatus_r2_3,omitempty"`
}
PrepayOperationStatus is generated from the XML Schema type PrepayOperationStatus in namespace urn:ieee:std:2030.5:ns.
func (*PrepayOperationStatus) Validate ¶
func (v *PrepayOperationStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrepayOperationStatusLink ¶
type PrepayOperationStatusLink struct {
Link
PrepayOperationStatusLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PrepayOperationStatusLink_r2_3,omitempty"`
}
PrepayOperationStatusLink is generated from the XML Schema type PrepayOperationStatusLink in namespace urn:ieee:std:2030.5:ns.
func (*PrepayOperationStatusLink) Validate ¶
func (v *PrepayOperationStatusLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Prepayment ¶
type Prepayment struct {
IdentifiedObject
AccountBalanceLink AccountBalanceLink `xml:"urn:ieee:std:2030.5:ns AccountBalanceLink"`
ActiveCreditRegisterListLink *ActiveCreditRegisterListLink `xml:"urn:ieee:std:2030.5:ns ActiveCreditRegisterListLink,omitempty"`
ActiveSupplyInterruptionOverrideListLink *ActiveSupplyInterruptionOverrideListLink `xml:"urn:ieee:std:2030.5:ns ActiveSupplyInterruptionOverrideListLink,omitempty"`
CreditExpiryLevel *AccountingUnit `xml:"urn:ieee:std:2030.5:ns creditExpiryLevel,omitempty"`
CreditRegisterListLink CreditRegisterListLink `xml:"urn:ieee:std:2030.5:ns CreditRegisterListLink"`
LowCreditWarningLevel *AccountingUnit `xml:"urn:ieee:std:2030.5:ns lowCreditWarningLevel,omitempty"`
LowEmergencyCreditWarningLevel *AccountingUnit `xml:"urn:ieee:std:2030.5:ns lowEmergencyCreditWarningLevel,omitempty"`
PrepayMode PrepayModeType `xml:"urn:ieee:std:2030.5:ns prepayMode"`
PrepayOperationStatusLink PrepayOperationStatusLink `xml:"urn:ieee:std:2030.5:ns PrepayOperationStatusLink"`
SupplyInterruptionOverrideListLink SupplyInterruptionOverrideListLink `xml:"urn:ieee:std:2030.5:ns SupplyInterruptionOverrideListLink"`
UsagePoint []UsagePoint `xml:"urn:ieee:std:2030.5:ns UsagePoint,omitempty"`
UsagePointLink *UsagePointLink `xml:"urn:ieee:std:2030.5:ns UsagePointLink,omitempty"`
PrepaymentR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Prepayment_r2_3,omitempty"`
}
Prepayment is generated from the XML Schema type Prepayment in namespace urn:ieee:std:2030.5:ns.
func (*Prepayment) Validate ¶
func (v *Prepayment) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrepaymentLink ¶
type PrepaymentLink struct {
Link
PrepaymentLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PrepaymentLink_r2_3,omitempty"`
}
PrepaymentLink is generated from the XML Schema type PrepaymentLink in namespace urn:ieee:std:2030.5:ns.
func (*PrepaymentLink) Validate ¶
func (v *PrepaymentLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrepaymentList ¶
type PrepaymentList struct {
SubscribableList
Prepayment []Prepayment `xml:"urn:ieee:std:2030.5:ns Prepayment,omitempty"`
PrepaymentListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PrepaymentList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
PrepaymentList is generated from the XML Schema type PrepaymentList in namespace urn:ieee:std:2030.5:ns.
func (*PrepaymentList) GetPollRate ¶
func (v *PrepaymentList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*PrepaymentList) Validate ¶
func (v *PrepaymentList) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrepaymentListLink ¶
type PrepaymentListLink struct {
ListLink
PrepaymentListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PrepaymentListLink_r2_3,omitempty"`
}
PrepaymentListLink is generated from the XML Schema type PrepaymentListLink in namespace urn:ieee:std:2030.5:ns.
func (*PrepaymentListLink) Validate ¶
func (v *PrepaymentListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type PriceResponse ¶
type PriceResponse struct {
Response
PriceResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PriceResponse_r2_3,omitempty"`
}
PriceResponse is generated from the XML Schema type PriceResponse in namespace urn:ieee:std:2030.5:ns.
func (*PriceResponse) Validate ¶
func (v *PriceResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type PriceResponseCfg ¶
type PriceResponseCfg struct {
Resource
ConsumeThreshold Int32 `xml:"urn:ieee:std:2030.5:ns consumeThreshold"`
MaxReductionThreshold Int32 `xml:"urn:ieee:std:2030.5:ns maxReductionThreshold"`
RateComponentLink RateComponentLink `xml:"urn:ieee:std:2030.5:ns RateComponentLink"`
PriceResponseCfgR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PriceResponseCfg_r2_3,omitempty"`
}
PriceResponseCfg is generated from the XML Schema type PriceResponseCfg in namespace urn:ieee:std:2030.5:ns.
func (*PriceResponseCfg) Validate ¶
func (v *PriceResponseCfg) Validate() error
Validate reports the first constraint of the schema that v violates.
type PriceResponseCfgList ¶
type PriceResponseCfgList struct {
List
PriceResponseCfg []PriceResponseCfg `xml:"urn:ieee:std:2030.5:ns PriceResponseCfg,omitempty"`
PriceResponseCfgListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PriceResponseCfgList_r2_3,omitempty"`
}
PriceResponseCfgList is generated from the XML Schema type PriceResponseCfgList in namespace urn:ieee:std:2030.5:ns.
func (*PriceResponseCfgList) Validate ¶
func (v *PriceResponseCfgList) Validate() error
Validate reports the first constraint of the schema that v violates.
type PriceResponseCfgListLink ¶
type PriceResponseCfgListLink struct {
ListLink
PriceResponseCfgListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PriceResponseCfgListLink_r2_3,omitempty"`
}
PriceResponseCfgListLink is generated from the XML Schema type PriceResponseCfgListLink in namespace urn:ieee:std:2030.5:ns.
func (*PriceResponseCfgListLink) Validate ¶
func (v *PriceResponseCfgListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type PrimacyType ¶
type PrimacyType uint8
PrimacyType is generated from the XML Schema type PrimacyType in namespace urn:ieee:std:2030.5:ns.
type PriorityData ¶
type PriorityData struct {
LFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns lFDI"`
PriorityDataR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns PriorityData_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
PriorityData is generated from the XML Schema type PriorityData in namespace urn:ieee:std:2030.5:ns.
func (*PriorityData) Validate ¶
func (v *PriorityData) Validate() error
Validate reports the first constraint of the schema that v violates.
type PriorityType ¶
type PriorityType uint8
PriorityType is generated from the XML Schema type PriorityType in namespace urn:ieee:std:2030.5:ns.
type Profile ¶
type Profile string
Profile identifies an implementation profile that constrains or extends the base IEEE 2030.5 standard for a particular jurisdiction.
const ( // ProfileCSIP is the Common Smart Inverter Profile, used in // California for Rule 21 and the CPUC Smart Inverter mandate. ProfileCSIP Profile = "CSIP" // ProfileCSIPAUS is the Common Smart Inverter Profile — Australia, // used for AS/NZS 4777.2 compliance and AEMO requirements. ProfileCSIPAUS Profile = "CSIP-AUS" )
Implementation profiles.
type ProjectionReading ¶
type ProjectionReading struct {
BillingMeterReadingBase
ProjectionReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProjectionReading_r2_3,omitempty"`
}
ProjectionReading is generated from the XML Schema type ProjectionReading in namespace urn:ieee:std:2030.5:ns.
func (*ProjectionReading) Validate ¶
func (v *ProjectionReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type ProjectionReadingList ¶
type ProjectionReadingList struct {
List
ProjectionReading []ProjectionReading `xml:"urn:ieee:std:2030.5:ns ProjectionReading,omitempty"`
ProjectionReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProjectionReadingList_r2_3,omitempty"`
}
ProjectionReadingList is generated from the XML Schema type ProjectionReadingList in namespace urn:ieee:std:2030.5:ns.
func (*ProjectionReadingList) Validate ¶
func (v *ProjectionReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ProjectionReadingListLink ¶
type ProjectionReadingListLink struct {
ListLink
ProjectionReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProjectionReadingListLink_r2_3,omitempty"`
}
ProjectionReadingListLink is generated from the XML Schema type ProjectionReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*ProjectionReadingListLink) Validate ¶
func (v *ProjectionReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ProxiedDevice ¶
type ProxiedDevice struct {
ExternalDevice
ProxiedDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProxiedDevice_r2_3,omitempty"`
}
ProxiedDevice is generated from the XML Schema type ProxiedDevice in namespace urn:ieee:std:2030.5:ns.
func (*ProxiedDevice) Validate ¶
func (v *ProxiedDevice) Validate() error
Validate reports the first constraint of the schema that v violates.
type ProxiedDeviceList ¶
type ProxiedDeviceList struct {
SubscribableList
ProxiedDevice []ProxiedDevice `xml:"urn:ieee:std:2030.5:ns ProxiedDevice,omitempty"`
ProxiedDeviceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProxiedDeviceList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
ProxiedDeviceList is generated from the XML Schema type ProxiedDeviceList in namespace urn:ieee:std:2030.5:ns.
func (*ProxiedDeviceList) GetPollRate ¶
func (v *ProxiedDeviceList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*ProxiedDeviceList) Validate ¶
func (v *ProxiedDeviceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ProxiedDeviceListLink ¶
type ProxiedDeviceListLink struct {
ListLink
ProxiedDeviceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ProxiedDeviceListLink_r2_3,omitempty"`
}
ProxiedDeviceListLink is generated from the XML Schema type ProxiedDeviceListLink in namespace urn:ieee:std:2030.5:ns.
func (*ProxiedDeviceListLink) Validate ¶
func (v *ProxiedDeviceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLInstance ¶
type RPLInstance struct {
Resource
DODAGid UInt8 `xml:"urn:ieee:std:2030.5:ns DODAGid"`
DODAGroot bool `xml:"urn:ieee:std:2030.5:ns DODAGroot"`
Flags UInt8 `xml:"urn:ieee:std:2030.5:ns flags"`
GroundedFlag bool `xml:"urn:ieee:std:2030.5:ns groundedFlag"`
MOP UInt8 `xml:"urn:ieee:std:2030.5:ns MOP"`
PRF UInt8 `xml:"urn:ieee:std:2030.5:ns PRF"`
Rank UInt16 `xml:"urn:ieee:std:2030.5:ns rank"`
RPLInstanceID UInt8 `xml:"urn:ieee:std:2030.5:ns RPLInstanceID"`
RPLSourceRoutesListLink *RPLSourceRoutesListLink `xml:"urn:ieee:std:2030.5:ns RPLSourceRoutesListLink,omitempty"`
VersionNumber UInt8 `xml:"urn:ieee:std:2030.5:ns versionNumber"`
RPLInstanceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLInstance_r2_3,omitempty"`
}
RPLInstance is generated from the XML Schema type RPLInstance in namespace urn:ieee:std:2030.5:ns.
func (*RPLInstance) Validate ¶
func (v *RPLInstance) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLInstanceList ¶
type RPLInstanceList struct {
List
RPLInstance []RPLInstance `xml:"urn:ieee:std:2030.5:ns RPLInstance,omitempty"`
RPLInstanceListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLInstanceList_r2_3,omitempty"`
}
RPLInstanceList is generated from the XML Schema type RPLInstanceList in namespace urn:ieee:std:2030.5:ns.
func (*RPLInstanceList) Validate ¶
func (v *RPLInstanceList) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLInstanceListLink ¶
type RPLInstanceListLink struct {
ListLink
RPLInstanceListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLInstanceListLink_r2_3,omitempty"`
}
RPLInstanceListLink is generated from the XML Schema type RPLInstanceListLink in namespace urn:ieee:std:2030.5:ns.
func (*RPLInstanceListLink) Validate ¶
func (v *RPLInstanceListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLSourceRoutes ¶
type RPLSourceRoutes struct {
Resource
DestAddress HexBinary128 `xml:"urn:ieee:std:2030.5:ns DestAddress"`
SourceRoute HexBinary128 `xml:"urn:ieee:std:2030.5:ns SourceRoute"`
RPLSourceRoutesR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLSourceRoutes_r2_3,omitempty"`
}
RPLSourceRoutes is generated from the XML Schema type RPLSourceRoutes in namespace urn:ieee:std:2030.5:ns.
func (*RPLSourceRoutes) Validate ¶
func (v *RPLSourceRoutes) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLSourceRoutesList ¶
type RPLSourceRoutesList struct {
List
RPLSourceRoutes []RPLSourceRoutes `xml:"urn:ieee:std:2030.5:ns RPLSourceRoutes,omitempty"`
RPLSourceRoutesListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLSourceRoutesList_r2_3,omitempty"`
}
RPLSourceRoutesList is generated from the XML Schema type RPLSourceRoutesList in namespace urn:ieee:std:2030.5:ns.
func (*RPLSourceRoutesList) Validate ¶
func (v *RPLSourceRoutesList) Validate() error
Validate reports the first constraint of the schema that v violates.
type RPLSourceRoutesListLink ¶
type RPLSourceRoutesListLink struct {
ListLink
RPLSourceRoutesListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RPLSourceRoutesListLink_r2_3,omitempty"`
}
RPLSourceRoutesListLink is generated from the XML Schema type RPLSourceRoutesListLink in namespace urn:ieee:std:2030.5:ns.
func (*RPLSourceRoutesListLink) Validate ¶
func (v *RPLSourceRoutesListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RandomizableEvent ¶
type RandomizableEvent struct {
Event
RandomizeDuration *OneHourRangeType `xml:"urn:ieee:std:2030.5:ns randomizeDuration,omitempty"`
RandomizeStart *OneHourRangeType `xml:"urn:ieee:std:2030.5:ns randomizeStart,omitempty"`
RandomizableEventR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RandomizableEvent_r2_3,omitempty"`
}
RandomizableEvent is generated from the XML Schema type RandomizableEvent in namespace urn:ieee:std:2030.5:ns.
func (*RandomizableEvent) GetRandomizeDuration ¶
func (v *RandomizableEvent) GetRandomizeDuration() OneHourRangeType
GetRandomizeDuration returns RandomizeDuration, or its schema default 0 when it is absent.
func (*RandomizableEvent) GetRandomizeStart ¶
func (v *RandomizableEvent) GetRandomizeStart() OneHourRangeType
GetRandomizeStart returns RandomizeStart, or its schema default 0 when it is absent.
func (*RandomizableEvent) Validate ¶
func (v *RandomizableEvent) Validate() error
Validate reports the first constraint of the schema that v violates.
type RateComponent ¶
type RateComponent struct {
IdentifiedObject
ActiveTimeTariffIntervalListLink *ActiveTimeTariffIntervalListLink `xml:"urn:ieee:std:2030.5:ns ActiveTimeTariffIntervalListLink,omitempty"`
FlowRateEndLimit *UnitValueType `xml:"urn:ieee:std:2030.5:ns flowRateEndLimit,omitempty"`
FlowRateStartLimit *UnitValueType `xml:"urn:ieee:std:2030.5:ns flowRateStartLimit,omitempty"`
ReadingTypeLink ReadingTypeLink `xml:"urn:ieee:std:2030.5:ns ReadingTypeLink"`
RoleFlags RoleFlagsType `xml:"urn:ieee:std:2030.5:ns roleFlags"`
TimeTariffIntervalListLink TimeTariffIntervalListLink `xml:"urn:ieee:std:2030.5:ns TimeTariffIntervalListLink"`
RateComponentR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RateComponent_r2_3,omitempty"`
}
RateComponent is generated from the XML Schema type RateComponent in namespace urn:ieee:std:2030.5:ns.
func (*RateComponent) Validate ¶
func (v *RateComponent) Validate() error
Validate reports the first constraint of the schema that v violates.
type RateComponentLink ¶
type RateComponentLink struct {
Link
RateComponentLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RateComponentLink_r2_3,omitempty"`
}
RateComponentLink is generated from the XML Schema type RateComponentLink in namespace urn:ieee:std:2030.5:ns.
func (*RateComponentLink) Validate ¶
func (v *RateComponentLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RateComponentList ¶
type RateComponentList struct {
List
RateComponent []RateComponent `xml:"urn:ieee:std:2030.5:ns RateComponent,omitempty"`
RateComponentListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RateComponentList_r2_3,omitempty"`
}
RateComponentList is generated from the XML Schema type RateComponentList in namespace urn:ieee:std:2030.5:ns.
func (*RateComponentList) Validate ¶
func (v *RateComponentList) Validate() error
Validate reports the first constraint of the schema that v violates.
type RateComponentListLink ¶
type RateComponentListLink struct {
ListLink
RateComponentListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RateComponentListLink_r2_3,omitempty"`
}
RateComponentListLink is generated from the XML Schema type RateComponentListLink in namespace urn:ieee:std:2030.5:ns.
func (*RateComponentListLink) Validate ¶
func (v *RateComponentListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReactivePower ¶
type ReactivePower struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value Int16 `xml:"urn:ieee:std:2030.5:ns value"`
ReactivePowerR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReactivePower_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ReactivePower is generated from the XML Schema type ReactivePower in namespace urn:ieee:std:2030.5:ns.
func (*ReactivePower) Validate ¶
func (v *ReactivePower) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReactivePowerControlType ¶
type ReactivePowerControlType struct {
ReactivePower
ReactivePowerControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReactivePowerControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
ReactivePowerControlType is generated from the XML Schema type ReactivePowerControlType in namespace urn:ieee:std:2030.5:ns.
func (*ReactivePowerControlType) GetDisabled ¶
func (v *ReactivePowerControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*ReactivePowerControlType) Validate ¶
func (v *ReactivePowerControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReactivePowerDeltaControlType ¶
type ReactivePowerDeltaControlType struct {
ReactivePower
ReactivePowerDeltaControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReactivePowerDeltaControlType_r2_3,omitempty"`
Bidirectional *DeltaBidirectionalType `xml:"bidirectional,attr,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
ReactivePowerDeltaControlType is generated from the XML Schema type ReactivePowerDeltaControlType in namespace urn:ieee:std:2030.5:ns.
func (*ReactivePowerDeltaControlType) GetBidirectional ¶
func (v *ReactivePowerDeltaControlType) GetBidirectional() DeltaBidirectionalType
GetBidirectional returns Bidirectional, or its schema default 0 when it is absent.
func (*ReactivePowerDeltaControlType) GetDisabled ¶
func (v *ReactivePowerDeltaControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*ReactivePowerDeltaControlType) Validate ¶
func (v *ReactivePowerDeltaControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReactiveSusceptance ¶
type ReactiveSusceptance struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
ReactiveSusceptanceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReactiveSusceptance_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ReactiveSusceptance is generated from the XML Schema type ReactiveSusceptance in namespace urn:ieee:std:2030.5:ns.
func (*ReactiveSusceptance) Validate ¶
func (v *ReactiveSusceptance) Validate() error
Validate reports the first constraint of the schema that v violates.
type Reading ¶
type Reading struct {
ReadingBase
LocalID *HexBinary16 `xml:"urn:ieee:std:2030.5:ns localID,omitempty"`
ReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Reading_r2_3,omitempty"`
Subscribable *SubscribableType `xml:"subscribable,attr,omitempty"`
}
Reading is generated from the XML Schema type Reading in namespace urn:ieee:std:2030.5:ns.
func (*Reading) GetSubscribable ¶
func (v *Reading) GetSubscribable() SubscribableType
GetSubscribable returns Subscribable, or its schema default 0 when it is absent.
type ReadingBase ¶
type ReadingBase struct {
Resource
ConsumptionBlock *ConsumptionBlockType `xml:"urn:ieee:std:2030.5:ns consumptionBlock,omitempty"`
QualityFlags *HexBinary16 `xml:"urn:ieee:std:2030.5:ns qualityFlags,omitempty"`
TimePeriod *DateTimeInterval `xml:"urn:ieee:std:2030.5:ns timePeriod,omitempty"`
TouTier *TOUType `xml:"urn:ieee:std:2030.5:ns touTier,omitempty"`
Value *Int48 `xml:"urn:ieee:std:2030.5:ns value,omitempty"`
ReadingBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingBase_r2_3,omitempty"`
}
ReadingBase is generated from the XML Schema type ReadingBase in namespace urn:ieee:std:2030.5:ns.
func (*ReadingBase) GetConsumptionBlock ¶
func (v *ReadingBase) GetConsumptionBlock() ConsumptionBlockType
GetConsumptionBlock returns ConsumptionBlock, or its schema default 0 when it is absent.
func (*ReadingBase) GetQualityFlags ¶
func (v *ReadingBase) GetQualityFlags() HexBinary16
GetQualityFlags returns QualityFlags, or its schema default HexBinary16{0x00} when it is absent.
func (*ReadingBase) GetTouTier ¶
func (v *ReadingBase) GetTouTier() TOUType
GetTouTier returns TouTier, or its schema default 0 when it is absent.
func (*ReadingBase) Validate ¶
func (v *ReadingBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingLink ¶
type ReadingLink struct {
Link
ReadingLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingLink_r2_3,omitempty"`
}
ReadingLink is generated from the XML Schema type ReadingLink in namespace urn:ieee:std:2030.5:ns.
func (*ReadingLink) Validate ¶
func (v *ReadingLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingList ¶
type ReadingList struct {
SubscribableList
Reading []Reading `xml:"urn:ieee:std:2030.5:ns Reading,omitempty"`
ReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingList_r2_3,omitempty"`
}
ReadingList is generated from the XML Schema type ReadingList in namespace urn:ieee:std:2030.5:ns.
func (*ReadingList) Validate ¶
func (v *ReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingListLink ¶
type ReadingListLink struct {
ListLink
ReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingListLink_r2_3,omitempty"`
}
ReadingListLink is generated from the XML Schema type ReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*ReadingListLink) Validate ¶
func (v *ReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingSet ¶
type ReadingSet struct {
ReadingSetBase
ReadingListLink *ReadingListLink `xml:"urn:ieee:std:2030.5:ns ReadingListLink,omitempty"`
ReadingSetR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingSet_r2_3,omitempty"`
}
ReadingSet is generated from the XML Schema type ReadingSet in namespace urn:ieee:std:2030.5:ns.
func (*ReadingSet) Validate ¶
func (v *ReadingSet) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingSetBase ¶
type ReadingSetBase struct {
IdentifiedObject
TimePeriod DateTimeInterval `xml:"urn:ieee:std:2030.5:ns timePeriod"`
ReadingSetBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingSetBase_r2_3,omitempty"`
}
ReadingSetBase is generated from the XML Schema type ReadingSetBase in namespace urn:ieee:std:2030.5:ns.
func (*ReadingSetBase) Validate ¶
func (v *ReadingSetBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingSetList ¶
type ReadingSetList struct {
SubscribableList
ReadingSet []ReadingSet `xml:"urn:ieee:std:2030.5:ns ReadingSet,omitempty"`
ReadingSetListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingSetList_r2_3,omitempty"`
}
ReadingSetList is generated from the XML Schema type ReadingSetList in namespace urn:ieee:std:2030.5:ns.
func (*ReadingSetList) Validate ¶
func (v *ReadingSetList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingSetListLink ¶
type ReadingSetListLink struct {
ListLink
ReadingSetListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingSetListLink_r2_3,omitempty"`
}
ReadingSetListLink is generated from the XML Schema type ReadingSetListLink in namespace urn:ieee:std:2030.5:ns.
func (*ReadingSetListLink) Validate ¶
func (v *ReadingSetListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingType ¶
type ReadingType struct {
Resource
AccumulationBehaviour *AccumulationBehaviourType `xml:"urn:ieee:std:2030.5:ns accumulationBehaviour,omitempty"`
CalorificValue *UnitValueType `xml:"urn:ieee:std:2030.5:ns calorificValue,omitempty"`
Commodity *CommodityType `xml:"urn:ieee:std:2030.5:ns commodity,omitempty"`
ConversionFactor *UnitValueType `xml:"urn:ieee:std:2030.5:ns conversionFactor,omitempty"`
DataQualifier *DataQualifierType `xml:"urn:ieee:std:2030.5:ns dataQualifier,omitempty"`
FlowDirection *FlowDirectionType `xml:"urn:ieee:std:2030.5:ns flowDirection,omitempty"`
IntervalLength *UInt32 `xml:"urn:ieee:std:2030.5:ns intervalLength,omitempty"`
Kind *KindType `xml:"urn:ieee:std:2030.5:ns kind,omitempty"`
MaxNumberOfIntervals *UInt8 `xml:"urn:ieee:std:2030.5:ns maxNumberOfIntervals,omitempty"`
NumberOfConsumptionBlocks *UInt8 `xml:"urn:ieee:std:2030.5:ns numberOfConsumptionBlocks,omitempty"`
NumberOfTouTiers *UInt8 `xml:"urn:ieee:std:2030.5:ns numberOfTouTiers,omitempty"`
Phase *PhaseCode `xml:"urn:ieee:std:2030.5:ns phase,omitempty"`
PowerOfTenMultiplier *PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns powerOfTenMultiplier,omitempty"`
SubIntervalLength *UInt32 `xml:"urn:ieee:std:2030.5:ns subIntervalLength,omitempty"`
SupplyLimit *UInt48 `xml:"urn:ieee:std:2030.5:ns supplyLimit,omitempty"`
TieredConsumptionBlocks *bool `xml:"urn:ieee:std:2030.5:ns tieredConsumptionBlocks,omitempty"`
Uom *UomType `xml:"urn:ieee:std:2030.5:ns uom,omitempty"`
ReadingTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingType_r2_3,omitempty"`
}
ReadingType is generated from the XML Schema type ReadingType in namespace urn:ieee:std:2030.5:ns.
func (*ReadingType) GetAccumulationBehaviour ¶
func (v *ReadingType) GetAccumulationBehaviour() AccumulationBehaviourType
GetAccumulationBehaviour returns AccumulationBehaviour, or its schema default 0 when it is absent.
func (*ReadingType) GetCommodity ¶
func (v *ReadingType) GetCommodity() CommodityType
GetCommodity returns Commodity, or its schema default 0 when it is absent.
func (*ReadingType) GetDataQualifier ¶
func (v *ReadingType) GetDataQualifier() DataQualifierType
GetDataQualifier returns DataQualifier, or its schema default 0 when it is absent.
func (*ReadingType) GetFlowDirection ¶
func (v *ReadingType) GetFlowDirection() FlowDirectionType
GetFlowDirection returns FlowDirection, or its schema default 0 when it is absent.
func (*ReadingType) GetKind ¶
func (v *ReadingType) GetKind() KindType
GetKind returns Kind, or its schema default 0 when it is absent.
func (*ReadingType) GetNumberOfConsumptionBlocks ¶
func (v *ReadingType) GetNumberOfConsumptionBlocks() UInt8
GetNumberOfConsumptionBlocks returns NumberOfConsumptionBlocks, or its schema default 0 when it is absent.
func (*ReadingType) GetNumberOfTouTiers ¶
func (v *ReadingType) GetNumberOfTouTiers() UInt8
GetNumberOfTouTiers returns NumberOfTouTiers, or its schema default 0 when it is absent.
func (*ReadingType) GetPhase ¶
func (v *ReadingType) GetPhase() PhaseCode
GetPhase returns Phase, or its schema default 0 when it is absent.
func (*ReadingType) GetPowerOfTenMultiplier ¶
func (v *ReadingType) GetPowerOfTenMultiplier() PowerOfTenMultiplierType
GetPowerOfTenMultiplier returns PowerOfTenMultiplier, or its schema default 0 when it is absent.
func (*ReadingType) GetTieredConsumptionBlocks ¶
func (v *ReadingType) GetTieredConsumptionBlocks() bool
GetTieredConsumptionBlocks returns TieredConsumptionBlocks, or its schema default false when it is absent.
func (*ReadingType) GetUom ¶
func (v *ReadingType) GetUom() UomType
GetUom returns Uom, or its schema default 0 when it is absent.
func (*ReadingType) Validate ¶
func (v *ReadingType) Validate() error
Validate reports the first constraint of the schema that v violates.
type ReadingTypeLink ¶
type ReadingTypeLink struct {
Link
ReadingTypeLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ReadingTypeLink_r2_3,omitempty"`
}
ReadingTypeLink is generated from the XML Schema type ReadingTypeLink in namespace urn:ieee:std:2030.5:ns.
func (*ReadingTypeLink) Validate ¶
func (v *ReadingTypeLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RealEnergy ¶
type RealEnergy struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt48 `xml:"urn:ieee:std:2030.5:ns value"`
RealEnergyR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RealEnergy_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
RealEnergy is generated from the XML Schema type RealEnergy in namespace urn:ieee:std:2030.5:ns.
func (*RealEnergy) Validate ¶
func (v *RealEnergy) Validate() error
Validate reports the first constraint of the schema that v violates.
type Registration ¶
type Registration struct {
Resource
DateTimeRegistered TimeType `xml:"urn:ieee:std:2030.5:ns dateTimeRegistered"`
PIN PINType `xml:"urn:ieee:std:2030.5:ns pIN"`
RegistrationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Registration_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
Registration is generated from the XML Schema type Registration in namespace urn:ieee:std:2030.5:ns.
func (*Registration) GetPollRate ¶
func (v *Registration) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*Registration) Validate ¶
func (v *Registration) Validate() error
Validate reports the first constraint of the schema that v violates.
type RegistrationLink ¶
type RegistrationLink struct {
Link
RegistrationLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RegistrationLink_r2_3,omitempty"`
}
RegistrationLink is generated from the XML Schema type RegistrationLink in namespace urn:ieee:std:2030.5:ns.
func (*RegistrationLink) Validate ¶
func (v *RegistrationLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type RequestStatus ¶
type RequestStatus struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
RequestStatus UInt8 `xml:"urn:ieee:std:2030.5:ns requestStatus"`
RequestStatusR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RequestStatus_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
RequestStatus is generated from the XML Schema type RequestStatus in namespace urn:ieee:std:2030.5:ns.
func (*RequestStatus) Validate ¶
func (v *RequestStatus) Validate() error
Validate reports the first constraint of the schema that v violates.
type Resource ¶
type Resource struct {
ResourceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Resource_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
Href *string `xml:"href,attr,omitempty"`
}
Resource is generated from the XML Schema type Resource in namespace urn:ieee:std:2030.5:ns.
type ResourceSpec ¶
type ResourceSpec struct {
// ID is the resource id of the WADL, such as "EndDeviceList".
ID string
// SamplePath is the sample URI of the WADL. Servers choose their own
// URIs; clients follow links rather than build paths.
SamplePath string
Methods []MethodSpec
}
ResourceSpec describes a resource of the IEEE 2030.5 WADL.
func LookupResource ¶
func LookupResource(id string) (ResourceSpec, bool)
LookupResource returns the resource with the given WADL id.
type RespondableIdentifiedObject ¶
type RespondableIdentifiedObject struct {
RespondableResource
MRID MRIDType `xml:"urn:ieee:std:2030.5:ns mRID"`
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Version *VersionType `xml:"urn:ieee:std:2030.5:ns version,omitempty"`
RespondableIdentifiedObjectR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RespondableIdentifiedObject_r2_3,omitempty"`
}
RespondableIdentifiedObject is generated from the XML Schema type RespondableIdentifiedObject in namespace urn:ieee:std:2030.5:ns.
func (*RespondableIdentifiedObject) GetVersion ¶
func (v *RespondableIdentifiedObject) GetVersion() VersionType
GetVersion returns Version, or its schema default 0 when it is absent.
func (*RespondableIdentifiedObject) Validate ¶
func (v *RespondableIdentifiedObject) Validate() error
Validate reports the first constraint of the schema that v violates.
type RespondableResource ¶
type RespondableResource struct {
Resource
RespondableResourceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RespondableResource_r2_3,omitempty"`
ReplyTo *string `xml:"replyTo,attr,omitempty"`
ResponseRequired *HexBinary8 `xml:"responseRequired,attr,omitempty"`
}
RespondableResource is generated from the XML Schema type RespondableResource in namespace urn:ieee:std:2030.5:ns.
func (*RespondableResource) GetResponseRequired ¶
func (v *RespondableResource) GetResponseRequired() HexBinary8
GetResponseRequired returns ResponseRequired, or its schema default HexBinary8{0x00} when it is absent.
func (*RespondableResource) Validate ¶
func (v *RespondableResource) Validate() error
Validate reports the first constraint of the schema that v violates.
type RespondableSubscribableIdentifiedObject ¶
type RespondableSubscribableIdentifiedObject struct {
RespondableResource
MRID MRIDType `xml:"urn:ieee:std:2030.5:ns mRID"`
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Version *VersionType `xml:"urn:ieee:std:2030.5:ns version,omitempty"`
RespondableSubscribableIdentifiedObjectR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns RespondableSubscribableIdentifiedObject_r2_3,omitempty"`
Subscribable *SubscribableType `xml:"subscribable,attr,omitempty"`
}
RespondableSubscribableIdentifiedObject is generated from the XML Schema type RespondableSubscribableIdentifiedObject in namespace urn:ieee:std:2030.5:ns.
func (*RespondableSubscribableIdentifiedObject) GetSubscribable ¶
func (v *RespondableSubscribableIdentifiedObject) GetSubscribable() SubscribableType
GetSubscribable returns Subscribable, or its schema default 0 when it is absent.
func (*RespondableSubscribableIdentifiedObject) GetVersion ¶
func (v *RespondableSubscribableIdentifiedObject) GetVersion() VersionType
GetVersion returns Version, or its schema default 0 when it is absent.
func (*RespondableSubscribableIdentifiedObject) Validate ¶
func (v *RespondableSubscribableIdentifiedObject) Validate() error
Validate reports the first constraint of the schema that v violates.
type Response ¶
type Response struct {
Resource
CreatedDateTime *TimeType `xml:"urn:ieee:std:2030.5:ns createdDateTime,omitempty"`
EndDeviceLFDI HexBinary160 `xml:"urn:ieee:std:2030.5:ns endDeviceLFDI"`
Status *UInt8 `xml:"urn:ieee:std:2030.5:ns status,omitempty"`
Subject MRIDType `xml:"urn:ieee:std:2030.5:ns subject"`
ResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Response_r2_3,omitempty"`
}
Response is generated from the XML Schema type Response in namespace urn:ieee:std:2030.5:ns.
type ResponseList ¶
type ResponseList struct {
List
Response []Response `xml:"urn:ieee:std:2030.5:ns Response,omitempty"`
ResponseListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ResponseList_r2_3,omitempty"`
}
ResponseList is generated from the XML Schema type ResponseList in namespace urn:ieee:std:2030.5:ns.
func (*ResponseList) Validate ¶
func (v *ResponseList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ResponseListLink ¶
type ResponseListLink struct {
ListLink
ResponseListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ResponseListLink_r2_3,omitempty"`
}
ResponseListLink is generated from the XML Schema type ResponseListLink in namespace urn:ieee:std:2030.5:ns.
func (*ResponseListLink) Validate ¶
func (v *ResponseListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ResponseSet ¶
type ResponseSet struct {
IdentifiedObject
ResponseListLink *ResponseListLink `xml:"urn:ieee:std:2030.5:ns ResponseListLink,omitempty"`
ResponseSetR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ResponseSet_r2_3,omitempty"`
}
ResponseSet is generated from the XML Schema type ResponseSet in namespace urn:ieee:std:2030.5:ns.
func (*ResponseSet) Validate ¶
func (v *ResponseSet) Validate() error
Validate reports the first constraint of the schema that v violates.
type ResponseSetList ¶
type ResponseSetList struct {
List
ResponseSet []ResponseSet `xml:"urn:ieee:std:2030.5:ns ResponseSet,omitempty"`
ResponseSetListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ResponseSetList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
ResponseSetList is generated from the XML Schema type ResponseSetList in namespace urn:ieee:std:2030.5:ns.
func (*ResponseSetList) GetPollRate ¶
func (v *ResponseSetList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*ResponseSetList) Validate ¶
func (v *ResponseSetList) Validate() error
Validate reports the first constraint of the schema that v violates.
type ResponseSetListLink ¶
type ResponseSetListLink struct {
ListLink
ResponseSetListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ResponseSetListLink_r2_3,omitempty"`
}
ResponseSetListLink is generated from the XML Schema type ResponseSetListLink in namespace urn:ieee:std:2030.5:ns.
func (*ResponseSetListLink) Validate ¶
func (v *ResponseSetListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Revision2_3Type ¶
type Revision2_3Type struct {
Extensions []ExtensionElement `xml:",any"`
}
Revision2_3Type is generated from the XML Schema type Revision2_3Type in namespace urn:ieee:std:2030.5:ns.
func (*Revision2_3Type) Validate ¶
func (v *Revision2_3Type) Validate() error
Validate reports the first constraint of the schema that v violates.
type RoleFlagsType ¶
type RoleFlagsType []byte
RoleFlagsType is generated from the XML Schema type RoleFlagsType in namespace urn:ieee:std:2030.5:ns.
func (RoleFlagsType) MarshalText ¶
func (v RoleFlagsType) MarshalText() ([]byte, error)
MarshalText encodes v as upper-case hexadecimal.
func (RoleFlagsType) String ¶
func (v RoleFlagsType) String() string
String returns v as upper-case hexadecimal.
func (*RoleFlagsType) UnmarshalText ¶
func (v *RoleFlagsType) UnmarshalText(text []byte) error
UnmarshalText decodes hexadecimal text.
func (RoleFlagsType) Validate ¶
func (v RoleFlagsType) Validate() error
Validate reports whether v violates a facet of RoleFlagsType.
type SEPVersion ¶
type SEPVersion string
SEPVersion is generated from the XML Schema type SEPVersion in namespace urn:ieee:std:2030.5:ns.
func (SEPVersion) Validate ¶
func (v SEPVersion) Validate() error
Validate reports whether v violates a facet of SEPVersion.
type SFDIType ¶
type SFDIType uint64
SFDIType is generated from the XML Schema type SFDIType in namespace urn:ieee:std:2030.5:ns.
type SelfDevice ¶
type SelfDevice struct {
AbstractDevice
ProxiedDeviceListLink *ProxiedDeviceListLink `xml:"urn:ieee:std:2030.5:ns ProxiedDeviceListLink,omitempty"`
SelfDeviceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SelfDevice_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
SelfDevice is generated from the XML Schema type SelfDevice in namespace urn:ieee:std:2030.5:ns.
func (*SelfDevice) GetPollRate ¶
func (v *SelfDevice) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*SelfDevice) Validate ¶
func (v *SelfDevice) Validate() error
Validate reports the first constraint of the schema that v violates.
type SelfDeviceLink ¶
type SelfDeviceLink struct {
Link
SelfDeviceLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SelfDeviceLink_r2_3,omitempty"`
}
SelfDeviceLink is generated from the XML Schema type SelfDeviceLink in namespace urn:ieee:std:2030.5:ns.
func (*SelfDeviceLink) Validate ¶
func (v *SelfDeviceLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ServiceChange ¶
type ServiceChange struct {
NewStatus ServiceStatusType `xml:"urn:ieee:std:2030.5:ns newStatus"`
StartTime TimeType `xml:"urn:ieee:std:2030.5:ns startTime"`
ServiceChangeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ServiceChange_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
ServiceChange is generated from the XML Schema type ServiceChange in namespace urn:ieee:std:2030.5:ns.
func (*ServiceChange) Validate ¶
func (v *ServiceChange) Validate() error
Validate reports the first constraint of the schema that v violates.
type ServiceKind ¶
type ServiceKind uint8
ServiceKind is generated from the XML Schema type ServiceKind in namespace urn:ieee:std:2030.5:ns.
type ServiceStatusType ¶
type ServiceStatusType uint8
ServiceStatusType is generated from the XML Schema type ServiceStatusType in namespace urn:ieee:std:2030.5:ns.
type ServiceSupplier ¶
type ServiceSupplier struct {
IdentifiedObject
Email *String32 `xml:"urn:ieee:std:2030.5:ns email,omitempty"`
Phone *String20 `xml:"urn:ieee:std:2030.5:ns phone,omitempty"`
ProviderID *UInt32 `xml:"urn:ieee:std:2030.5:ns providerID,omitempty"`
Web *String42 `xml:"urn:ieee:std:2030.5:ns web,omitempty"`
ServiceSupplierR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ServiceSupplier_r2_3,omitempty"`
}
ServiceSupplier is generated from the XML Schema type ServiceSupplier in namespace urn:ieee:std:2030.5:ns.
func (*ServiceSupplier) Validate ¶
func (v *ServiceSupplier) Validate() error
Validate reports the first constraint of the schema that v violates.
type ServiceSupplierLink ¶
type ServiceSupplierLink struct {
Link
ServiceSupplierLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns ServiceSupplierLink_r2_3,omitempty"`
}
ServiceSupplierLink is generated from the XML Schema type ServiceSupplierLink in namespace urn:ieee:std:2030.5:ns.
func (*ServiceSupplierLink) Validate ¶
func (v *ServiceSupplierLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type SetPoint ¶
type SetPoint struct {
CoolingSetpoint *Int16 `xml:"urn:ieee:std:2030.5:ns coolingSetpoint,omitempty"`
HeatingSetpoint *Int16 `xml:"urn:ieee:std:2030.5:ns heatingSetpoint,omitempty"`
SetPointR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SetPoint_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
SetPoint is generated from the XML Schema type SetPoint in namespace urn:ieee:std:2030.5:ns.
type SignedPerCent ¶
type SignedPerCent int16
SignedPerCent is generated from the XML Schema type SignedPerCent in namespace urn:ieee:std:2030.5:ns.
type SignedPerCentControlType ¶
type SignedPerCentControlType struct {
Value SignedPerCent `xml:",chardata"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
SignedPerCentControlType is generated from the XML Schema type SignedPerCentControlType in namespace urn:ieee:std:2030.5:ns.
func (*SignedPerCentControlType) GetDisabled ¶
func (v *SignedPerCentControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*SignedPerCentControlType) Validate ¶
func (v *SignedPerCentControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type SignedRealEnergy ¶
type SignedRealEnergy struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value Int48 `xml:"urn:ieee:std:2030.5:ns value"`
SignedRealEnergyR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SignedRealEnergy_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
SignedRealEnergy is generated from the XML Schema type SignedRealEnergy in namespace urn:ieee:std:2030.5:ns.
func (*SignedRealEnergy) Validate ¶
func (v *SignedRealEnergy) Validate() error
Validate reports the first constraint of the schema that v violates.
type StateOfChargeStatusType ¶
type StateOfChargeStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value PerCent `xml:"urn:ieee:std:2030.5:ns value"`
StateOfChargeStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns StateOfChargeStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
StateOfChargeStatusType is generated from the XML Schema type StateOfChargeStatusType in namespace urn:ieee:std:2030.5:ns.
func (*StateOfChargeStatusType) Validate ¶
func (v *StateOfChargeStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type StatusError ¶
type StatusError struct {
// Method and Path identify the request.
Method string
Path string
// StatusCode is the HTTP status of the response.
StatusCode int
}
StatusError is a non-success HTTP response from an IEEE 2030.5 server. The Error document a server may send in the body is the generated type Error.
func (*StatusError) Error ¶
func (e *StatusError) Error() string
func (*StatusError) Is ¶
func (e *StatusError) Is(target error) bool
Is matches the category sentinel for the response's status code.
type StorageModeStatusType ¶
type StorageModeStatusType struct {
DateTime TimeType `xml:"urn:ieee:std:2030.5:ns dateTime"`
Value UInt8 `xml:"urn:ieee:std:2030.5:ns value"`
StorageModeStatusTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns StorageModeStatusType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
StorageModeStatusType is generated from the XML Schema type StorageModeStatusType in namespace urn:ieee:std:2030.5:ns.
func (*StorageModeStatusType) Validate ¶
func (v *StorageModeStatusType) Validate() error
Validate reports the first constraint of the schema that v violates.
type String2 ¶
type String2 string
String2 is generated from the XML Schema type String2 in namespace urn:ieee:std:2030.5:ns.
type String3 ¶
type String3 string
String3 is generated from the XML Schema type String3 in namespace urn:ieee:std:2030.5:ns.
type String6 ¶
type String6 string
String6 is generated from the XML Schema type String6 in namespace urn:ieee:std:2030.5:ns.
type String16 ¶
type String16 string
String16 is generated from the XML Schema type String16 in namespace urn:ieee:std:2030.5:ns.
type String20 ¶
type String20 string
String20 is generated from the XML Schema type String20 in namespace urn:ieee:std:2030.5:ns.
type String32 ¶
type String32 string
String32 is generated from the XML Schema type String32 in namespace urn:ieee:std:2030.5:ns.
type String42 ¶
type String42 string
String42 is generated from the XML Schema type String42 in namespace urn:ieee:std:2030.5:ns.
type String192 ¶
type String192 string
String192 is generated from the XML Schema type String192 in namespace urn:ieee:std:2030.5:ns.
type SubdivisionType ¶
type SubdivisionType string
SubdivisionType is generated from the XML Schema type SubdivisionType in namespace urn:ieee:std:2030.5:ns.
func (SubdivisionType) Validate ¶
func (v SubdivisionType) Validate() error
Validate reports whether v violates a facet of SubdivisionType.
type SubscribableIdentifiedObject ¶
type SubscribableIdentifiedObject struct {
SubscribableResource
MRID MRIDType `xml:"urn:ieee:std:2030.5:ns mRID"`
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Version *VersionType `xml:"urn:ieee:std:2030.5:ns version,omitempty"`
SubscribableIdentifiedObjectR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscribableIdentifiedObject_r2_3,omitempty"`
}
SubscribableIdentifiedObject is generated from the XML Schema type SubscribableIdentifiedObject in namespace urn:ieee:std:2030.5:ns.
func (*SubscribableIdentifiedObject) GetVersion ¶
func (v *SubscribableIdentifiedObject) GetVersion() VersionType
GetVersion returns Version, or its schema default 0 when it is absent.
func (*SubscribableIdentifiedObject) Validate ¶
func (v *SubscribableIdentifiedObject) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscribableList ¶
type SubscribableList struct {
SubscribableResource
SubscribableListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscribableList_r2_3,omitempty"`
All UInt32 `xml:"all,attr"`
Results UInt32 `xml:"results,attr"`
}
SubscribableList is generated from the XML Schema type SubscribableList in namespace urn:ieee:std:2030.5:ns.
func (*SubscribableList) Validate ¶
func (v *SubscribableList) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscribableResource ¶
type SubscribableResource struct {
Resource
SubscribableResourceR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscribableResource_r2_3,omitempty"`
Subscribable *SubscribableType `xml:"subscribable,attr,omitempty"`
}
SubscribableResource is generated from the XML Schema type SubscribableResource in namespace urn:ieee:std:2030.5:ns.
func (*SubscribableResource) GetSubscribable ¶
func (v *SubscribableResource) GetSubscribable() SubscribableType
GetSubscribable returns Subscribable, or its schema default 0 when it is absent.
func (*SubscribableResource) Validate ¶
func (v *SubscribableResource) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscribableType ¶
type SubscribableType uint8
SubscribableType is generated from the XML Schema type SubscribableType in namespace urn:ieee:std:2030.5:ns.
type Subscription ¶
type Subscription struct {
SubscriptionBase
Condition *Condition `xml:"urn:ieee:std:2030.5:ns Condition,omitempty"`
Encoding UInt8 `xml:"urn:ieee:std:2030.5:ns encoding"`
Level String16 `xml:"urn:ieee:std:2030.5:ns level"`
Limit UInt32 `xml:"urn:ieee:std:2030.5:ns limit"`
NotificationURI string `xml:"urn:ieee:std:2030.5:ns notificationURI"`
SubscriptionR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Subscription_r2_3,omitempty"`
}
Subscription is generated from the XML Schema type Subscription in namespace urn:ieee:std:2030.5:ns.
func (*Subscription) Validate ¶
func (v *Subscription) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscriptionBase ¶
type SubscriptionBase struct {
Resource
SubscribedResource string `xml:"urn:ieee:std:2030.5:ns subscribedResource"`
SubscriptionBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscriptionBase_r2_3,omitempty"`
}
SubscriptionBase is generated from the XML Schema type SubscriptionBase in namespace urn:ieee:std:2030.5:ns.
func (*SubscriptionBase) Validate ¶
func (v *SubscriptionBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscriptionList ¶
type SubscriptionList struct {
List
Subscription []Subscription `xml:"urn:ieee:std:2030.5:ns Subscription,omitempty"`
SubscriptionListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscriptionList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
SubscriptionList is generated from the XML Schema type SubscriptionList in namespace urn:ieee:std:2030.5:ns.
func (*SubscriptionList) GetPollRate ¶
func (v *SubscriptionList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*SubscriptionList) Validate ¶
func (v *SubscriptionList) Validate() error
Validate reports the first constraint of the schema that v violates.
type SubscriptionListLink ¶
type SubscriptionListLink struct {
ListLink
SubscriptionListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SubscriptionListLink_r2_3,omitempty"`
}
SubscriptionListLink is generated from the XML Schema type SubscriptionListLink in namespace urn:ieee:std:2030.5:ns.
func (*SubscriptionListLink) Validate ¶
func (v *SubscriptionListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupplyInterruptionOverride ¶
type SupplyInterruptionOverride struct {
Resource
Description *String32 `xml:"urn:ieee:std:2030.5:ns description,omitempty"`
Interval DateTimeInterval `xml:"urn:ieee:std:2030.5:ns interval"`
SupplyInterruptionOverrideR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupplyInterruptionOverride_r2_3,omitempty"`
}
SupplyInterruptionOverride is generated from the XML Schema type SupplyInterruptionOverride in namespace urn:ieee:std:2030.5:ns.
func (*SupplyInterruptionOverride) Validate ¶
func (v *SupplyInterruptionOverride) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupplyInterruptionOverrideList ¶
type SupplyInterruptionOverrideList struct {
List
SupplyInterruptionOverride []SupplyInterruptionOverride `xml:"urn:ieee:std:2030.5:ns SupplyInterruptionOverride,omitempty"`
SupplyInterruptionOverrideListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupplyInterruptionOverrideList_r2_3,omitempty"`
}
SupplyInterruptionOverrideList is generated from the XML Schema type SupplyInterruptionOverrideList in namespace urn:ieee:std:2030.5:ns.
func (*SupplyInterruptionOverrideList) Validate ¶
func (v *SupplyInterruptionOverrideList) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupplyInterruptionOverrideListLink ¶
type SupplyInterruptionOverrideListLink struct {
ListLink
SupplyInterruptionOverrideListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupplyInterruptionOverrideListLink_r2_3,omitempty"`
}
SupplyInterruptionOverrideListLink is generated from the XML Schema type SupplyInterruptionOverrideListLink in namespace urn:ieee:std:2030.5:ns.
func (*SupplyInterruptionOverrideListLink) Validate ¶
func (v *SupplyInterruptionOverrideListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupportedLocale ¶
type SupportedLocale struct {
Resource
Locale LocaleType `xml:"urn:ieee:std:2030.5:ns locale"`
SupportedLocaleR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupportedLocale_r2_3,omitempty"`
}
SupportedLocale is generated from the XML Schema type SupportedLocale in namespace urn:ieee:std:2030.5:ns.
func (*SupportedLocale) Validate ¶
func (v *SupportedLocale) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupportedLocaleList ¶
type SupportedLocaleList struct {
List
SupportedLocale []SupportedLocale `xml:"urn:ieee:std:2030.5:ns SupportedLocale,omitempty"`
SupportedLocaleListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupportedLocaleList_r2_3,omitempty"`
}
SupportedLocaleList is generated from the XML Schema type SupportedLocaleList in namespace urn:ieee:std:2030.5:ns.
func (*SupportedLocaleList) Validate ¶
func (v *SupportedLocaleList) Validate() error
Validate reports the first constraint of the schema that v violates.
type SupportedLocaleListLink ¶
type SupportedLocaleListLink struct {
ListLink
SupportedLocaleListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns SupportedLocaleListLink_r2_3,omitempty"`
}
SupportedLocaleListLink is generated from the XML Schema type SupportedLocaleListLink in namespace urn:ieee:std:2030.5:ns.
func (*SupportedLocaleListLink) Validate ¶
func (v *SupportedLocaleListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type TOUType ¶
type TOUType uint8
TOUType is generated from the XML Schema type TOUType in namespace urn:ieee:std:2030.5:ns.
type TargetReading ¶
type TargetReading struct {
BillingMeterReadingBase
TargetReadingR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TargetReading_r2_3,omitempty"`
}
TargetReading is generated from the XML Schema type TargetReading in namespace urn:ieee:std:2030.5:ns.
func (*TargetReading) Validate ¶
func (v *TargetReading) Validate() error
Validate reports the first constraint of the schema that v violates.
type TargetReadingList ¶
type TargetReadingList struct {
List
TargetReading []TargetReading `xml:"urn:ieee:std:2030.5:ns TargetReading,omitempty"`
TargetReadingListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TargetReadingList_r2_3,omitempty"`
}
TargetReadingList is generated from the XML Schema type TargetReadingList in namespace urn:ieee:std:2030.5:ns.
func (*TargetReadingList) Validate ¶
func (v *TargetReadingList) Validate() error
Validate reports the first constraint of the schema that v violates.
type TargetReadingListLink ¶
type TargetReadingListLink struct {
ListLink
TargetReadingListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TargetReadingListLink_r2_3,omitempty"`
}
TargetReadingListLink is generated from the XML Schema type TargetReadingListLink in namespace urn:ieee:std:2030.5:ns.
func (*TargetReadingListLink) Validate ¶
func (v *TargetReadingListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type TargetReduction ¶
type TargetReduction struct {
Type UnitType `xml:"urn:ieee:std:2030.5:ns type"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
TargetReductionR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TargetReduction_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
TargetReduction is generated from the XML Schema type TargetReduction in namespace urn:ieee:std:2030.5:ns.
func (*TargetReduction) Validate ¶
func (v *TargetReduction) Validate() error
Validate reports the first constraint of the schema that v violates.
type TariffProfile ¶
type TariffProfile struct {
IdentifiedObject
BindingPrices *bool `xml:"urn:ieee:std:2030.5:ns bindingPrices,omitempty"`
Currency *CurrencyCode `xml:"urn:ieee:std:2030.5:ns currency,omitempty"`
DateAnnounced *TimeType `xml:"urn:ieee:std:2030.5:ns dateAnnounced,omitempty"`
DateEffective *TimeType `xml:"urn:ieee:std:2030.5:ns dateEffective,omitempty"`
LocalPrice *bool `xml:"urn:ieee:std:2030.5:ns localPrice,omitempty"`
Location *GeographicLocationType `xml:"urn:ieee:std:2030.5:ns location,omitempty"`
PricePowerOfTenMultiplier *PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns pricePowerOfTenMultiplier,omitempty"`
Primacy PrimacyType `xml:"urn:ieee:std:2030.5:ns primacy"`
RateCode *String20 `xml:"urn:ieee:std:2030.5:ns rateCode,omitempty"`
RateCodeLong *String42 `xml:"urn:ieee:std:2030.5:ns rateCodeLong,omitempty"`
RateComponentListLink *RateComponentListLink `xml:"urn:ieee:std:2030.5:ns RateComponentListLink,omitempty"`
Retailer *String20 `xml:"urn:ieee:std:2030.5:ns retailer,omitempty"`
RetailerLong *String42 `xml:"urn:ieee:std:2030.5:ns retailerLong,omitempty"`
ServiceCategoryKind ServiceKind `xml:"urn:ieee:std:2030.5:ns serviceCategoryKind"`
TariffDescriptionExternalURI *string `xml:"urn:ieee:std:2030.5:ns tariffDescriptionExternalURI,omitempty"`
TariffProfileR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TariffProfile_r2_3,omitempty"`
}
TariffProfile is generated from the XML Schema type TariffProfile in namespace urn:ieee:std:2030.5:ns.
func (*TariffProfile) Validate ¶
func (v *TariffProfile) Validate() error
Validate reports the first constraint of the schema that v violates.
type TariffProfileLink ¶
type TariffProfileLink struct {
Link
TariffProfileLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TariffProfileLink_r2_3,omitempty"`
}
TariffProfileLink is generated from the XML Schema type TariffProfileLink in namespace urn:ieee:std:2030.5:ns.
func (*TariffProfileLink) Validate ¶
func (v *TariffProfileLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type TariffProfileList ¶
type TariffProfileList struct {
SubscribableList
TariffProfile []TariffProfile `xml:"urn:ieee:std:2030.5:ns TariffProfile,omitempty"`
TariffProfileListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TariffProfileList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
TariffProfileList is generated from the XML Schema type TariffProfileList in namespace urn:ieee:std:2030.5:ns.
func (*TariffProfileList) GetPollRate ¶
func (v *TariffProfileList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*TariffProfileList) Validate ¶
func (v *TariffProfileList) Validate() error
Validate reports the first constraint of the schema that v violates.
type TariffProfileListLink ¶
type TariffProfileListLink struct {
ListLink
TariffProfileListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TariffProfileListLink_r2_3,omitempty"`
}
TariffProfileListLink is generated from the XML Schema type TariffProfileListLink in namespace urn:ieee:std:2030.5:ns.
func (*TariffProfileListLink) Validate ¶
func (v *TariffProfileListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type Temperature ¶
type Temperature struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Subject UInt8 `xml:"urn:ieee:std:2030.5:ns subject"`
Value Int16 `xml:"urn:ieee:std:2030.5:ns value"`
TemperatureR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Temperature_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
Temperature is generated from the XML Schema type Temperature in namespace urn:ieee:std:2030.5:ns.
func (*Temperature) Validate ¶
func (v *Temperature) Validate() error
Validate reports the first constraint of the schema that v violates.
type TextMessage ¶
type TextMessage struct {
Event
Originator *String20 `xml:"urn:ieee:std:2030.5:ns originator,omitempty"`
Priority PriorityType `xml:"urn:ieee:std:2030.5:ns priority"`
TextMessage string `xml:"urn:ieee:std:2030.5:ns textMessage"`
TextMessageR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TextMessage_r2_3,omitempty"`
}
TextMessage is generated from the XML Schema type TextMessage in namespace urn:ieee:std:2030.5:ns.
func (*TextMessage) Validate ¶
func (v *TextMessage) Validate() error
Validate reports the first constraint of the schema that v violates.
type TextMessageList ¶
type TextMessageList struct {
SubscribableList
TextMessage []TextMessage `xml:"urn:ieee:std:2030.5:ns TextMessage,omitempty"`
TextMessageListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TextMessageList_r2_3,omitempty"`
}
TextMessageList is generated from the XML Schema type TextMessageList in namespace urn:ieee:std:2030.5:ns.
func (*TextMessageList) Validate ¶
func (v *TextMessageList) Validate() error
Validate reports the first constraint of the schema that v violates.
type TextMessageListLink ¶
type TextMessageListLink struct {
ListLink
TextMessageListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TextMessageListLink_r2_3,omitempty"`
}
TextMessageListLink is generated from the XML Schema type TextMessageListLink in namespace urn:ieee:std:2030.5:ns.
func (*TextMessageListLink) Validate ¶
func (v *TextMessageListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type TextResponse ¶
type TextResponse struct {
Response
TextResponseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TextResponse_r2_3,omitempty"`
}
TextResponse is generated from the XML Schema type TextResponse in namespace urn:ieee:std:2030.5:ns.
func (*TextResponse) Validate ¶
func (v *TextResponse) Validate() error
Validate reports the first constraint of the schema that v violates.
type Time ¶
type Time struct {
Resource
CurrentTime TimeType `xml:"urn:ieee:std:2030.5:ns currentTime"`
DstEndTime TimeType `xml:"urn:ieee:std:2030.5:ns dstEndTime"`
DstOffset TimeOffsetType `xml:"urn:ieee:std:2030.5:ns dstOffset"`
DstStartTime TimeType `xml:"urn:ieee:std:2030.5:ns dstStartTime"`
LocalTime *TimeType `xml:"urn:ieee:std:2030.5:ns localTime,omitempty"`
Quality UInt8 `xml:"urn:ieee:std:2030.5:ns quality"`
TzOffset TimeOffsetType `xml:"urn:ieee:std:2030.5:ns tzOffset"`
TimeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns Time_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
Time is generated from the XML Schema type Time in namespace urn:ieee:std:2030.5:ns.
func (*Time) GetPollRate ¶
GetPollRate returns PollRate, or its schema default 900 when it is absent.
type TimeConfiguration ¶
type TimeConfiguration struct {
DstEndRule DstRuleType `xml:"urn:ieee:std:2030.5:ns dstEndRule"`
DstOffset TimeOffsetType `xml:"urn:ieee:std:2030.5:ns dstOffset"`
DstStartRule DstRuleType `xml:"urn:ieee:std:2030.5:ns dstStartRule"`
TzOffset TimeOffsetType `xml:"urn:ieee:std:2030.5:ns tzOffset"`
TimeConfigurationR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TimeConfiguration_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
TimeConfiguration is generated from the XML Schema type TimeConfiguration in namespace urn:ieee:std:2030.5:ns.
func (*TimeConfiguration) Validate ¶
func (v *TimeConfiguration) Validate() error
Validate reports the first constraint of the schema that v violates.
type TimeLink ¶
type TimeLink struct {
Link
TimeLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TimeLink_r2_3,omitempty"`
}
TimeLink is generated from the XML Schema type TimeLink in namespace urn:ieee:std:2030.5:ns.
type TimeOffsetType ¶
type TimeOffsetType int32
TimeOffsetType is generated from the XML Schema type TimeOffsetType in namespace urn:ieee:std:2030.5:ns.
type TimeTariffInterval ¶
type TimeTariffInterval struct {
RandomizableEvent
ConsumptionTariffIntervalListLink *ConsumptionTariffIntervalListLink `xml:"urn:ieee:std:2030.5:ns ConsumptionTariffIntervalListLink,omitempty"`
TouTier TOUType `xml:"urn:ieee:std:2030.5:ns touTier"`
TimeTariffIntervalR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TimeTariffInterval_r2_3,omitempty"`
}
TimeTariffInterval is generated from the XML Schema type TimeTariffInterval in namespace urn:ieee:std:2030.5:ns.
func (*TimeTariffInterval) Validate ¶
func (v *TimeTariffInterval) Validate() error
Validate reports the first constraint of the schema that v violates.
type TimeTariffIntervalList ¶
type TimeTariffIntervalList struct {
SubscribableList
TimeTariffInterval []TimeTariffInterval `xml:"urn:ieee:std:2030.5:ns TimeTariffInterval,omitempty"`
TimeTariffIntervalListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TimeTariffIntervalList_r2_3,omitempty"`
}
TimeTariffIntervalList is generated from the XML Schema type TimeTariffIntervalList in namespace urn:ieee:std:2030.5:ns.
func (*TimeTariffIntervalList) Validate ¶
func (v *TimeTariffIntervalList) Validate() error
Validate reports the first constraint of the schema that v violates.
type TimeTariffIntervalListLink ¶
type TimeTariffIntervalListLink struct {
ListLink
TimeTariffIntervalListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns TimeTariffIntervalListLink_r2_3,omitempty"`
}
TimeTariffIntervalListLink is generated from the XML Schema type TimeTariffIntervalListLink in namespace urn:ieee:std:2030.5:ns.
func (*TimeTariffIntervalListLink) Validate ¶
func (v *TimeTariffIntervalListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type TimeType ¶
type TimeType int64
TimeType is generated from the XML Schema type TimeType in namespace urn:ieee:std:2030.5:ns.
type UInt8 ¶
type UInt8 uint8
UInt8 is generated from the XML Schema type UInt8 in namespace urn:ieee:std:2030.5:ns.
type UInt16 ¶
type UInt16 uint16
UInt16 is generated from the XML Schema type UInt16 in namespace urn:ieee:std:2030.5:ns.
type UInt32 ¶
type UInt32 uint32
UInt32 is generated from the XML Schema type UInt32 in namespace urn:ieee:std:2030.5:ns.
type UInt40 ¶
type UInt40 uint64
UInt40 is generated from the XML Schema type UInt40 in namespace urn:ieee:std:2030.5:ns.
type UInt48 ¶
type UInt48 uint64
UInt48 is generated from the XML Schema type UInt48 in namespace urn:ieee:std:2030.5:ns.
type UInt64 ¶
type UInt64 uint64
UInt64 is generated from the XML Schema type UInt64 in namespace urn:ieee:std:2030.5:ns.
type UnitType ¶
type UnitType uint8
UnitType is generated from the XML Schema type UnitType in namespace urn:ieee:std:2030.5:ns.
type UnitValueType ¶
type UnitValueType struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Unit UomType `xml:"urn:ieee:std:2030.5:ns unit"`
Value Int32 `xml:"urn:ieee:std:2030.5:ns value"`
UnitValueTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnitValueType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
UnitValueType is generated from the XML Schema type UnitValueType in namespace urn:ieee:std:2030.5:ns.
func (*UnitValueType) Validate ¶
func (v *UnitValueType) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedActivePower ¶
type UnsignedActivePower struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
UnsignedActivePowerR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedActivePower_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
UnsignedActivePower is generated from the XML Schema type UnsignedActivePower in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedActivePower) Validate ¶
func (v *UnsignedActivePower) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedActivePowerControlType ¶
type UnsignedActivePowerControlType struct {
UnsignedActivePower
UnsignedActivePowerControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedActivePowerControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
UnsignedActivePowerControlType is generated from the XML Schema type UnsignedActivePowerControlType in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedActivePowerControlType) GetDisabled ¶
func (v *UnsignedActivePowerControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*UnsignedActivePowerControlType) Validate ¶
func (v *UnsignedActivePowerControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedFixedPointType ¶
type UnsignedFixedPointType struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
UnsignedFixedPointTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedFixedPointType_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
UnsignedFixedPointType is generated from the XML Schema type UnsignedFixedPointType in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedFixedPointType) Validate ¶
func (v *UnsignedFixedPointType) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedFixedVar ¶
type UnsignedFixedVar struct {
RefType DERUnitRefType `xml:"urn:ieee:std:2030.5:ns refType"`
Value PerCent `xml:"urn:ieee:std:2030.5:ns value"`
UnsignedFixedVarR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedFixedVar_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
UnsignedFixedVar is generated from the XML Schema type UnsignedFixedVar in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedFixedVar) Validate ¶
func (v *UnsignedFixedVar) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedFixedVarControlType ¶
type UnsignedFixedVarControlType struct {
UnsignedFixedVar
UnsignedFixedVarControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedFixedVarControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
UnsignedFixedVarControlType is generated from the XML Schema type UnsignedFixedVarControlType in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedFixedVarControlType) GetDisabled ¶
func (v *UnsignedFixedVarControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*UnsignedFixedVarControlType) Validate ¶
func (v *UnsignedFixedVarControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedReactivePower ¶
type UnsignedReactivePower struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
UnsignedReactivePowerR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedReactivePower_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
UnsignedReactivePower is generated from the XML Schema type UnsignedReactivePower in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedReactivePower) Validate ¶
func (v *UnsignedReactivePower) Validate() error
Validate reports the first constraint of the schema that v violates.
type UnsignedReactivePowerControlType ¶
type UnsignedReactivePowerControlType struct {
UnsignedReactivePower
UnsignedReactivePowerControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UnsignedReactivePowerControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
UnsignedReactivePowerControlType is generated from the XML Schema type UnsignedReactivePowerControlType in namespace urn:ieee:std:2030.5:ns.
func (*UnsignedReactivePowerControlType) GetDisabled ¶
func (v *UnsignedReactivePowerControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*UnsignedReactivePowerControlType) Validate ¶
func (v *UnsignedReactivePowerControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type UomType ¶
type UomType uint8
UomType is generated from the XML Schema type UomType in namespace urn:ieee:std:2030.5:ns.
type UsagePoint ¶
type UsagePoint struct {
UsagePointBase
DeviceLFDI *HexBinary160 `xml:"urn:ieee:std:2030.5:ns deviceLFDI,omitempty"`
MeterReadingListLink *MeterReadingListLink `xml:"urn:ieee:std:2030.5:ns MeterReadingListLink,omitempty"`
UsagePointR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UsagePoint_r2_3,omitempty"`
}
UsagePoint is generated from the XML Schema type UsagePoint in namespace urn:ieee:std:2030.5:ns.
func (*UsagePoint) Validate ¶
func (v *UsagePoint) Validate() error
Validate reports the first constraint of the schema that v violates.
type UsagePointBase ¶
type UsagePointBase struct {
IdentifiedObject
RoleFlags RoleFlagsType `xml:"urn:ieee:std:2030.5:ns roleFlags"`
ServiceCategoryKind ServiceKind `xml:"urn:ieee:std:2030.5:ns serviceCategoryKind"`
Status UInt8 `xml:"urn:ieee:std:2030.5:ns status"`
UsagePointBaseR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UsagePointBase_r2_3,omitempty"`
}
UsagePointBase is generated from the XML Schema type UsagePointBase in namespace urn:ieee:std:2030.5:ns.
func (*UsagePointBase) Validate ¶
func (v *UsagePointBase) Validate() error
Validate reports the first constraint of the schema that v violates.
type UsagePointLink ¶
type UsagePointLink struct {
Link
UsagePointLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UsagePointLink_r2_3,omitempty"`
}
UsagePointLink is generated from the XML Schema type UsagePointLink in namespace urn:ieee:std:2030.5:ns.
func (*UsagePointLink) Validate ¶
func (v *UsagePointLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type UsagePointList ¶
type UsagePointList struct {
SubscribableList
UsagePoint []UsagePoint `xml:"urn:ieee:std:2030.5:ns UsagePoint,omitempty"`
UsagePointListR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UsagePointList_r2_3,omitempty"`
PollRate *UInt32 `xml:"pollRate,attr,omitempty"`
}
UsagePointList is generated from the XML Schema type UsagePointList in namespace urn:ieee:std:2030.5:ns.
func (*UsagePointList) GetPollRate ¶
func (v *UsagePointList) GetPollRate() UInt32
GetPollRate returns PollRate, or its schema default 900 when it is absent.
func (*UsagePointList) Validate ¶
func (v *UsagePointList) Validate() error
Validate reports the first constraint of the schema that v violates.
type UsagePointListLink ¶
type UsagePointListLink struct {
ListLink
UsagePointListLinkR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns UsagePointListLink_r2_3,omitempty"`
}
UsagePointListLink is generated from the XML Schema type UsagePointListLink in namespace urn:ieee:std:2030.5:ns.
func (*UsagePointListLink) Validate ¶
func (v *UsagePointListLink) Validate() error
Validate reports the first constraint of the schema that v violates.
type ValidationError ¶
type ValidationError struct {
// Field is the path of the property, such as
// "DERControl.DERControlBase.opModExpLimW".
Field string
Reason string
}
ValidationError reports a field that violates the IEEE 2030.5 schema. It is returned by the Validate methods and by the wire codecs for malformed messages.
func (*ValidationError) Error ¶
func (e *ValidationError) Error() string
type VersionType ¶
type VersionType uint16
VersionType is generated from the XML Schema type VersionType in namespace urn:ieee:std:2030.5:ns.
type VoltageRMS ¶
type VoltageRMS struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
VoltageRMSR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns VoltageRMS_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
VoltageRMS is generated from the XML Schema type VoltageRMS in namespace urn:ieee:std:2030.5:ns.
func (*VoltageRMS) Validate ¶
func (v *VoltageRMS) Validate() error
Validate reports the first constraint of the schema that v violates.
type VoltageRMSControlType ¶
type VoltageRMSControlType struct {
VoltageRMS
VoltageRMSControlTypeR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns VoltageRMSControlType_r2_3,omitempty"`
Disabled *bool `xml:"disabled,attr,omitempty"`
}
VoltageRMSControlType is generated from the XML Schema type VoltageRMSControlType in namespace urn:ieee:std:2030.5:ns.
func (*VoltageRMSControlType) GetDisabled ¶
func (v *VoltageRMSControlType) GetDisabled() bool
GetDisabled returns Disabled, or its schema default false when it is absent.
func (*VoltageRMSControlType) Validate ¶
func (v *VoltageRMSControlType) Validate() error
Validate reports the first constraint of the schema that v violates.
type WattHour ¶
type WattHour struct {
Multiplier PowerOfTenMultiplierType `xml:"urn:ieee:std:2030.5:ns multiplier"`
Value UInt16 `xml:"urn:ieee:std:2030.5:ns value"`
WattHourR2_3 *Revision2_3Type `xml:"urn:ieee:std:2030.5:ns WattHour_r2_3,omitempty"`
Extensions []ExtensionElement `xml:",any"`
}
WattHour is generated from the XML Schema type WattHour in namespace urn:ieee:std:2030.5:ns.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package client implements an IEEE 2030.5 client that communicates with a utility server over HTTPS with mutual TLS.
|
Package client implements an IEEE 2030.5 client that communicates with a utility server over HTTPS with mutual TLS. |
|
Package csipaus is the CSIP-AUS (Common Smart Inverter Profile, Australia) v1.3 profile of IEEE 2030.5, generated from the official CSIP-AUS schemas.
|
Package csipaus is the CSIP-AUS (Common Smart Inverter Profile, Australia) v1.3 profile of IEEE 2030.5, generated from the official CSIP-AUS schemas. |
|
Package discovery implements DNS-SD service discovery for IEEE 2030.5 servers, as specified in the standard's service-discovery annex.
|
Package discovery implements DNS-SD service discovery for IEEE 2030.5 servers, as specified in the standard's service-discovery annex. |
|
Package e2e holds end-to-end tests of go-ieee20305 against itself: the client of this module against the server of this module, over real HTTPS connections with mutual TLS on loopback.
|
Package e2e holds end-to-end tests of go-ieee20305 against itself: the client of this module against the server of this module, over real HTTPS connections with mutual TLS on loopback. |
|
examples
|
|
|
client
command
Client demonstrates a minimal IEEE 2030.5 client that connects to a server, retrieves its DeviceCapability resource, and prints the available function sets.
|
Client demonstrates a minimal IEEE 2030.5 client that connects to a server, retrieves its DeviceCapability resource, and prints the available function sets. |
|
internal
|
|
|
gen
command
Command ieee20305-gen generates the Go types of go-ieee20305 from the upstream IEEE 2030.5 and CSIP-AUS schemas pinned in schemas/manifest.json.
|
Command ieee20305-gen generates the Go types of go-ieee20305 from the upstream IEEE 2030.5 and CSIP-AUS schemas pinned in schemas/manifest.json. |
|
gen/emit
Package emit turns a loaded XSD set into Go source files.
|
Package emit turns a loaded XSD set into Go source files. |
|
gen/manifest
Package manifest reads schemas/manifest.json: the pinned upstream sources the generator consumes and the packages it generates.
|
Package manifest reads schemas/manifest.json: the pinned upstream sources the generator consumes and the packages it generates. |
|
gen/upstream
Package upstream downloads the pinned schema sources of the manifest, verifies them, and checks whether upstream has published something newer.
|
Package upstream downloads the pinned schema sources of the manifest, verifies them, and checks whether upstream has published something newer. |
|
gen/wadl
Package wadl reads the IEEE 2030.5 WADL: the resources of the protocol with their sample URIs, methods, conformance levels and representations.
|
Package wadl reads the IEEE 2030.5 WADL: the resources of the protocol with their sample URIs, methods, conformance levels and representations. |
|
gen/xsd
Package xsd loads a set of XML Schema documents into a typed, namespace-aware model.
|
Package xsd loads a set of XML Schema documents into a typed, namespace-aware model. |
|
xml
Package xml encodes and decodes IEEE 2030.5 resources as XML, the wire format of the protocol.
|
Package xml encodes and decodes IEEE 2030.5 resources as XML, the wire format of the protocol. |
|
Package schedule implements IEEE 2030.5 event scheduling: primacy-based control priority, overlapping event resolution, randomization of start and duration, and the active/superseded/cancelled state machine.
|
Package schedule implements IEEE 2030.5 event scheduling: primacy-based control priority, overlapping event resolution, randomization of start and duration, and the active/superseded/cancelled state machine. |
|
Package security implements IEEE 2030.5 certificate handling: mutual TLS configuration, LFDI and SFDI derivation from device certificates, certificate chain validation, and the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 cipher suite required by the standard.
|
Package security implements IEEE 2030.5 certificate handling: mutual TLS configuration, LFDI and SFDI derivation from device certificates, certificate chain validation, and the TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 cipher suite required by the standard. |
|
Package server implements an IEEE 2030.5 server as an http.Handler.
|
Package server implements an IEEE 2030.5 server as an http.Handler. |
|
tlsccm
module
|