24 lines
679 B
C#
24 lines
679 B
C#
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace WebSocket.Clients
|
|
{
|
|
public class Command
|
|
{
|
|
public string E { get; set; }
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Ok { get; set; }
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Error { get; set; }
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public string Oid { get; set; }
|
|
/*
|
|
public CommandData Data { get; set; }
|
|
public class CommandData {
|
|
public string Error { get; set; }
|
|
}*/
|
|
}
|
|
}
|