mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
fix: remove default constructors, unused properties can be null
This commit is contained in:
@@ -8,13 +8,6 @@ namespace PepperDash.Essentials.Core.UDMApi
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
internal class RoomResponse
|
internal class RoomResponse
|
||||||
{
|
{
|
||||||
public RoomResponse()
|
|
||||||
{
|
|
||||||
standard = new StandardProperties();
|
|
||||||
status = new StatusProperties();
|
|
||||||
custom = new Dictionary<string, CustomProperties>();
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// API version string
|
/// API version string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -10,10 +10,5 @@ namespace PepperDash.Essentials.Core.UDMApi
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonProperty("devices")]
|
[JsonProperty("devices")]
|
||||||
public Dictionary<string, DeviceStatus> devices { get; set; }
|
public Dictionary<string, DeviceStatus> devices { get; set; }
|
||||||
|
|
||||||
public StatusProperties()
|
|
||||||
{
|
|
||||||
devices = new Dictionary<string, DeviceStatus>();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user