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.



651
652
653
654
# File 'lib/v20201201/models.rb', line 651

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

Instance Attribute Details

#LiveChannelNameObject

Parameters:

  • LiveChannelName:

    直播频道名称

  • LiveChannelType:

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



649
650
651
# File 'lib/v20201201/models.rb', line 649

def LiveChannelName
  @LiveChannelName
end

#LiveChannelTypeObject

Parameters:

  • LiveChannelName:

    直播频道名称

  • LiveChannelType:

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



649
650
651
# File 'lib/v20201201/models.rb', line 649

def LiveChannelType
  @LiveChannelType
end

Instance Method Details

#deserialize(params) ⇒ Object



656
657
658
659
# File 'lib/v20201201/models.rb', line 656

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