# MicrowaveOvenControlTrait.Attributes

# MicrowaveOvenControlTrait.Attributes


```
@Generated(value = ["GoogleHomePlatformCodegen"])
interface MicrowaveOvenControlTrait.Attributes : ClusterStruct
```

<br />

Known direct subclasses [MicrowaveOvenControl](https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControl)

|---|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControl` | API for the MicrowaveOvenControl trait. |

*** ** * ** ***

Attributes for the MicrowaveOvenControl cluster.

## Summary

| ### Public functions |
|---|---|
| `open https://developers.home.google.com/reference/kotlin/com/google/home/StructDescriptor` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#getDescriptor()()` Returns the descriptor for the struct. |
| `open https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html?` | `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#getFieldValueById(kotlin.UInt)(tagId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html)` Returns the value of the field for the given tag ID. |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` The total cook time associated with the operation of the device. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#featureMap()` Whether the server supports zero or more optional cluster features. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#maxCookTime()` The maximum value to which the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute can be set. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#maxPower()` The maximum power level that can be set. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#minPower()` The minimum power level that can be set. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#powerSetting()` The power level associated with the operation of the device. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#powerStep()` The increment of power that can be set. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#selectedWattIndex()` The index of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#supportedWatts()` of the currently selected power setting. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#supportedWatts()` The list of supported power levels, in watts. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#wattRating()` The power rating of the device, in watts. |

## Public functions

### getDescriptor

```
@HomeExperimentalGenericApi
open fun getDescriptor(): StructDescriptor
```

Returns the descriptor for the struct.

### getFieldValueById

```
@HomeExperimentalGenericApi
open fun getFieldValueById(tagId: UInt): Any?
```

Returns the value of the field for the given tag ID.

## Public properties

### acceptedCommandList

```
val acceptedCommandList: List<UInt>
```

A list of client-generated commands which are supported by this cluster server instance.

### attributeList

```
val attributeList: List<UInt>
```

A list of the attribute IDs of the attributes supported by the cluster instance.

### clusterRevision

```
val clusterRevision: UShort
```

The revision of the server cluster specification supported by the cluster instance.

### cookTime

```
val cookTime: UInt?
```

The total cook time associated with the operation of the device.

**Access type:** Read

### featureMap

```
val featureMap: MicrowaveOvenControlTrait.Feature
```

Whether the server supports zero or more optional cluster features. A cluster feature is a set of cluster elements that are mandatory or optional for a defined feature of the cluster. If a cluster feature is supported by the cluster instance, then the corresponding bit is set to 1, otherwise the bit is set to 0 (zero).

### generatedCommandList

```
val generatedCommandList: List<UInt>
```

A list of server-generated commands (server to client) which are supported by this cluster server instance.

### maxCookTime

```
val maxCookTime: UInt?
```

The maximum value to which the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#cookTime()` attribute can be set.

**Access type:** Read

### maxPower

```
val maxPower: UByte?
```

The maximum power level that can be set.

**Access type:** Read

### minPower

```
val minPower: UByte?
```

The minimum power level that can be set.

**Access type:** Read

### powerSetting

```
val powerSetting: UByte?
```

The power level associated with the operation of the device.

**Access type:** Read

### powerStep

```
val powerStep: UByte?
```

The increment of power that can be set.

**Access type:** Read

### selectedWattIndex

```
val selectedWattIndex: UByte?
```

The index of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/MicrowaveOvenControlTrait.Attributes#supportedWatts()` of the currently selected power setting.

**Access type:** Read

### supportedWatts

```
val supportedWatts: List<UShort>?
```

The list of supported power levels, in watts.

**Access type:** Read

### wattRating

```
val wattRating: UShort?
```

The power rating of the device, in watts.

**Access type:** Read