diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-10-27 15:47:11 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2021-10-27 15:47:11 +0300 |
commit | 56ba3bf92decc1fd166d2207bd8326dfc32e2e0a (patch) | |
tree | 53d52cb64f1078197b3dc43bab5aa75e552dc079 /TuyaDeviceStatus.cs | |
parent | e7b97d1ba238cfdf0ae7c60b8b21367104ff5e6e (diff) |
API
Diffstat (limited to 'TuyaDeviceStatus.cs')
-rw-r--r-- | TuyaDeviceStatus.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/TuyaDeviceStatus.cs b/TuyaDeviceStatus.cs new file mode 100644 index 0000000..c25d0bd --- /dev/null +++ b/TuyaDeviceStatus.cs @@ -0,0 +1,13 @@ +using System.Text.Json.Serialization;
+
+namespace com.clusterrr.TuyaNet
+{
+ public class TuyaDeviceStatus
+ {
+ [JsonPropertyName("code")]
+ public string Code { get; set; }
+
+ [JsonPropertyName("value")]
+ public object Value { get; set; }
+ }
+}
|