mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-12 19:24:53 +00:00
feat: add classes for UDMApi state document
This commit is contained in:
34
src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs
Normal file
34
src/PepperDash.Essentials.Core/UDMApi/DeviceStatus.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace PepperDash.Essentials.Core.UDMApi
|
||||
{
|
||||
internal class DeviceStatus
|
||||
{
|
||||
[JsonProperty("label")]
|
||||
public string label { get; set; }
|
||||
|
||||
[JsonProperty("status")]
|
||||
public string status { get; set; }
|
||||
|
||||
[JsonProperty("description")]
|
||||
public string description { get; set; }
|
||||
|
||||
[JsonProperty("videoSource")]
|
||||
public string videoSource { get; set; }
|
||||
|
||||
[JsonProperty("audioSource")]
|
||||
public string audioSource { get; set; }
|
||||
|
||||
[JsonProperty("usage")]
|
||||
public int usage { get; set; }
|
||||
|
||||
[JsonProperty("error")]
|
||||
public string error { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user