diff --git a/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePenaltyAction.cs b/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePenaltyAction.cs index 302fbc5..e4ea44b 100644 --- a/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePenaltyAction.cs +++ b/Asterisk.2013/Asterisk.NET/Manager/Action/QueuePenaltyAction.cs @@ -12,9 +12,20 @@ /// /// Set the penalty for a queue member. /// - /// - /// - /// + /// The interface (tech/name) of the member whose penalty to change. + /// The new penalty (number) for the member. Must be nonnegative. + public QueuePenaltyAction(string @interface, string penalty) + { + Interface = @interface; + Penalty = penalty; + } + + /// + /// Set the penalty for a queue member. + /// + /// The interface (tech/name) of the member whose penalty to change. + /// The new penalty (number) for the member. Must be nonnegative. + /// If specified, only set the penalty for the member of this queue. Otherwise, set the penalty for the member in all queues to which the member belongs. public QueuePenaltyAction(string @interface, string penalty, string queue) { Interface = @interface; @@ -26,11 +37,20 @@ { get { return "QueuePenalty"; } } - + + /// + /// The interface (tech/name) of the member whose penalty to change. + /// public string Interface { get; set; } - + + /// + /// The new penalty (number) for the member. Must be nonnegative. + /// public string Penalty { get; set; } - + + /// + /// If specified, only set the penalty for the member of this queue. Otherwise, set the penalty for the member in all queues to which the member belongs. + /// public string Queue { get; set; } } -} \ No newline at end of file +}