Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

Contacts.cs

using System.Xml.Serialization;
using System.Xml.Schema;

namespace FlickrNet
{
      /// <summary>
      /// Contains a list of <see cref="Contact"/> items for a given user.
      /// </summary>
      [System.Serializable]
00010       public class Contacts
      {
            /// <summary>
            /// An array of <see cref="Contact"/> items for the user.
            /// </summary>
            [XmlElement("contact", Form=XmlSchemaForm.Unqualified)]
00016             public Contact[] ContactCollection = new Contact[0];
      }

      /// <summary>
      /// Contains details of a contact for a particular user.
      /// </summary>
      [System.Serializable]
00023       public class Contact
      {
            /// <summary>
            /// The user id of the contact.
            /// </summary>
            [XmlAttribute("nsid", Form=XmlSchemaForm.Unqualified)]
00029             public string UserId;
    
            /// <summary>
            /// The username (or screen name) of the contact.
            /// </summary>
            [XmlAttribute("username", Form=XmlSchemaForm.Unqualified)]
00035             public string UserName;
    
            /// <summary>
            /// Is this contact marked as a friend contact?
            /// </summary>
            [XmlAttribute("friend", Form=XmlSchemaForm.Unqualified)]
00041             public int IsFriend;
    
            /// <summary>
            /// Is this user marked a family contact?
            /// </summary>
            [XmlAttribute("family", Form=XmlSchemaForm.Unqualified)]
00047             public int IsFamily;
    
            /// <summary>
            /// Unsure how to even set this!
            /// </summary>
            [XmlAttribute("ignored", Form=XmlSchemaForm.Unqualified)]
00053             public int IsIgnored;

            /// <summary>
            /// Is the user online at the moment (FlickrLive)
            /// </summary>
            [XmlAttribute("online", Form=XmlSchemaForm.Unqualified)]
00059             public int IsOnline;

            /// <summary>
            /// If the user is online, but marked as away, then this will contains their away message.
            /// </summary>
            [XmlText()]
00065             public string AwayDescription;
      }
}

Generated by  Doxygen 1.6.0   Back to index