# ExtendedGeneralDiagnosticsTrait.Attributes


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

<br />

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

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

*** ** * ** ***

Attributes for the ExtendedGeneralDiagnostics 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/google/ExtendedGeneralDiagnosticsTrait.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/google/ExtendedGeneralDiagnosticsTrait.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/google/ExtendedGeneralDiagnosticsTrait.Attributes#acceptedCommandList()` A list of client-generated commands which are supported by this cluster server instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.Attributes#analyticsEnabled()` Specifies whether analytics is enabled. |
| `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/google/ExtendedGeneralDiagnosticsTrait.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/google/ExtendedGeneralDiagnosticsTrait.Attributes#clusterRevision()` The revision of the server cluster specification supported by the cluster instance. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.ExtendedHardwareFault>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.Attributes#extendedActiveHardwareFaults()` Not supported. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.Feature` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.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/google/ExtendedGeneralDiagnosticsTrait.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/google/ExtendedGeneralDiagnosticsTrait.Attributes#lastContactTimestamp()` The last time the device had contact with the cloud. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.Attributes#logUploadEnabled()` Specifies whether log files will be uploaded to the cloud. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.SensorFaultType>?` | `https://developers.home.google.com/reference/kotlin/com/google/home/google/ExtendedGeneralDiagnosticsTrait.Attributes#sensorFaults()` Not supported. |

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

### analyticsEnabled

```
val analyticsEnabled: Boolean?
```

Specifies whether analytics is enabled. Setting this to `true` also enables log upload.

**Access type:** Write

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

### extendedActiveHardwareFaults

```
val extendedActiveHardwareFaults: List<ExtendedGeneralDiagnosticsTrait.ExtendedHardwareFault>?
```

Not supported.

**Access type:** Read

### featureMap

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

### lastContactTimestamp

```
val lastContactTimestamp: UInt?
```

The last time the device had contact with the cloud.

**Access type:** Read

### logUploadEnabled

```
val logUploadEnabled: Boolean?
```

Specifies whether log files will be uploaded to the cloud.

**Access type:** Write

### sensorFaults

```
val sensorFaults: List<ExtendedGeneralDiagnosticsTrait.SensorFaultType>?
```

Not supported.

**Access type:** Read