class _HeadendInfo(Model): providerName = fields.Str() headendId = fields.UUID() blockExplicitContentPerShow = fields.Bool() dvrEnabled = fields.Bool() headendLocale = fields.Str() streamingPort = fields.Int() preferredProvider = fields.Str() providers = NestedModel(_HeadendProvider, many=True)
class _PauseBufferInfo(Model): Enabled = fields.Bool() IsDvr = fields.Bool() MaxBufferSize = fields.Int() BufferCurrent = fields.Int() BufferStart = fields.Int() BufferEnd = fields.Int() CurrentTime = fields.Int() Epoch = fields.Int()
class _HeadendProvider(Model): providerName = fields.Str() filterPreference = fields.Str() headendId = fields.UUID() source = fields.Str() titleId = fields.Str() canStream = fields.Bool()
class _LiveTvInfo(Model): streamingPort = fields.Int() inHdmiMode = fields.Bool() tunerChannelType = fields.Str() currentTunerChannelId = fields.Str() currentHdmiChannelId = fields.Str() pauseBufferInfo = NestedModel(_PauseBufferInfo)
class BroadcastStateStarted(_BroadcastStateMessage): isWirelessConnection = fields.Bool() wirelessChannel = fields.Int() transmitLinkSpeed = fields.Int()
class BroadcastStartStream(_BroadcastMessage): configuration = fields.Dict() reQueryPreviewStatus = fields.Bool(default=False)
class BroadcastPreviewStatus(_BroadcastMessage): isPublicPreview = fields.Bool() isInternalPreview = fields.Bool()
class BroadcastStreamEnabled(_BroadcastMessage): enabled = fields.Bool() canBeEnabled = fields.Bool() majorProtocolVersion = fields.Int() minorProtocolVersion = fields.Int()
class SendKey(StumpResponse): params = fields.Bool()