namespace Renci.SshNet.Common
{
    /// 
    /// Provides prompt information when  is raised
    /// 
    public class AuthenticationPrompt
    {
        /// 
        /// Gets the prompt sequence id.
        /// 
        public int Id { get; private set; }
        /// 
        /// Gets or sets a value indicating whether the user input should be echoed as characters are typed.
        /// 
        /// 
        ///   true if the user input should be echoed as characters are typed; otherwise, false.
        /// 
        public bool IsEchoed { get; private set; }
        /// 
        /// Gets server information request.
        /// 
        public string Request { get; private set; }
        /// 
        /// Gets or sets server information response.
        /// 
        /// 
        /// The response.
        /// 
        public string Response { get; set; }
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The sequence id.
        /// if set to true the user input should be echoed.
        /// The request.
        public AuthenticationPrompt(int id, bool isEchoed, string request)
        {
            this.Id = id;
            this.IsEchoed = isEchoed;
            this.Request = request;
        }
    }
}