# ThermostatTrait.ThermostatSuggestionStruct

# ThermostatTrait.ThermostatSuggestionStruct


```
class ThermostatTrait.ThermostatSuggestionStruct : ClusterStruct
```

<br />

*** ** * ** ***

This struct is provisional and is not available for use.

## Summary

| ### Nested types |
|---|
| `@https://developers.home.google.com/reference/kotlin/com/google/home/annotation/HomeExperimentalGenericApi enum https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct.StructFields : https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-enum/index.html, https://developers.home.google.com/reference/kotlin/com/google/home/Field` Descriptor enum for this struct's fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct#ThermostatSuggestionStruct(kotlin.UByte,kotlin.ByteArray,kotlin.UInt,kotlin.UInt)( uniqueId: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html, presetHandle: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html, effectiveTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html, expirationTime: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html )` Creates the ThermostatSuggestionStruct class. |

| ### 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/ThermostatTrait.ThermostatSuggestionStruct#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/ThermostatTrait.ThermostatSuggestionStruct#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/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct#effectiveTime()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-int/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct#expirationTime()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-byte-array/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct#presetHandle()` |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-byte/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ThermostatTrait.ThermostatSuggestionStruct#uniqueId()` |

## Public constructors

### ThermostatSuggestionStruct

```
ThermostatSuggestionStruct(
    uniqueId: UByte,
    presetHandle: ByteArray = ByteArray(0),
    effectiveTime: UInt,
    expirationTime: UInt
)
```

Creates the ThermostatSuggestionStruct class.

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

### effectiveTime

```
val effectiveTime: UInt
```

### expirationTime

```
val expirationTime: UInt
```

### presetHandle

```
val presetHandle: ByteArray
```

### uniqueId

```
val uniqueId: UByte
```