Class: TencentCloud::Iotvideoindustry::V20201201::LiveChannelItem

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201201/models.rb

Overview

直播频道详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, channelname = nil) ⇒ LiveChannelItem

Returns a new instance of LiveChannelItem.



5024
5025
5026
5027
# File 'lib/v20201201/models.rb', line 5024

def initialize(channelid=nil, channelname=nil)
  @ChannelId = channelid
  @ChannelName = channelname
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ChannelId:

    频道ID

  • ChannelName:

    频道名称



5022
5023
5024
# File 'lib/v20201201/models.rb', line 5022

def ChannelId
  @ChannelId
end

#ChannelNameObject

Parameters:

  • ChannelId:

    频道ID

  • ChannelName:

    频道名称



5022
5023
5024
# File 'lib/v20201201/models.rb', line 5022

def ChannelName
  @ChannelName
end

Instance Method Details

#deserialize(params) ⇒ Object



5029
5030
5031
5032
# File 'lib/v20201201/models.rb', line 5029

def deserialize(params)
  @ChannelId = params['ChannelId']
  @ChannelName = params['ChannelName']
end