mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-01-31 05:14:51 +00:00
Merge remote-tracking branch 'origin/feature/cisco-spark-2' into feature/ecs-407
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
|
||||
using PepperDash.Core;
|
||||
using PepperDash.Essentials.Devices.Common.VideoCodec;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Common.Codec
|
||||
{
|
||||
@@ -138,94 +139,4 @@ namespace PepperDash.Essentials.Devices.Common.Codec
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public class CiscoCallHistory
|
||||
{
|
||||
|
||||
public class CallbackNumber
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class DisplayName
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceStartTime
|
||||
{
|
||||
public DateTime Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceDaysAgo
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceHistoryId
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class OccurrenceType
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class IsAcknowledged
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class OccurrenceCount
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class Entry
|
||||
{
|
||||
public string id { get; set; }
|
||||
public CallbackNumber CallbackNumber { get; set; }
|
||||
public DisplayName DisplayName { get; set; }
|
||||
public LastOccurrenceStartTime LastOccurrenceStartTime { get; set; }
|
||||
public LastOccurrenceDaysAgo LastOccurrenceDaysAgo { get; set; }
|
||||
public LastOccurrenceHistoryId LastOccurrenceHistoryId { get; set; }
|
||||
public OccurrenceType OccurrenceType { get; set; }
|
||||
public IsAcknowledged IsAcknowledged { get; set; }
|
||||
public OccurrenceCount OccurrenceCount { get; set; }
|
||||
}
|
||||
|
||||
public class Offset
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class Limit
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class ResultInfo
|
||||
{
|
||||
public Offset Offset { get; set; }
|
||||
public Limit Limit { get; set; }
|
||||
}
|
||||
|
||||
public class CallHistoryRecentsResult
|
||||
{
|
||||
public string status { get; set; }
|
||||
public List<Entry> Entry { get; set; }
|
||||
public ResultInfo ResultInfo { get; set; }
|
||||
}
|
||||
|
||||
public class CommandResponse
|
||||
{
|
||||
public CallHistoryRecentsResult CallHistoryRecentsResult { get; set; }
|
||||
}
|
||||
|
||||
public class RootObject
|
||||
{
|
||||
public CommandResponse CommandResponse { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -140,6 +140,7 @@
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Streaming\Roku.cs" />
|
||||
<Compile Include="VideoCodec\CiscoCodec\BookingsDataClasses.cs" />
|
||||
<Compile Include="VideoCodec\CiscoCodec\CallHistoryDataClasses.cs" />
|
||||
<Compile Include="VideoCodec\CiscoCodec\CiscoCodec.cs" />
|
||||
<Compile Include="VideoCodec\CiscoCodec\CiscoCodecPropertiesConfig.cs" />
|
||||
<Compile Include="VideoCodec\MockVC\MockVcPropertiesConfig.cs" />
|
||||
|
||||
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Crestron.SimplSharp;
|
||||
|
||||
namespace PepperDash.Essentials.Devices.Common.VideoCodec
|
||||
{
|
||||
public class CiscoCallHistory
|
||||
{
|
||||
public class CallbackNumber
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class DisplayName
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceStartTime
|
||||
{
|
||||
public DateTime Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceDaysAgo
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class LastOccurrenceHistoryId
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class OccurrenceType
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class IsAcknowledged
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class OccurrenceCount
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class Entry
|
||||
{
|
||||
public string id { get; set; }
|
||||
public CallbackNumber CallbackNumber { get; set; }
|
||||
public DisplayName DisplayName { get; set; }
|
||||
public LastOccurrenceStartTime LastOccurrenceStartTime { get; set; }
|
||||
public LastOccurrenceDaysAgo LastOccurrenceDaysAgo { get; set; }
|
||||
public LastOccurrenceHistoryId LastOccurrenceHistoryId { get; set; }
|
||||
public OccurrenceType OccurrenceType { get; set; }
|
||||
public IsAcknowledged IsAcknowledged { get; set; }
|
||||
public OccurrenceCount OccurrenceCount { get; set; }
|
||||
}
|
||||
|
||||
public class Offset
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class Limit
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
|
||||
public class ResultInfo
|
||||
{
|
||||
public Offset Offset { get; set; }
|
||||
public Limit Limit { get; set; }
|
||||
}
|
||||
|
||||
public class CallHistoryRecentsResult
|
||||
{
|
||||
public string status { get; set; }
|
||||
public List<Entry> Entry { get; set; }
|
||||
public ResultInfo ResultInfo { get; set; }
|
||||
}
|
||||
|
||||
public class CommandResponse
|
||||
{
|
||||
public CallHistoryRecentsResult CallHistoryRecentsResult { get; set; }
|
||||
}
|
||||
|
||||
public class RootObject
|
||||
{
|
||||
public CommandResponse CommandResponse { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,8 +22,6 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
||||
|
||||
public class CiscoCodec : VideoCodecBase, IHasCallHistory, IHasCallFavorites, IHasDirectory, IHasScheduleAwareness
|
||||
{
|
||||
public event EventHandler<EventArgs> UpcomingMeetingWarning;
|
||||
|
||||
public event EventHandler<DirectoryEventArgs> DirectoryResultReturned;
|
||||
|
||||
public IBasicCommunication Communication { get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user