Table of Contents

Class AudioCppModelParam

Namespace
Mabs.AudioCpp.Models
Assembly
AudioCpp.dll

A request option declared by a model spec, from GET /v1/models?include_params=true.

public sealed class AudioCppModelParam
Inheritance
AudioCppModelParam
Inherited Members

Properties

Default

Declared default value, as raw JSON (string/number/bool), when given.

public JsonElement? Default { get; }

Property Value

JsonElement?

Description

Human-readable description.

public string? Description { get; }

Property Value

string

Max

Declared maximum, as raw JSON, when given.

public JsonElement? Max { get; }

Property Value

JsonElement?

Min

Declared minimum, as raw JSON, when given.

public JsonElement? Min { get; }

Property Value

JsonElement?

Name

Option name; pass it as a key of an options map.

public string? Name { get; }

Property Value

string

Required

Whether the model requires the option.

public bool Required { get; }

Property Value

bool

Type

Declared type, for example string, int, float, bool, enum.

public string? Type { get; }

Property Value

string

Values

Allowed values for an enum row that names a preset.

public IReadOnlyList<string>? Values { get; }

Property Value

IReadOnlyList<string>