[SDK reference](../../index.md) / [Models](../index.md) / [Iot](index.md)

# DeviceCommand

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Iot`  

A command queued on `dev/{deviceId}/down/commands/{name}`.

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `CommandId` | `string?` | `commandId` | The command's ID. |
| `CreateTime` | `DateTimeOffset?` | `createTime` | The createTime property |
| `Device` | `string?` | `device` | The device's resource name. |
| `Name` | `string?` | `name` | The command name. |
| `Qos` | `int?` | `qos` | The qos property |
| `State` | `Models.Iot.DeviceCommandState?` | `state` | The state of a downlink command. |
| `Topic` | `string?` | `topic` | The MQTT topic the command leaves on. |
