Class: TencentCloud::Vod::V20180717::HandleCurrentPlaylistResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::HandleCurrentPlaylistResponse
- Defined in:
- lib/v20180717/models.rb
Overview
HandleCurrentPlaylist返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roundplaylist = nil, requestid = nil) ⇒ HandleCurrentPlaylistResponse
constructor
A new instance of HandleCurrentPlaylistResponse.
Constructor Details
#initialize(roundplaylist = nil, requestid = nil) ⇒ HandleCurrentPlaylistResponse
Returns a new instance of HandleCurrentPlaylistResponse.
15284 15285 15286 15287 |
# File 'lib/v20180717/models.rb', line 15284 def initialize(roundplaylist=nil, requestid=nil) @RoundPlaylist = roundplaylist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
15282 15283 15284 |
# File 'lib/v20180717/models.rb', line 15282 def RequestId @RequestId end |
#RoundPlaylist ⇒ Object
15282 15283 15284 |
# File 'lib/v20180717/models.rb', line 15282 def RoundPlaylist @RoundPlaylist end |
Instance Method Details
#deserialize(params) ⇒ Object
15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 |
# File 'lib/v20180717/models.rb', line 15289 def deserialize(params) unless params['RoundPlaylist'].nil? @RoundPlaylist = [] params['RoundPlaylist'].each do |i| roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new roundplaylistiteminfo_tmp.deserialize(i) @RoundPlaylist << roundplaylistiteminfo_tmp end end @RequestId = params['RequestId'] end |