# OvenCavityOperationalStateTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the OvenCavityOperationalState 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/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.Attributes#countdownTime()` The estimated time, in seconds, before the operation completes. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Attributes#currentPhase()` The current phase of operation being performed by the oven. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.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/OvenCavityOperationalStateTrait.Attributes#generatedCommandList()` A list of server-generated commands (server to client) which are supported by this cluster server instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.ErrorStateStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Attributes#operationalError()` The details of any current error condition being experienced by the oven when the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.Attributes#operationalState()` attribute is `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationalStateEnum#Error`. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.OperationalStateEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Attributes#operationalState()` The current operational state of the oven. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.OperationalStateStruct>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Attributes#operationalStateList()` The set of possible operational states that the oven exposes. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OvenCavityOperationalStateTrait.Attributes#phaseList()` The set of phases that the oven can go through for the selected function or mode. |

## 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.

### countdownTime

```
val countdownTime: UInt?
```

The estimated time, in seconds, before the operation completes.

**Access type:** Read

### currentPhase

```
val currentPhase: UByte?
```

The current phase of operation being performed by the oven.

**Access type:** Read

### featureMap

```
val featureMap: OvenCavityOperationalStateTrait.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.

### operationalError

```
val operationalError: OvenCavityOperationalStateTrait.ErrorStateStruct?
```

The details of any current error condition being experienced by the oven when the `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.Attributes#operationalState()` attribute is `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/OperationalStateTrait.OperationalStateEnum#Error`.

**Access type:** Read

### operationalState

```
val operationalState: OvenCavityOperationalStateTrait.OperationalStateEnum?
```

The current operational state of the oven.

**Access type:** Read

### operationalStateList

```
val operationalStateList: List<OvenCavityOperationalStateTrait.OperationalStateStruct>?
```

The set of possible operational states that the oven exposes.

**Access type:** Read

### phaseList

```
val phaseList: List<String>?
```

The set of phases that the oven can go through for the selected function or mode. Only the following strings may be used: "pre-heating", "pre-heated", and "cooling down".

**Access type:** Read