asternet/Asterisk.2013/Asterisk.NET/Manager/Action/DBDelTreeAction.cs
2014-01-08 14:16:39 +00:00

54 lines
1.4 KiB
C#

using System;
namespace AsterNET.Manager.Action
{
/// <summary>
///
/// </summary>
public class DBDelTreeAction : ManagerAction
{
private string family;
private string key;
public override string Action
{
get { return "DBDelTree"; }
}
/// <summary>
/// Get/Set the the Family of the entry to delete.
/// </summary>
public string Family
{
get { return family; }
set { this.family = value; }
}
/// <summary>
/// Get/Set the the key of the entry to delete.
/// </summary>
public string Key
{
get { return key; }
set { this.key = value; }
}
/// <summary>
/// Creates a new empty DBDelTreeAction.
/// </summary>
public DBDelTreeAction()
{
}
/// <summary>
/// Creates a new DBDelTreeAction that deletes the database true
/// 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 DBDelTreeAction(string family, string key)
{
this.family = family;
this.key = key;
}
}
}