ChannelTrait.LineupInfoStruct

class ChannelTrait.LineupInfoStruct : ClusterStruct


A channel lineup.

Summary

Public constructors

LineupInfoStruct(
    operatorName: String,
    lineupName: OptionalValue<String>,
    postalCode: OptionalValue<String>,
    lineupInfoType: ChannelTrait.LineupInfoTypeEnum
)

Creates the LineupInfoStruct class.

Public functions

open StructDescriptor

Returns the descriptor for the struct.

open Any?

Returns the value of the field for the given tag ID.

Public properties

ChannelTrait.LineupInfoTypeEnum

The type of lineup information.

OptionalValue<String>

The name of the operator lineup.

String

The name of the operator.

OptionalValue<String>

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

open fun getDescriptor(): StructDescriptor

Returns the descriptor for the struct.

getFieldValueById

open fun getFieldValueById(tagId: UInt): Any?

Returns the value of the field for the given tag ID.

Public properties

lineupInfoType

val lineupInfoTypeChannelTrait.LineupInfoTypeEnum

The type of lineup information. Valid values are defined in LineupInfoTypeEnum.

lineupName

val lineupNameOptionalValue<String>

The name of the operator lineup.

operatorName

val operatorNameString

The name of the operator.

postalCode

val postalCodeOptionalValue<String>

The postal code for the operator.