package model type EventNotificationAlert struct { IpAddress string `xml:"ipAddress"` PortNo string `xml:"portNo"` Protocol string `xml:"protocol"` MacAddress string `xml:"macAddress"` ChannelID string `xml:"channelID"` DateTime string `xml:"dateTime"` ActivePostCount string `xml:"activePostCount"` EventType string `xml:"eventType"` EventState string `xml:"eventState"` EventDescription string `xml:"eventDescription"` DetectionRegionList struct { DetectionRegionEntry []struct { RegionID string `xml:"regionID"` SensitivityLevel string `xml:"sensitivityLevel"` RegionCoordinatesList struct { RegionCoordinates []struct { PositionX string `xml:"positionX"` PositionY string `xml:"positionY"` } `xml:"RegionCoordinates"` } `xml:"RegionCoordinatesList"` DetectionTarget string `xml:"detectionTarget"` TargetRect struct { X string `xml:"X"` Y string `xml:"Y"` Width string `xml:"width"` Height string `xml:"height"` } `xml:"TargetRect"` } `xml:"DetectionRegionEntry"` } `xml:"DetectionRegionList"` ChannelName string `xml:"channelName"` DetectionPictureTransType string `xml:"detectionPictureTransType"` DetectionPicturesNumber string `xml:"detectionPicturesNumber"` IsDataRetransmission string `xml:"isDataRetransmission"` DurationList struct { Duration []struct { RelationEvent string `xml:"relationEvent"` } `xml:"Duration"` } `xml:"DurationList"` }