Class: TencentCloud::Iss::V20230517::SetForbidplayChannelParam

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

Overview

设置通道禁止播流,有通道Id和使能enable字段

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(channelid = nil, enable = nil) ⇒ SetForbidplayChannelParam

Returns a new instance of SetForbidplayChannelParam.



6805
6806
6807
6808
# File 'lib/v20230517/models.rb', line 6805

def initialize(channelid=nil, enable=nil)
  @ChannelId = channelid
  @Enable = enable
end

Instance Attribute Details

#ChannelIdObject

Parameters:

  • ChannelId:

    通道Id

  • Enable:

    是否禁止通道播流



6803
6804
6805
# File 'lib/v20230517/models.rb', line 6803

def ChannelId
  @ChannelId
end

#EnableObject

Parameters:

  • ChannelId:

    通道Id

  • Enable:

    是否禁止通道播流



6803
6804
6805
# File 'lib/v20230517/models.rb', line 6803

def Enable
  @Enable
end

Instance Method Details

#deserialize(params) ⇒ Object



6810
6811
6812
6813
# File 'lib/v20230517/models.rb', line 6810

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