mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-04 07:14:58 +00:00
166 lines
4.5 KiB
C#
166 lines
4.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Crestron.SimplSharp;
|
|
|
|
namespace PepperDash.Essentials.Devices.Common.VideoCodec.Cisco
|
|
{
|
|
/// <summary>
|
|
/// This class exists to capture serialized data sent back by a Cisco codec in JSON output mode
|
|
/// </summary>
|
|
public class CiscoCodecEvents
|
|
{
|
|
public class CauseValue
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CauseType
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CauseString
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class OrigCallDirection
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class RemoteURI
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class DisplayName
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CallId
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CauseCode
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CauseOrigin
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class Protocol
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class Duration
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CallType
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CallRate
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class Encryption
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class RequestedURI
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class PeopleCountAverage
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
|
|
public class CallDisconnect
|
|
{
|
|
public string id { get; set; }
|
|
public CauseValue CauseValue { get; set; }
|
|
public CauseType CauseType { get; set; }
|
|
public CauseString CauseString { get; set; }
|
|
public OrigCallDirection OrigCallDirection { get; set; }
|
|
public RemoteURI RemoteURI { get; set; }
|
|
public DisplayName DisplayName { get; set; }
|
|
public CallId CallId { get; set; }
|
|
public CauseCode CauseCode { get; set; }
|
|
public CauseOrigin CauseOrigin { get; set; }
|
|
public Protocol Protocol { get; set; }
|
|
public Duration Duration { get; set; }
|
|
public CallType CallType { get; set; }
|
|
public CallRate CallRate { get; set; }
|
|
public Encryption Encryption { get; set; }
|
|
public RequestedURI RequestedURI { get; set; }
|
|
public PeopleCountAverage PeopleCountAverage { get; set; }
|
|
}
|
|
public class UserInterface
|
|
{
|
|
public string id { get; set; }
|
|
public Presentation Presentation { get; set; }
|
|
}
|
|
public class Presentation
|
|
{
|
|
public string id { get; set; }
|
|
public ExternalSource ExternalSource { get; set; }
|
|
}
|
|
public class ExternalSource
|
|
{
|
|
public string id { get; set; }
|
|
public Selected Selected { get; set; }
|
|
}
|
|
public class Selected
|
|
{
|
|
public string id { get; set; }
|
|
public SourceIdentifier SourceIdentifier { get; set; }
|
|
}
|
|
public class SourceIdentifier
|
|
{
|
|
public string id { get; set; }
|
|
public string Value { get; set; }
|
|
}
|
|
public class Event
|
|
{
|
|
public CallDisconnect CallDisconnect { get; set; }
|
|
public UserInterface UserInterface { get; set; }
|
|
}
|
|
|
|
public class RootObject
|
|
{
|
|
public Event Event { get; set; }
|
|
}
|
|
}
|
|
} |