Table of Contents

Class CommandDefinition

Namespace
OverKizApi.Models
Assembly
OverKizApi.dll

Describes a single command that a device exposes in its capability definition.

public sealed class CommandDefinition
Inheritance
CommandDefinition
Inherited Members

Properties

CommandName

Name of the command (e.g. "setClosure").

[JsonPropertyName("commandName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? CommandName { get; init; }

Property Value

string

NParams

Number of parameters the command accepts.

[JsonPropertyName("nParams")]
[JsonNumberHandling(JsonNumberHandling.AllowReadingFromString)]
public int NParams { get; init; }

Property Value

int