Documentation
Table of Contents

Enum SettingKind

Namespace
IntentSharp.Guardrails
Assembly
IntentSharp.dll

The kind of value a setting takes, which decides the values it accepts.

public enum SettingKind
Extension Methods

Fields

Boolean = 2

JSON true or false.

Count = 0

A whole number of zero or more, written as a JSON number; "unlimited" where the setting allows it.

Duration = 1

A length of time, written as text in hh:mm:ss (with optional days and fractions) or ISO 8601 such as PT30S, never as a bare number; "unlimited" where the setting allows it. A positive value under one second is taken as written.

Other = 4

Any JSON value other than null; the value is not checked further.

Text = 3

Text, limited to the setting's allowed values when it lists them.