using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Serialization; namespace Com.Piwigo.Lib.Proxy.Response { [Serializable()] [XmlRoot(ElementName = "err")] public class PwgBaseProxyReponseError { [XmlAttribute(AttributeName = "code")] public Int32 Code { get; set; } [XmlAttribute(AttributeName = "msg")] public String Message { get; set; } } [Serializable()] [XmlRoot(ElementName = "rsp")] public abstract class PwgBaseProxyReponse { [XmlAttribute(AttributeName="stat")] public PwgBaseProxyReponseRetourEnum Retour { get; set; } [XmlElement(ElementName="err")] public PwgBaseProxyReponseError Erreur { get; set; } } }