Docs · API reference · Verso.Abstractions
NotebookParameterDefinition Class#
Defines a typed parameter declared in notebook metadata. Used for parameterized notebook execution via the CLI or UI.
public sealed class NotebookParameterDefinition
Inheritance System.Object → NotebookParameterDefinition
Properties#
Default Property#
Default value used when no override is provided. Must match the declared type.
public object? Default { get; set; }
Property Value#
Description Property#
Human-readable description shown in interactive prompts and the parameters cell form.
public string? Description { get; set; }
Property Value#
Order Property#
Display and injection ordering. Parameters are sorted ascending by this value, with unordered parameters appearing after ordered ones in alphabetical order.
public System.Nullable<int> Order { get; set; }
Property Value#
Required Property#
When true and no default is defined, the parameter must be supplied or execution fails.
public bool Required { get; set; }
Property Value#
Type Property#
The parameter type identifier: string, int, float, bool, date, or datetime.
public string Type { get; set; }