Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/tuyanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-10-27 15:47:11 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2021-10-27 15:47:11 +0300
commit56ba3bf92decc1fd166d2207bd8326dfc32e2e0a (patch)
tree53d52cb64f1078197b3dc43bab5aa75e552dc079 /TuyaDeviceStatus.cs
parente7b97d1ba238cfdf0ae7c60b8b21367104ff5e6e (diff)
API
Diffstat (limited to 'TuyaDeviceStatus.cs')
-rw-r--r--TuyaDeviceStatus.cs13
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; }
+ }
+}