using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Stratum { /// /// Represents a Stratum notification /// [JsonObject(MemberSerialization.OptIn)] public class StratumNotification { /// /// Response id, should be null /// [JsonProperty(PropertyName = "id")] public object Id { get; set; } /// /// Method name /// [JsonProperty(PropertyName = "method")] public string Method { get; set; } /// /// Notification data /// [JsonProperty(PropertyName = "params")] public JArray Params { get; set; } } }