# GeneralDiagnosticsTrait.TimeSnapshotCommand.Response


```
class GeneralDiagnosticsTrait.TimeSnapshotCommand.Response : ClusterStruct
```

<br />

*** ** * ** ***

## 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/GeneralDiagnosticsTrait.TimeSnapshotCommand.Response.CommandFields : 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 command's response fields. |

| ### Public constructors |
|---|
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.TimeSnapshotCommand.Response#Response(kotlin.ULong,kotlin.ULong)(systemTimeMs: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html, posixTimeMs: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-u-long/index.html?)` |

| ### 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.TimeSnapshotCommand.Response#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.TimeSnapshotCommand.Response#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-long/index.html?` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/GeneralDiagnosticsTrait.TimeSnapshotCommand.Response#posixTimeMs()` |
| `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.TimeSnapshotCommand.Response#systemTimeMs()` |

## Public constructors

### Response

```
Response(systemTimeMs: ULong, posixTimeMs: ULong? = null)
```

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

### posixTimeMs

```
val posixTimeMs: ULong?
```

### systemTimeMs

```
val systemTimeMs: ULong
```