Table of Contents

Class Command

Namespace
OverKizApi.Models
Assembly
OverKizApi.dll

A command to be sent to a device as part of an execution action. Commands are defined in the device's Commands list.

public sealed class Command
Inheritance
Command
Inherited Members

Properties

Name

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

[JsonPropertyName("name")]
public required string Name { get; init; }

Property Value

string

Parameters

Ordered list of parameter values to pass to the command. May be null for zero-parameter commands.

[JsonPropertyName("parameters")]
public IReadOnlyList<object?>? Parameters { get; init; }

Property Value

IReadOnlyList<object>