Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Xml.Serialization;
- using System.Collections.Generic;
- namespace XmlResponses {
- [XmlRoot( ElementName = "DISPATCH" )]
- public class DISPATCH {
- [XmlElement( ElementName = "TITLE" )]
- public string TITLE { get; set; }
- [XmlElement( ElementName = "AUTHOR" )]
- public string AUTHOR { get; set; }
- [XmlElement( ElementName = "CATEGORY" )]
- public string CATEGORY { get; set; }
- [XmlElement( ElementName = "SUBCATEGORY" )]
- public string SUBCATEGORY { get; set; }
- [XmlElement( ElementName = "CREATED" )]
- public string CREATED { get; set; }
- [XmlElement( ElementName = "EDITED" )]
- public string EDITED { get; set; }
- [XmlElement( ElementName = "VIEWS" )]
- public string VIEWS { get; set; }
- [XmlElement( ElementName = "SCORE" )]
- public string SCORE { get; set; }
- [XmlAttribute( AttributeName = "id" )]
- public string Id { get; set; }
- }
- [XmlRoot( ElementName = "DISPATCHLIST" )]
- public class DISPATCHLIST {
- [XmlElement( ElementName = "DISPATCH" )]
- public List<DISPATCH> DISPATCH { get; set; }
- }
- [XmlRoot( ElementName = "WORLD" )]
- public partial class WORLD {
- [XmlElement( ElementName = "DISPATCHLIST" )]
- public DISPATCHLIST DISPATCHLIST { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement