Init
This commit is contained in:
17
GoveeCSharpConnector/Objects/GoveeApiDevice.cs
Normal file
17
GoveeCSharpConnector/Objects/GoveeApiDevice.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace GoveeCSharpConnector.Objects;
|
||||
|
||||
public class GoveeApiDevice
|
||||
{
|
||||
[JsonPropertyName("device")]
|
||||
public string DeviceId { get; set; }
|
||||
public string Model { get; set; }
|
||||
public string DeviceName { get; set; }
|
||||
public bool Controllable { get; set; }
|
||||
public bool Retrievable { get; set; }
|
||||
[JsonPropertyName("supportCmds")]
|
||||
public List<string> SupportedCommands { get; set; }
|
||||
public Properties Properties { get; set; }
|
||||
}
|
Reference in New Issue
Block a user