SboxSuperuser/Api/AdminPermissionRow.cs

A small data class holding one permission entry for a module's documentation. Stores the permission key and a human readable description.

namespace SboxSuperuser;

/// <summary>One permission in a module's documentation.</summary>
public sealed class AdminPermissionRow
{
	/// <summary>Gets the exact permission key.</summary>
	public string Key { get; init; } = "";

	/// <summary>Gets what the permission allows, or empty when the module gave no description.</summary>
	public string Description { get; init; } = "";
}