// Code generated by xgen. DO NOT EDIT.

package pmschema

// FileHeader ...
type FileHeader struct {
	TimeStamp   string `xml:"TimeStamp"`
	TimeZone    string `xml:"TimeZone"`
	Period      int    `xml:"Period"`
	VendorName  string `xml:"VendorName"`
	ElementType string `xml:"ElementType"`
	PmVersion   string `xml:"PmVersion"`
	StartTime   string `xml:"StartTime"`
}

// N ...
type N struct {
	IAttr int    `xml:"i,attr"`
	Value string `xml:",chardata"`
}

// PmName ...
type PmName struct {
	N *N `xml:"N"`
}

// V ...
type V struct {
	IAttr int    `xml:"i,attr"`
	Value string `xml:",chardata"`
}

// CV ...
type CV struct {
	IAttr int      `xml:"i,attr"`
	SN    []string `xml:"SN"`
	SV    []string `xml:"SV"`
}

// Object ...
type Object struct {
	RmUIDAttr     string `xml:"rmUID,attr"`
	DnAttr        string `xml:"Dn,attr"`
	UserLabelAttr string `xml:"UserLabel,attr"`
	V             []*V   `xml:"V"`
	CV            []*CV  `xml:"CV"`
}

// PmData ...
type PmData struct {
	Object *Object `xml:"Object"`
}

// Measurements ...
type Measurements struct {
	ObjectType string  `xml:"ObjectType"`
	PmName     *PmName `xml:"PmName"`
	PmData     *PmData `xml:"PmData"`
}

// PmFile ...
type PmFile struct {
	FileHeader   FileHeader      `xml:"FileHeader"`
	Measurements []*Measurements `xml:"Measurements"`
}
