using System; namespace Asterisk.NET.Manager.Action { /// /// The ZapDNDOnAction switches a zap channel "Do Not Disturb" status off. /// public class ZapDNDOffAction : ManagerAction { private int zapChannel; /// /// Get the name of this action, i.e. "ZapDNDOff". /// override public string Action { get { return "ZapDNDOff"; } } /// /// Get/Set the number of the zap channel to switch to dnd off.
/// This property is mandatory. ///
public int ZapChannel { get { return this.zapChannel; } set { this.zapChannel = value; } } /// /// Creates a new empty ZapDNDOffAction. /// public ZapDNDOffAction() { } /// /// Creates a new ZapDNDOffAction that disables "Do Not Disturb" status for the given zap channel. /// public ZapDNDOffAction(int zapChannel) { this.zapChannel = zapChannel; } } }