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

User.cs

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

namespace FlickrNet
{
      /// <summary>
      /// Contains details of a user
      /// </summary>
      [System.Serializable]
00010       public class User
      {
            private string _userId;
            private string _url;
            private string _username;

            /// <summary>
            /// The id of the user object.
            /// </summary>
            [XmlAttribute("id", Form=XmlSchemaForm.Unqualified)]
            public string UserId
00021             {
                  get { return _userId; }
                  set { _userId = value; }
            }

            /// <summary>
            /// The url for the user. Only available for objects returned 
            /// by <see cref="Flickr.UrlsGetUserPhotos"/> and <see cref="Flickr.UrlsGetUserProfile"/>.
            /// </summary>
            [XmlAttribute("url", Form=XmlSchemaForm.Unqualified)]
            public string Url
00032             {
                  get { return _url; }
                  set { _url = value; }
            }

            /// <summary>
            /// The Username of the selected user.
            /// Not available when returned by <see cref="Flickr.UrlsGetUserPhotos"/> and <see cref="Flickr.UrlsGetUserProfile"/>.
            /// </summary>
            [XmlElement("username")]
            public string UserName
00043             {
                  get { return _username; }
                  set { _username = value; }
            }
      }
}

Generated by  Doxygen 1.6.0   Back to index