using System; namespace Asterisk.NET.Manager.Action { /// /// The ZapHangupAction hangs up a zap channel. /// public class ZapHangupAction : ManagerAction { private int zapChannel; /// /// Get the name of this action, i.e. "ZapHangup". /// override public string Action { get { return "ZapHangup"; } } /// /// Get/Set the number of the zap channel to hangup.
/// This property is mandatory. ///
public int ZapChannel { get { return this.zapChannel; } set { this.zapChannel = value; } } /// /// Creates a new empty ZapHangupAction. /// public ZapHangupAction() { } /// /// Creates a new ZapHangupAction that hangs up the given zap channel (the number of the zap channel to hang up). /// public ZapHangupAction(int zapChannel) { this.zapChannel = zapChannel; } } }