diff --git a/src/PepperDash.Essentials.Core/UDMApi/CustomProperties.cs b/src/PepperDash.Essentials.Core/UDMApi/CustomProperties.cs index 938a1c73..7aa9bc1f 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/CustomProperties.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/CustomProperties.cs @@ -6,10 +6,10 @@ namespace PepperDash.Essentials.Core.UDMApi internal class CustomProperties { [JsonProperty("label")] - public string label { get; set; } + public string Label { get; set; } [JsonProperty("value")] - public string value { get; set; } + public string Value { get; set; } } } diff --git a/src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs b/src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs index 5e06da9c..d89e5f74 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs @@ -5,25 +5,25 @@ namespace PepperDash.Essentials.Core.UDMApi internal class DeviceStatus { [JsonProperty("label")] - public string label { get; set; } + public string Label { get; set; } [JsonProperty("status")] - public string status { get; set; } + public string Status { get; set; } [JsonProperty("description")] - public string description { get; set; } + public string Description { get; set; } [JsonProperty("videoSource")] - public string videoSource { get; set; } + public string VideoSource { get; set; } [JsonProperty("audioSource")] - public string audioSource { get; set; } + public string AudioSource { get; set; } [JsonProperty("usage")] - public int usage { get; set; } + public int Usage { get; set; } [JsonProperty("error")] - public string error { get; set; } + public string Error { get; set; } } } diff --git a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs index 61538418..7192cd7e 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/RoomResponse.cs @@ -12,24 +12,24 @@ namespace PepperDash.Essentials.Core.UDMApi /// API version string /// [JsonProperty("apiVersion")] - public string apiVersion { get; set; } + public string ApiVersion { get; set; } /// /// Standard room properties /// [JsonProperty("standard")] - public StandardProperties standard { get; set; } + public StandardProperties Standard { get; set; } /// /// Status information including devices /// [JsonProperty("status")] - public StatusProperties status { get; set; } + public StatusProperties Status { get; set; } /// /// Custom properties dictionary /// [JsonProperty("custom")] - public Dictionary custom { get; set; } + public Dictionary Custom { get; set; } } } diff --git a/src/PepperDash.Essentials.Core/UDMApi/StandardProperties.cs b/src/PepperDash.Essentials.Core/UDMApi/StandardProperties.cs index daf46482..2014585c 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/StandardProperties.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/StandardProperties.cs @@ -5,22 +5,22 @@ namespace PepperDash.Essentials.Core.UDMApi internal class StandardProperties { [JsonProperty("version")] - public string version { get; set; } + public string Version { get; set; } [JsonProperty("state")] - public string state { get; set; } + public string State { get; set; } [JsonProperty("error")] - public string error { get; set; } + public string Error { get; set; } [JsonProperty("occupancy")] - public bool occupancy { get; set; } + public bool Occupancy { get; set; } [JsonProperty("helpRequest")] - public string helpRequest { get; set; } + public string HelpRequest { get; set; } [JsonProperty("activity")] - public string activity { get; set; } + public string Activity { get; set; } } } diff --git a/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs b/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs index 36d3a8e1..cf66420f 100644 --- a/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs +++ b/src/PepperDash.Essentials.Core/UDMApi/StatusProperties.cs @@ -9,6 +9,6 @@ namespace PepperDash.Essentials.Core.UDMApi /// Dictionary of device statuses keyed by device identifier /// [JsonProperty("devices")] - public Dictionary devices { get; set; } + public Dictionary Devices { get; set; } } }