mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 12:06:58 +00:00
fix(essentials): Adds JsonProperty attributes to MeetingInfo properties for serialization
This commit is contained in:
parent
0a1af09830
commit
3edb0145d0
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using Crestron.SimplSharp;
|
using Crestron.SimplSharp;
|
||||||
|
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
|
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
@ -22,10 +24,15 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Interfaces
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class MeetingInfo
|
public class MeetingInfo
|
||||||
{
|
{
|
||||||
|
[JsonProperty("id")]
|
||||||
public string Id { get; private set; }
|
public string Id { get; private set; }
|
||||||
|
[JsonProperty("name")]
|
||||||
public string Name { get; private set; }
|
public string Name { get; private set; }
|
||||||
|
[JsonProperty("host")]
|
||||||
public string Host { get; set; }
|
public string Host { get; set; }
|
||||||
|
[JsonProperty("password")]
|
||||||
public string Password { get; private set; }
|
public string Password { get; private set; }
|
||||||
|
[JsonProperty("shareStatus")]
|
||||||
public string ShareStatus { get; private set; }
|
public string ShareStatus { get; private set; }
|
||||||
|
|
||||||
public MeetingInfo(string id, string name, string host, string password, string shareStatus)
|
public MeetingInfo(string id, string name, string host, string password, string shareStatus)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue