using System.Xml.Serialization; using System.Xml.Schema; namespace FlickrNet { /// /// Contains a list of items for the user. /// /// /// may be null if no blogs are specified. /// [System.Serializable] public class Blogs { /// /// An array of items for the user. /// [XmlElement("blog", Form=XmlSchemaForm.Unqualified)] public Blog[] BlogCollection; } /// /// Provides details of a specific blog, as configured by the user. /// [System.Serializable] public class Blog { /// /// The ID Flickr has assigned to the blog. Use this to post to the blog using /// or /// . /// [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)] public string BlogId; /// /// The name you have assigned to the blog in Flickr. /// [XmlAttribute("name", Form=XmlSchemaForm.Unqualified)] public string BlogName; /// /// The URL of the blog website. /// [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)] public string BlogUrl; /// /// If Flickr stores the password for this then this will be 0, meaning you do not need to pass in the /// password when posting. /// [XmlAttribute("needspassword")] public int NeedsPassword; } }