Files
be.ems/tools/xgen/cm-schema.xsd.go
2023-08-14 21:41:37 +08:00

59 lines
1.3 KiB
Go

// Code generated by xgen. DO NOT EDIT.
package schema
// FileHeader ...
type FileHeader struct {
TimeStamp string `xml:"TimeStamp"`
TimeZone string `xml:"TimeZone"`
VendorName string `xml:"VendorName"`
ElementType string `xml:"ElementType"`
CmVersion string `xml:"CmVersion"`
}
// N ...
type N struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// FieldName ...
type FieldName struct {
N *N `xml:"N"`
}
// V ...
type V struct {
IAttr int `xml:"i,attr"`
Value string `xml:",chardata"`
}
// Object ...
type Object struct {
RmUIDAttr string `xml:"rmUID,attr"`
DnAttr string `xml:"Dn,attr,omitempty"`
UserLabelAttr string `xml:"UserLabel,attr,omitempty"`
PVFlagAttr string `xml:"PVFlag,attr"`
VMIDAttr string `xml:"VMID,attr,omitempty"`
VNFInstanceIDAttr string `xml:"VNFInstanceID,attr,omitempty"`
V *V `xml:"V"`
}
// FieldValue ...
type FieldValue struct {
Object *Object `xml:"Object"`
}
// Objects ...
type Objects struct {
ObjectType string `xml:"ObjectType"`
FieldName *FieldName `xml:"FieldName"`
FieldValue *FieldValue `xml:"FieldValue"`
}
// DataFile ...
type DataFile struct {
FileHeader *FileHeader `xml:"FileHeader"`
Objects []*Objects `xml:"Objects"`
}