# GeneralDiagnosticsTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the GeneralDiagnostics 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/GeneralDiagnosticsTrait.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/GeneralDiagnosticsTrait.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/GeneralDiagnosticsTrait.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://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.HardwareFaultEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#activeHardwareFaults()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.NetworkFaultEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#activeNetworkFaults()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.RadioFaultEnum>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#activeRadioFaults()` |
| `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/GeneralDiagnosticsTrait.Attributes#attributeList()` A list of the attribute IDs of the attributes supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.BootReasonEnum?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#bootReason()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.DeviceLoadStruct?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#deviceLoadStatus()` |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.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/GeneralDiagnosticsTrait.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.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.NetworkInterface>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#networkInterfaces()` A list of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.NetworkInterface` entries. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-short/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#rebootCount()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#testEventTriggersEnabled()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#totalOperationalHours()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.Attributes#upTime()` |

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

### activeHardwareFaults

```
val activeHardwareFaults: List<GeneralDiagnosticsTrait.HardwareFaultEnum>?
```

### activeNetworkFaults

```
val activeNetworkFaults: List<GeneralDiagnosticsTrait.NetworkFaultEnum>?
```

### activeRadioFaults

```
val activeRadioFaults: List<GeneralDiagnosticsTrait.RadioFaultEnum>?
```

### attributeList

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

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

### bootReason

```
val bootReason: GeneralDiagnosticsTrait.BootReasonEnum?
```

### clusterRevision

```
val clusterRevision: UShort
```

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

### deviceLoadStatus

```
val deviceLoadStatus: GeneralDiagnosticsTrait.DeviceLoadStruct?
```

### featureMap

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

### networkInterfaces

```
val networkInterfaces: List<GeneralDiagnosticsTrait.NetworkInterface>?
```

A list of `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.NetworkInterface` entries. Each logical network interface on the node must be represented by a single entry within the `networkInterfaces` attribute.

**Access type:** Read

### rebootCount

```
val rebootCount: UShort?
```

### testEventTriggersEnabled

```
val testEventTriggersEnabled: Boolean?
```

### totalOperationalHours

```
val totalOperationalHours: UInt?
```

### upTime

```
val upTime: ULong?
```