using System;
namespace AsterNET.Manager.Event
{
///
/// Raised when a member is paused/unpaused in the queue.
/// Available since Asterisk 12
///
public class QueueMemberPauseEvent : AbstractQueueMemberEvent
{
///
/// The name of the queue member.
///
public string MemberName { get; set; }
///
/// Get/Set if this queue member is paused (not accepting calls).
/// true if this member has been paused or
/// false if not.
///
public bool Paused { get; set; }
///
/// The reason a member was paused.
///
public string Reason { get; set; }
///
/// Set to 1 if member is in call. Set to 0 after LastCall time is updated.
/// Available since Asterisk 13
///
public string InCall { get; set; }
///
/// If set when paused, the reason the queue member was paused.
/// Available since Asterisk 13
///
public string PausedReason { get; set; }
public QueueMemberPauseEvent(ManagerConnection source)
: base(source)
{
}
}
}