Class: TencentCloud::Iotvideoindustry::V20201201::CreateLiveChannelRequest

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

Overview

CreateLiveChannel请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(livechannelname = nil, livechanneltype = nil) ⇒ CreateLiveChannelRequest

Returns a new instance of CreateLiveChannelRequest.



682
683
684
685
# File 'lib/v20201201/models.rb', line 682

def initialize(livechannelname=nil, livechanneltype=nil)
  @LiveChannelName = livechannelname
  @LiveChannelType = livechanneltype
end

Instance Attribute Details

#LiveChannelNameObject

Parameters:

  • LiveChannelName:

    直播频道名称

  • LiveChannelType:

    直播频道类型 1:固定直播;2:移动直播



680
681
682
# File 'lib/v20201201/models.rb', line 680

def LiveChannelName
  @LiveChannelName
end

#LiveChannelTypeObject

Parameters:

  • LiveChannelName:

    直播频道名称

  • LiveChannelType:

    直播频道类型 1:固定直播;2:移动直播



680
681
682
# File 'lib/v20201201/models.rb', line 680

def LiveChannelType
  @LiveChannelType
end

Instance Method Details

#deserialize(params) ⇒ Object



687
688
689
690
# File 'lib/v20201201/models.rb', line 687

def deserialize(params)
  @LiveChannelName = params['LiveChannelName']
  @LiveChannelType = params['LiveChannelType']
end