mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-14 01:25:38 -05:00
Change properties to lowercase
This commit is contained in:
@@ -1,9 +1,14 @@
|
|||||||
namespace Service;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace Service;
|
||||||
|
|
||||||
public class Device
|
public class Device
|
||||||
{
|
{
|
||||||
|
[JsonPropertyName("name")]
|
||||||
public string Name { get; }
|
public string Name { get; }
|
||||||
public bool Status { get; set; }
|
|
||||||
|
[JsonPropertyName("status")]
|
||||||
|
public bool Status { get; private set; }
|
||||||
|
|
||||||
public Device(string name, string statusString)
|
public Device(string name, string statusString)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user