asternet/Asterisk.2013/Asterisk.NET/Manager/Action/DBDelAction.cs
2015-01-03 15:37:29 +00:00

41 lines
1.1 KiB
C#

namespace AsterNET.Manager.Action
{
/// <summary>
/// </summary>
public class DBDelAction : ManagerAction
{
/// <summary>
/// Creates a new empty DBDelAction.
/// </summary>
public DBDelAction()
{
}
/// <summary>
/// Creates a new DBDelAction that deletes the value of the database entry
/// with the given key in the given family.
/// </summary>
/// <param name="family">the family of the key</param>
/// <param name="key">the key of the entry to retrieve</param>
public DBDelAction(string family, string key)
{
Family = family;
Key = key;
}
public override string Action
{
get { return "DBDel"; }
}
/// <summary>
/// Get/Set the the Family of the entry to delete.
/// </summary>
public string Family { get; set; }
/// <summary>
/// Get/Set the the key of the entry to delete.
/// </summary>
public string Key { get; set; }
}
}