diff --git a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs index c1abaaf5..6bb1d1ce 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs @@ -25,35 +25,22 @@ namespace PepperDash.Essentials.Core.UDMApi /// Standard room properties /// [JsonProperty("standard")] - public StandardProperties standard { get; set; } + public StandardProperties standard { get; private set; } /// /// Status information including devices /// [JsonProperty("status")] - public StatusProperties status { get; set; } + public StatusProperties status { get; private set; } /// /// Custom properties dictionary /// [JsonProperty("custom")] - public Dictionary custom { get; set; } + public Dictionary custom { get; private set; } } /// /// Represents status properties including devices /// - internal class StatusProperties - { - /// - /// Dictionary of device statuses keyed by device identifier - /// - [JsonProperty("devices")] - public Dictionary devices { get; set; } - - public StatusProperties() - { - devices = new Dictionary(); - } - } }