asternet/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePenaltyAction.cs

36 lines
953 B
C#
Raw Normal View History

2015-01-03 15:37:29 +00:00
namespace AsterNET.Manager.Action
2014-01-08 14:16:39 +00:00
{
public class QueuePenaltyAction : ManagerAction
{
/// <summary>
2015-01-03 15:37:29 +00:00
/// Set the penalty for a queue member.
2014-01-08 14:16:39 +00:00
/// </summary>
public QueuePenaltyAction()
{
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Set the penalty for a queue member.
2014-01-08 14:16:39 +00:00
/// </summary>
/// <param name="interface"></param>
/// <param name="penalty"></param>
/// <param name="queue"></param>
public QueuePenaltyAction(string @interface, string penalty, string queue)
{
2015-01-03 15:37:29 +00:00
Interface = @interface;
Penalty = penalty;
Queue = queue;
2014-01-08 14:16:39 +00:00
}
public override string Action
{
get { return "QueuePenalty"; }
}
2015-01-03 15:37:29 +00:00
public string Interface { get; set; }
2014-01-08 14:16:39 +00:00
2015-01-03 15:37:29 +00:00
public string Penalty { get; set; }
2014-01-08 14:16:39 +00:00
2015-01-03 15:37:29 +00:00
public string Queue { get; set; }
2014-01-08 14:16:39 +00:00
}
2015-01-03 15:37:29 +00:00
}