using Newtonsoft.Json;
namespace PepperDash.Essentials.WebSocketServer
{
///
/// Represents a Version
///
public class Version
{
///
/// Server version this Websocket is connected to
///
[JsonProperty("serverVersion")]
public string ServerVersion { get; set; }
///
/// True if the server is on a processor
///
[JsonProperty("serverIsRunningOnProcessorHardware")]
public bool ServerIsRunningOnProcessorHardware { get; private set; }
///
/// Initialize an instance of the class
///
///
/// The property is set to true by default.
///
public Version()
{
ServerIsRunningOnProcessorHardware = true;
}
}
}