From e44a7160ad833460fe9d4b5ccf93b39725ebb180 Mon Sep 17 00:00:00 2001 From: Aviv Cohn Date: Tue, 9 Dec 2025 23:07:14 -0500 Subject: [PATCH] fix: remove default constructors, unused properties can be null --- src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs | 7 ------- src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs | 5 ----- 2 files changed, 12 deletions(-) diff --git a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs index 90202d59..61538418 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs @@ -8,13 +8,6 @@ namespace PepperDash.Essentials.Core.UDMApi /// internal class RoomResponse { - public RoomResponse() - { - standard = new StandardProperties(); - status = new StatusProperties(); - custom = new Dictionary(); - } - /// /// API version string /// diff --git a/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs b/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs index 1c84160e..36d3a8e1 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs @@ -10,10 +10,5 @@ namespace PepperDash.Essentials.Core.UDMApi /// [JsonProperty("devices")] public Dictionary devices { get; set; } - - public StatusProperties() - { - devices = new Dictionary(); - } } }