# ChannelTrait.GetProgramGuideCommand.Response


```
class ChannelTrait.GetProgramGuideCommand.Response : ClusterStruct
```

<br />

*** ** * ** ***

The program guide response.

## 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/ChannelTrait.GetProgramGuideCommand.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/ChannelTrait.GetProgramGuideCommand.Response#Response(com.google.home.matter.standard.ChannelTrait.ChannelPagingStruct,kotlin.collections.List)( paging: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ChannelPagingStruct, programList: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ProgramStruct> )` Creates a response payload from the GetProgramGuide command. |

| ### 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/ChannelTrait.GetProgramGuideCommand.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/ChannelTrait.GetProgramGuideCommand.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://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ChannelPagingStruct` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.GetProgramGuideCommand.Response#paging()` The necessary pagination attributes that defines information for both the succeeding and preceding data pages. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html<https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.ProgramStruct>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.GetProgramGuideCommand.Response#programList()` The list of programs. |

## Public constructors

### Response

```
Response(
    paging: ChannelTrait.ChannelPagingStruct = ChannelPagingStruct(),
    programList: List<ChannelTrait.ProgramStruct> = emptyList()
)
```

Creates a response payload from the GetProgramGuide command.

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

### paging

```
val paging: ChannelTrait.ChannelPagingStruct
```

The necessary pagination attributes that defines information for both the succeeding and preceding data pages.

### programList

```
val programList: List<ChannelTrait.ProgramStruct>
```

The list of programs.