also narrows types for `Update`, we onlu used the `Key` and `Value` properties, so that's all clients need to pass
15 lines
438 B
C#
15 lines
438 B
C#
namespace RdtClient.Data.Models.Internal;
|
|
|
|
public class SettingKeyValuePair
|
|
{
|
|
/// <summary>
|
|
/// The unique human-readable key identifying the setting
|
|
/// </summary>
|
|
/// <example>General:LogLevel</example>
|
|
/// <example>"Provider:Default:ExcludeRegex</example>
|
|
public String Key { get; set; } = default!;
|
|
/// <summary>
|
|
/// The value of the setting
|
|
/// </summary>
|
|
public Object? Value { get; set; }
|
|
}
|