Class: TencentCloud::Iss::V20230517::SetForbidPlayChannelsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::SetForbidPlayChannelsRequest
- Defined in:
- lib/v20230517/models.rb
Overview
SetForbidPlayChannels请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(channels = nil, userid = nil) ⇒ SetForbidPlayChannelsRequest
constructor
A new instance of SetForbidPlayChannelsRequest.
Constructor Details
#initialize(channels = nil, userid = nil) ⇒ SetForbidPlayChannelsRequest
6762 6763 6764 6765 |
# File 'lib/v20230517/models.rb', line 6762 def initialize(channels=nil, userid=nil) @Channels = channels @UserId = userid end |
Instance Attribute Details
#Channels ⇒ Object
6760 6761 6762 |
# File 'lib/v20230517/models.rb', line 6760 def Channels @Channels end |
#UserId ⇒ Object
6760 6761 6762 |
# File 'lib/v20230517/models.rb', line 6760 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 |
# File 'lib/v20230517/models.rb', line 6767 def deserialize(params) unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| setforbidplaychannelparam_tmp = SetForbidplayChannelParam.new setforbidplaychannelparam_tmp.deserialize(i) @Channels << setforbidplaychannelparam_tmp end end @UserId = params['UserId'] end |