using System;
namespace Asterisk.NET.Manager.Action
{
///
///
///
public class DBDelAction : ManagerAction
{
private string family;
private string key;
public override string Action
{
get { return "DBDel"; }
}
///
/// Get/Set the the Family of the entry to delete.
///
public string Family
{
get { return family; }
set { this.family = value; }
}
///
/// Get/Set the the key of the entry to delete.
///
public string Key
{
get { return key; }
set { this.key = value; }
}
///
/// Creates a new empty DBDelAction.
///
public DBDelAction()
{
}
///
/// Creates a new DBDelAction that deletes the value of the database entry
/// with the given key in the given family.
///
/// the family of the key
/// the key of the entry to retrieve
public DBDelAction(string family, string key)
{
this.family = family;
this.key = key;
}
}
}