-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelp.cs
More file actions
34 lines (34 loc) · 756 Bytes
/
Copy pathHelp.cs
File metadata and controls
34 lines (34 loc) · 756 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace TTMC.Tuya
{
public class Commands
{
public List<Command>? commands { get; set; }
}
public class Command
{
public string? code { get; set; }
public object? value { get; set; }
}
public class Base
{
public ushort? code { get; set; }
public string? msg { get; set; }
public object? result { get; set; }
public bool success { get; set; }
public long t { get; set; }
public string? tid { get; set; }
}
public class HSV
{
public ushort h { get; set; }
public ushort s { get; set; }
public ushort v { get; set; }
}
public class GetTokenObj
{
public string? access_token { get; set; }
public ushort expire_time { get; set; }
public string? refresh_token { get; set; }
public string? uid { get; set; }
}
}