asternet/Asterisk.2013/Asterisk.NET/Manager/Action/DBDelTreeAction.cs

41 lines
1.1 KiB
C#
Raw Normal View History

2015-01-03 15:37:29 +00:00
namespace AsterNET.Manager.Action
{
/// <summary>
/// </summary>
public class DBDelTreeAction : ManagerAction
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// Creates a new empty DBDelTreeAction.
/// </summary>
public DBDelTreeAction()
{
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Creates a new DBDelTreeAction that deletes the database true
/// with the given key in the given family.
/// </summary>
2015-01-03 15:37:29 +00:00
/// <param name="family">the family of the key</param>
/// <param name="key">the key of the entry to retrieve</param>
public DBDelTreeAction(string family, string key)
{
2015-01-03 15:37:29 +00:00
Family = family;
Key = key;
}
2015-01-03 15:37:29 +00:00
public override string Action
{
2015-01-03 15:37:29 +00:00
get { return "DBDelTree"; }
}
/// <summary>
2015-01-03 15:37:29 +00:00
/// Get/Set the the Family of the entry to delete.
/// </summary>
2015-01-03 15:37:29 +00:00
public string Family { get; set; }
/// <summary>
2015-01-03 15:37:29 +00:00
/// Get/Set the the key of the entry to delete.
/// </summary>
2015-01-03 15:37:29 +00:00
public string Key { get; set; }
}
}