Class: TencentCloud::Iss::V20230517::SetForbidplayChannelParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::SetForbidplayChannelParam
- Defined in:
- lib/v20230517/models.rb
Overview
设置通道禁止播流,有通道Id和使能enable字段
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channelid = nil, enable = nil) ⇒ SetForbidplayChannelParam
constructor
A new instance of SetForbidplayChannelParam.
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
#ChannelId ⇒ Object
6803 6804 6805 |
# File 'lib/v20230517/models.rb', line 6803 def ChannelId @ChannelId end |
#Enable ⇒ Object
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 |