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

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

Piwigolib is now modify for mask the implementation of proxy.
Add start version of piwigo WPF

File size: 1.1 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    internal class PwgTagProxyResponse
13    {
14        [XmlAttribute(AttributeName = "id")]
15        internal Int32 Id { get; set; }
16        [XmlAttribute(AttributeName = "name")]
17        internal String Name { get; set; }
18        [XmlAttribute(AttributeName = "url_name")]
19        internal String UrlName { get; set; }
20        [XmlAttribute(AttributeName = "counter")]
21        internal Int64 Counter { get; set; }
22        [XmlAttribute(AttributeName = "url")]
23        internal String UrlTag { get; set; }
24    }
25
26    [Serializable()]
27    [XmlRoot(ElementName = "rsp")]
28    internal class PwgTagsProxyResponse : PwgBaseProxyReponse
29    {
30        //[XmlElement(ElementName = "tags")]
31        [XmlArray("tags")]
32        [XmlArrayItem("tag")]
33        internal PwgTagProxyResponse[] Tags { get; set; }
34    }
35}
Note: See TracBrowser for help on using the repository browser.