mirror of
https://github.com/ckaczor/HomeMonitor.git
synced 2026-01-13 17:22:54 -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
|
||||
{
|
||||
[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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user