Files
mapo-iob-libs/EgwProxy.Shelly/DTO/ShellyGen2StatusDto.cs
T
2025-08-07 08:35:34 +02:00

51 lines
1.2 KiB
C#

using EgwProxy.Shelly.DTO.Gen2;
using Newtonsoft.Json;
namespace EgwProxy.Shelly.DTO
{
/// <summary>
/// Shelly Gen2 device status data
/// https://shelly-api-docs.shelly.cloud/gen2/#status
/// </summary>
public class ShellyGen2StatusDto
{
/// <summary>
/// WiFi data
/// </summary>
[JsonProperty("wifi")]
public WifiDto WiFiStatus { get; set; }
/// <summary>
/// Shelly Cloud state
/// </summary>
[JsonProperty("cloud")]
public CloudDto ShellyCloud { get; set; }
/// <summary>
/// EnergyMonitor 0 data
/// </summary>
[JsonProperty("em:0")]
public EMDto EmData { get; set; }
/// <summary>
/// MQTT queue state
/// </summary>
[JsonProperty("mqtt")]
public BaseServiceDto MQTT { get; set; }
/// <summary>
/// Sys Info data
/// </summary>
[JsonProperty("sys")]
public SysDto SysInfo { get; set; }
/// <summary>
/// WS state
/// </summary>
[JsonProperty("ws")]
public BaseServiceDto WebSocket { get; set; }
}
}