# ChannelTrait.LineupInfoStruct

# ChannelTrait.LineupInfoStruct


```
class ChannelTrait.LineupInfoStruct : ClusterStruct
```

<br />

*** ** * ** ***

A channel lineup.

## 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.LineupInfoStruct.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/ChannelTrait.LineupInfoStruct#LineupInfoStruct(kotlin.String,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.serialization.OptionalValue,com.google.home.matter.standard.ChannelTrait.LineupInfoTypeEnum)( operatorName: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html, lineupName: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, postalCode: https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>, lineupInfoType: https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoTypeEnum )` Creates the LineupInfoStruct 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/ChannelTrait.LineupInfoStruct#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.LineupInfoStruct#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.LineupInfoTypeEnum` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoStruct#lineupInfoType()` The type of lineup information. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoStruct#lineupName()` The name of the operator lineup. |
| `https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoStruct#operatorName()` The name of the operator. |
| `https://developers.home.google.com/reference/kotlin/com/google/home/matter/serialization/OptionalValue<https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html>` | `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoStruct#postalCode()` The postal code for the operator. |

## Public constructors

### LineupInfoStruct

```
LineupInfoStruct(
    operatorName: String = "",
    lineupName: OptionalValue<String> = OptionalValue.absent(),
    postalCode: OptionalValue<String> = OptionalValue.absent(),
    lineupInfoType: ChannelTrait.LineupInfoTypeEnum = LineupInfoTypeEnum.MSO
)
```

Creates the LineupInfoStruct 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

### lineupInfoType

```
val lineupInfoType: ChannelTrait.LineupInfoTypeEnum
```

The type of lineup information. Valid values are defined in `https://developers.home.google.com/reference/kotlin/com/google/home/matter/standard/ChannelTrait.LineupInfoTypeEnum`.

### lineupName

```
val lineupName: OptionalValue<String>
```

The name of the operator lineup.

### operatorName

```
val operatorName: String
```

The name of the operator.

### postalCode

```
val postalCode: OptionalValue<String>
```

The postal code for the operator.