Change properties to lowercase

This commit is contained in:
2022-08-18 11:24:03 -04:00
parent 970f4ba59f
commit 7ea7a50e73

View File

@@ -1,9 +1,14 @@
namespace Service;
using System.Text.Json.Serialization;
namespace Service;
public class Device
{
[JsonPropertyName("name")]
public string Name { get; }
public bool Status { get; set; }
[JsonPropertyName("status")]
public bool Status { get; private set; }
public Device(string name, string statusString)
{