namespace LibNftables;
///
/// Represents a typed nftables map definition backed by native C# collections.
///
public sealed class NftMap
{
///
/// Gets or sets the map name.
///
public string? Name { get; set; }
///
/// Gets or sets a common typed key type.
///
///
/// Set either or .
///
public NftMapType? KeyType { get; set; }
///
/// Gets or sets a custom nftables key-type expression for the map.
///
///
/// Set either or .
///
public string? CustomKeyTypeExpression { get; set; }
///
/// Gets or sets a common typed value type.
///
///
/// Set either or .
///
public NftMapType? ValueType { get; set; }
///
/// Gets or sets a custom nftables value-type expression for the map.
///
///
/// Set either or .
///
public string? CustomValueTypeExpression { get; set; }
///
/// Gets the entries declared inline with the map definition.
///
public IList Entries { get; } = new List();
}