using System.Xml.Serialization;
namespace EC.Helper.Onvif.RemoteDiscovery;
///
/// The probe response
///
[XmlRoot("Envelope", Namespace = "http://www.w3.org/2003/05/soap-envelope")]
public class XmlProbeReponse
{
///
/// The Header of the probe response
///
[XmlElement(Namespace = "http://www.w3.org/2003/05/soap-envelope")]
public Header Header { get; set; }
///
/// The Body of the probe response
///
[XmlElement(Namespace = "http://www.w3.org/2003/05/soap-envelope")]
public Body Body { get; set; }
}
///
/// The Header of the probe response
///
public class Header
{
///
/// The message id
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public string MessageID { get; set; }
///
/// The message id that relates to
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public string RelatesTo { get; set; }
///
/// To
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public string To { get; set; }
///
/// App sequence
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public string AppSequence { get; set; }
}
///
/// The Body of the probe response
///
public class Body
{
///
/// An array of probe matches
///
[XmlArray(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public ProbeMatch[] ProbeMatches { get; set; }
}
///
/// A probe match
///
public class ProbeMatch
{
///
/// The endpoint reference
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public EndpointReference EndpointReference { get; set; }
///
/// The types
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public string Types { get; set; }
///
/// The scopes
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public string Scopes { get; set; }
///
/// The XAddrs
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public string XAddrs { get; set; }
///
/// The metadata version
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2005/04/discovery")]
public string MetadataVersion { get; set; }
}
///
/// The endpoint reference
///
public class EndpointReference
{
///
/// The address
///
[XmlElement(Namespace = "http://schemas.xmlsoap.org/ws/2004/08/addressing")]
public string Address { get; set; }
}