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.
15282 15283 15284 15285 |
# File 'lib/v20180717/models.rb', line 15282 def initialize(roundplaylist=nil, requestid=nil) @RoundPlaylist = roundplaylist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
15280 15281 15282 |
# File 'lib/v20180717/models.rb', line 15280 def RequestId @RequestId end |
#RoundPlaylist ⇒ Object
15280 15281 15282 |
# File 'lib/v20180717/models.rb', line 15280 def RoundPlaylist @RoundPlaylist end |
Instance Method Details
#deserialize(params) ⇒ Object
15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 |
# File 'lib/v20180717/models.rb', line 15287 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 |