mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-11 19:44:52 +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>
|
||||
internal class RoomResponse
|
||||
{
|
||||
public RoomResponse()
|
||||
{
|
||||
standard = new StandardProperties();
|
||||
status = new StatusProperties();
|
||||
custom = new Dictionary<string, CustomProperties>();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// API version string
|
||||
/// </summary>
|
||||
|
||||
@@ -10,10 +10,5 @@ namespace PepperDash.Essentials.Core.UDMApi
|
||||
/// </summary>
|
||||
[JsonProperty("devices")]
|
||||
public Dictionary<string, DeviceStatus> devices { get; set; }
|
||||
|
||||
public StatusProperties()
|
||||
{
|
||||
devices = new Dictionary<string, DeviceStatus>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user