source: extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgTagsProxyResponse.cs @ 3818

Last change on this file since 3818 was 3818, checked in by bayral, 15 years ago

get Tags List support

File size: 1.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Xml.Serialization;
6using Com.Piwigo.Lib.DTO;
7
8namespace Com.Piwigo.Lib.Proxy.Response
9{
10    [Serializable()]
11    [XmlRoot(ElementName = "tag")]
12    public class PwgTagProxyResponse
13    {
14        [XmlAttribute(AttributeName = "id")]
15        public Int16 Id { get; set; }
16        [XmlAttribute(AttributeName = "name")]
17        public String Name { get; set; }
18        [XmlAttribute(AttributeName = "url_name")]
19        public String UrlName { get; set; }
20        [XmlAttribute(AttributeName = "counter")]
21        public Int64 Counter { get; set; }
22        [XmlAttribute(AttributeName = "url")]
23        public String UrlTag { get; set; }
24    }
25
26    [Serializable()]
27    [XmlRoot(ElementName = "rsp")]
28    public class PwgTagsProxyResponse : PwgBaseProxyReponse
29    {
30        //[XmlElement(ElementName = "tags")]
31        [XmlArray("tags")]
32        [XmlArrayItem("tag")]
33        public PwgTagProxyResponse[] Tags { get; set; }
34    }
35}
Note: See TracBrowser for help on using the repository browser.