using System.Runtime.Serialization;
namespace Website.Serialization
{
[DataContract]
public class AsynchronousResponse
{
#region Properties
///
/// The type of this response
///
public AsynchronousResponseType Type { get; set; }
///
/// The response mode
///
[DataMember(EmitDefaultValue = false)]
public AsynchronousResponseMode Mode { get; set; }
///
/// Is this an error response?
///
[DataMember(EmitDefaultValue = false)]
public bool IsError { get; set; }
///
/// The message for this response (if any)
///
[DataMember(EmitDefaultValue = false)]
public string Message { get; set; }
#endregion
}
}