//-----------------------------------------------------------------------
//
// Copyright (c) Microsoft. All rights reserved.
//
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.AspNet.Clients {
using System;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
///
/// Contains data of a Facebook user.
///
///
/// Technically, this class doesn't need to be public, but because we want to make it serializable in medium trust, it has to be public.
///
[DataContract]
[EditorBrowsable(EditorBrowsableState.Never)]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Facebook", Justification = "Brand name")]
public class FacebookGraphData {
#region Public Properties
///
/// Gets or sets the birthday.
///
/// The birthday.
[DataMember(Name = "birthday")]
public string Birthday { get; set; }
///
/// Gets or sets the email.
///
/// The email.
[DataMember(Name = "email")]
public string Email { get; set; }
///
/// Gets or sets the gender.
///
/// The gender.
[DataMember(Name = "gender")]
public string Gender { get; set; }
///
/// Gets or sets the id.
///
/// The id.
[DataMember(Name = "id")]
public string Id { get; set; }
///
/// Gets or sets the link.
///
/// The link.
[DataMember(Name = "link")]
public Uri Link { get; set; }
///
/// Gets or sets the name.
///
/// The name.
[DataMember(Name = "name")]
public string Name { get; set; }
#endregion
}
}