Changeset 7160 for extensions/PiwigoLib/PiwigoLib/Proxy/Response
- Timestamp:
- Oct 11, 2010, 8:04:34 PM (14 years ago)
- Location:
- extensions/PiwigoLib/PiwigoLib/Proxy/Response
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgAddRequestProxyResponse.cs
r7149 r7160 10 10 [Serializable()] 11 11 [XmlRoot(ElementName = "rsp")] 12 internalclass PwgAddRequestProxyResponse : PwgBaseProxyReponse12 public class PwgAddRequestProxyResponse : PwgBaseProxyReponse 13 13 { 14 14 [XmlElement(ElementName="info")] 15 internalString Message { get; set; }15 public String Message { get; set; } 16 16 [XmlElement(ElementName = "id")] 17 internalInt32 NewId { get; set; }17 public Int32 NewId { get; set; } 18 18 19 19 } -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgBaseProxyReponse.cs
r7149 r7160 10 10 [Serializable()] 11 11 [XmlRoot(ElementName = "err")] 12 internalclass PwgBaseProxyReponseError12 public class PwgBaseProxyReponseError 13 13 { 14 14 [XmlAttribute(AttributeName = "code")] 15 internalInt32 Code { get; set; }15 public Int32 Code { get; set; } 16 16 17 17 [XmlAttribute(AttributeName = "msg")] 18 internalString Message { get; set; }18 public String Message { get; set; } 19 19 } 20 20 … … 22 22 [Serializable()] 23 23 [XmlRoot(ElementName = "rsp")] 24 internalabstract class PwgBaseProxyReponse24 public abstract class PwgBaseProxyReponse 25 25 { 26 26 [XmlAttribute(AttributeName="stat")] 27 internalPwgBaseProxyReponseRetourEnum Retour { get; set; }27 public PwgBaseProxyReponseRetourEnum Retour { get; set; } 28 28 29 29 [XmlElement(ElementName="err")] 30 internalPwgBaseProxyReponseError Erreur { get; set; }30 public PwgBaseProxyReponseError Erreur { get; set; } 31 31 32 32 } -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgBaseProxyReponseRetourEnum.cs
r7149 r7160 9 9 [Serializable()] 10 10 [XmlRoot(ElementName = "PwgBaseProxyReponseRetourEnum")] 11 internalenum PwgBaseProxyReponseRetourEnum : int11 public enum PwgBaseProxyReponseRetourEnum : int 12 12 { 13 13 [XmlEnum("unknow")] -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgCategoriesProxyResponse.cs
r7149 r7160 10 10 [Serializable()] 11 11 [XmlRoot(ElementName = "category")] 12 internalclass PwgCategoryProxyResponse12 public class PwgCategoryProxyResponse 13 13 { 14 14 [XmlAttribute(AttributeName = "id")] 15 internalInt32 Id { get; set; }15 public Int32 Id { get; set; } 16 16 [XmlElement(ElementName = "uppercats")] 17 internalString UpperCategoryId { get; set; }17 public String UpperCategoryId { get; set; } 18 18 [XmlElement (ElementName = "name")] 19 internalString Name { get; set; }19 public String Name { get; set; } 20 20 [XmlAttribute(AttributeName = "url")] 21 internalString Url { get; set; }21 public String Url { get; set; } 22 22 [XmlAttribute(AttributeName = "nb_images")] 23 internalInt64 ImagesCount { get; set; }23 public Int64 ImagesCount { get; set; } 24 24 [XmlAttribute(AttributeName = "total_nb_images")] 25 internalInt64 DeepImagesCount { get; set; }25 public Int64 DeepImagesCount { get; set; } 26 26 [XmlAttribute(AttributeName = "nb_categories")] 27 internalInt64 SubCategoriesCount { get; set; }27 public Int64 SubCategoriesCount { get; set; } 28 28 [XmlAttribute(AttributeName = "max_date_last")] 29 internalString LastDate { get; set; }29 public String LastDate { get; set; } 30 30 } 31 31 32 32 [Serializable()] 33 33 [XmlRoot(ElementName = "rsp")] 34 internalclass PwgCategoriesProxyResponse : PwgBaseProxyReponse34 public class PwgCategoriesProxyResponse : PwgBaseProxyReponse 35 35 { 36 36 [XmlArray("categories")] 37 37 [XmlArrayItem("category")] 38 internalPwgCategoryProxyResponse[] Categories { get; set; }38 public PwgCategoryProxyResponse[] Categories { get; set; } 39 39 } 40 40 } -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgImagesProxyResponse.cs
r7149 r7160 11 11 [Serializable()] 12 12 [XmlRoot(ElementName = "rsp")] 13 internalclass PwgImageRateProxyResponse : PwgBaseProxyReponse13 public class PwgImageRateProxyResponse : PwgBaseProxyReponse 14 14 { 15 15 [XmlElement("count")] 16 internalInt32 Count { get; set; }16 public Int32 Count { get; set; } 17 17 [XmlElement("average")] 18 internalString Average { get; set; }18 public String Average { get; set; } 19 19 [XmlElement("stdev")] 20 internalString Stdev { get; set; }20 public String Stdev { get; set; } 21 21 } 22 22 23 23 [Serializable()] 24 24 [XmlRoot(ElementName = "categorie")] 25 internalclass PwgImageProxyResponse25 public class PwgImageProxyResponse 26 26 { 27 27 [XmlAttribute(AttributeName = "id")] 28 internalInt32 Id { get; set; }28 public Int32 Id { get; set; } 29 29 [XmlAttribute(AttributeName = "width")] 30 internalInt32 Width { get; set; }30 public Int32 Width { get; set; } 31 31 [XmlAttribute(AttributeName = "height")] 32 internalInt32 Height { get; set; }32 public Int32 Height { get; set; } 33 33 [XmlAttribute(AttributeName = "file")] 34 internalString File { get; set; }34 public String File { get; set; } 35 35 [XmlAttribute(AttributeName = "tn_url")] 36 internalString UrlThunb { get; set; }36 public String UrlThunb { get; set; } 37 37 [XmlAttribute(AttributeName = "element_url")] 38 internalString UrlElement { get; set; }38 public String UrlElement { get; set; } 39 39 [XmlAttribute(AttributeName = "high_url")] 40 internalString UrlHighDef { get; set; }40 public String UrlHighDef { get; set; } 41 41 [XmlAttribute(AttributeName = "hit")] 42 internalInt64 Counter { get; set; }42 public Int64 Counter { get; set; } 43 43 44 44 [XmlArray("tags")] 45 45 [XmlArrayItem("tag")] 46 internalPwgTagProxyResponse[] Tags { get; set; }46 public PwgTagProxyResponse[] Tags { get; set; } 47 47 48 48 [XmlArray("categories")] 49 49 [XmlArrayItem("category")] 50 internalPwgCategoryProxyResponse[] Categories { get; set; }50 public PwgCategoryProxyResponse[] Categories { get; set; } 51 51 52 52 } … … 54 54 [Serializable()] 55 55 [XmlRoot(ElementName = "images")] 56 internalclass PwgImageListProxyResponse56 public class PwgImageListProxyResponse 57 57 { 58 58 [XmlAttribute("page")] 59 internalInt32 Page { get; set; }59 public Int32 Page { get; set; } 60 60 [XmlAttribute("per_page")] 61 internalInt32 PerPage { get; set; }61 public Int32 PerPage { get; set; } 62 62 [XmlAttribute("count")] 63 internalInt32 Count { get; set; }63 public Int32 Count { get; set; } 64 64 65 65 [XmlElement("image", typeof(PwgImageProxyResponse))] 66 internalPwgImageProxyResponse[] Images { get; set; }66 public PwgImageProxyResponse[] Images { get; set; } 67 67 68 68 … … 71 71 [Serializable()] 72 72 [XmlRoot(ElementName = "rsp")] 73 internalclass PwgImagesProxyResponse : PwgBaseProxyReponse73 public class PwgImagesProxyResponse : PwgBaseProxyReponse 74 74 { 75 75 [XmlElement("images")] 76 internalPwgImageListProxyResponse ImageList { get; set; }76 public PwgImageListProxyResponse ImageList { get; set; } 77 77 } 78 78 -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgSessionProxyResponse.cs
r7149 r7160 11 11 [XmlRoot(ElementName = "rsp")] 12 12 13 internalclass PwgSessionProxyResponse : PwgBaseProxyReponse13 public class PwgSessionProxyResponse : PwgBaseProxyReponse 14 14 { 15 15 [XmlElement(ElementName = "username")] 16 internalString UserName { get; set; }16 public String UserName { get; set; } 17 17 [XmlElement(ElementName = "status")] 18 internalstring Status { get; set; }18 public string Status { get; set; } 19 19 [XmlElement(ElementName = "template")] 20 internalString Template { get; set; }20 public String Template { get; set; } 21 21 [XmlElement(ElementName = "theme")] 22 internalString Theme { get; set; }22 public String Theme { get; set; } 23 23 [XmlElement(ElementName = "language")] 24 internalString Language { get; set; }24 public String Language { get; set; } 25 25 [XmlElement(ElementName = "charset")] 26 internalString CharSet { get; set; }26 public String CharSet { get; set; } 27 27 } 28 28 } -
extensions/PiwigoLib/PiwigoLib/Proxy/Response/PwgTagsProxyResponse.cs
r7149 r7160 10 10 [Serializable()] 11 11 [XmlRoot(ElementName = "tag")] 12 internalclass PwgTagProxyResponse12 public class PwgTagProxyResponse 13 13 { 14 14 [XmlAttribute(AttributeName = "id")] 15 internalInt32 Id { get; set; }15 public Int32 Id { get; set; } 16 16 [XmlAttribute(AttributeName = "name")] 17 internalString Name { get; set; }17 public String Name { get; set; } 18 18 [XmlAttribute(AttributeName = "url_name")] 19 internalString UrlName { get; set; }19 public String UrlName { get; set; } 20 20 [XmlAttribute(AttributeName = "counter")] 21 internalInt64 Counter { get; set; }21 public Int64 Counter { get; set; } 22 22 [XmlAttribute(AttributeName = "url")] 23 internalString UrlTag { get; set; }23 public String UrlTag { get; set; } 24 24 } 25 25 26 26 [Serializable()] 27 27 [XmlRoot(ElementName = "rsp")] 28 internalclass PwgTagsProxyResponse : PwgBaseProxyReponse28 public class PwgTagsProxyResponse : PwgBaseProxyReponse 29 29 { 30 30 //[XmlElement(ElementName = "tags")] 31 31 [XmlArray("tags")] 32 32 [XmlArrayItem("tag")] 33 internalPwgTagProxyResponse[] Tags { get; set; }33 public PwgTagProxyResponse[] Tags { get; set; } 34 34 } 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.