source: extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgCategoriesProxyResponse.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.4 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 = "category")]
12    internal class PwgCategoryProxyResponse
13    {
14        [XmlAttribute(AttributeName = "id")]
15        internal Int32 Id { get; set; }
16        [XmlElement(ElementName = "uppercats")]
17        internal String UpperCategoryId { get; set; }
18        [XmlElement (ElementName = "name")]
19        internal String Name { get; set; }
20        [XmlAttribute(AttributeName = "url")]
21        internal String Url { get; set; }
22        [XmlAttribute(AttributeName = "nb_images")]
23        internal Int64 ImagesCount { get; set; }
24        [XmlAttribute(AttributeName = "total_nb_images")]
25        internal Int64 DeepImagesCount { get; set; }
26        [XmlAttribute(AttributeName = "nb_categories")]
27        internal Int64 SubCategoriesCount { get; set; }
28        [XmlAttribute(AttributeName = "max_date_last")]
29        internal String LastDate { get; set; }
30    }
31
32    [Serializable()]
33    [XmlRoot(ElementName = "rsp")]
34    internal class PwgCategoriesProxyResponse : PwgBaseProxyReponse
35    {
36        [XmlArray("categories")]
37        [XmlArrayItem("category")]
38        internal PwgCategoryProxyResponse[] Categories { get; set; }
39    }
40}
Note: See TracBrowser for help on using the repository browser.