mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 20:54:55 +00:00
feat(essentials): adds JSON property attributes as needed
This commit is contained in:
@@ -6,6 +6,8 @@ using Crestron.SimplSharp;
|
|||||||
|
|
||||||
using PepperDash.Essentials.Core;
|
using PepperDash.Essentials.Core;
|
||||||
|
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -45,11 +47,17 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
|||||||
|
|
||||||
public class LayoutInfoChangedEventArgs : EventArgs
|
public class LayoutInfoChangedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
|
[JsonProperty("availableLayouts", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public ZoomRoom.zConfiguration.eLayoutStyle AvailableLayouts { get; set; }
|
public ZoomRoom.zConfiguration.eLayoutStyle AvailableLayouts { get; set; }
|
||||||
|
[JsonProperty("currentSelectedLayout", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public ZoomRoom.zConfiguration.eLayoutStyle CurrentSelectedLayout { get; set; }
|
public ZoomRoom.zConfiguration.eLayoutStyle CurrentSelectedLayout { get; set; }
|
||||||
|
[JsonProperty("canSwapContentWithThumbnail", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool CanSwapContentWithThumbnail { get; set; }
|
public bool CanSwapContentWithThumbnail { get; set; }
|
||||||
|
[JsonProperty("contentSwappedWithThumbnail", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool ContentSwappedWithThumbnail { get; set; }
|
public bool ContentSwappedWithThumbnail { get; set; }
|
||||||
|
[JsonProperty("layoutViewIsOnFirstPage", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool LayoutViewIsOnFirstPage { get; set; }
|
public bool LayoutViewIsOnFirstPage { get; set; }
|
||||||
|
[JsonProperty("layoutViewIsOnLastPage", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public bool LayoutViewIsOnLastPage { get; set; }
|
public bool LayoutViewIsOnLastPage { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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.Codec
|
namespace PepperDash.Essentials.Devices.Common.Codec
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -19,12 +21,19 @@ namespace PepperDash.Essentials.Devices.Common.Codec
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class VideoCodecInfo
|
public abstract class VideoCodecInfo
|
||||||
{
|
{
|
||||||
|
[JsonProperty("multiSiteOptionIsEnabled", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract bool MultiSiteOptionIsEnabled { get; }
|
public abstract bool MultiSiteOptionIsEnabled { get; }
|
||||||
|
[JsonProperty("ipAddress", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract string IpAddress { get; }
|
public abstract string IpAddress { get; }
|
||||||
|
[JsonProperty("sipPhoneNumber", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract string SipPhoneNumber { get; }
|
public abstract string SipPhoneNumber { get; }
|
||||||
|
[JsonProperty("e164Alias", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract string E164Alias { get; }
|
public abstract string E164Alias { get; }
|
||||||
|
[JsonProperty("h323Id", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract string H323Id { get; }
|
public abstract string H323Id { get; }
|
||||||
|
[JsonProperty("sipUri", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract string SipUri { get; }
|
public abstract string SipUri { get; }
|
||||||
|
[JsonProperty("autoAnswerEnabled", NullValueHandling = NullValueHandling.Ignore)]
|
||||||
public abstract bool AutoAnswerEnabled { get; }
|
public abstract bool AutoAnswerEnabled { get; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user