﻿using System.Runtime.Serialization;
using Newtonsoft.Json;

namespace Net.Bluewalk.Slide.API.Domain.Responses
{
    /// <summary>
    /// Base response class
    /// </summary>
    public class BaseResponse
    {
        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="BaseResponse"/> is success.
        /// </summary>
        /// <value><c>true</c> if success; otherwise, <c>false</c>.</value>
        [JsonProperty("success")]
        public bool Success { get; set; }
    }
}