source: extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgBaseProxyReponse.cs @ 11850

Last change on this file since 11850 was 11850, checked in by bayral, 13 years ago

MAj des truc existant et debut du upload de fichier

File size: 809 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Xml.Serialization;
6
7namespace Com.Piwigo.Lib.Proxy.Response
8{
9
10    [Serializable()]
11    [XmlRoot(ElementName = "err")]
12    public class PwgBaseProxyReponseError
13    {
14        [XmlAttribute(AttributeName = "code")]
15        public Int32 Code { get; set; }
16
17        [XmlAttribute(AttributeName = "msg")]
18        public String Message { get; set; }
19    }
20
21
22    [Serializable()]
23    [XmlRoot(ElementName = "rsp")]
24    public class PwgBaseProxyReponse
25    {
26        [XmlAttribute(AttributeName="stat")]
27        public PwgBaseProxyReponseRetourEnum Retour { get; set; }
28
29        [XmlElement(ElementName="err")]
30        public PwgBaseProxyReponseError Erreur { get; set; }
31
32    }
33}
Note: See TracBrowser for help on using the repository browser.