Class: TencentCloud::Vod::V20180717::HandleCurrentPlaylistRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::HandleCurrentPlaylistRequest
- Defined in:
- lib/v20180717/models.rb
Overview
HandleCurrentPlaylist请求参数结构体
Instance Attribute Summary collapse
- #ItemId ⇒ Object
- #Operation ⇒ Object
- #RoundPlayId ⇒ Object
- #RoundPlaylist ⇒ Object
- #SegmentIndex ⇒ Object
- #SubAppId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(subappid = nil, roundplayid = nil, operation = nil, itemid = nil, segmentindex = nil, roundplaylist = nil) ⇒ HandleCurrentPlaylistRequest
constructor
A new instance of HandleCurrentPlaylistRequest.
Constructor Details
#initialize(subappid = nil, roundplayid = nil, operation = nil, itemid = nil, segmentindex = nil, roundplaylist = nil) ⇒ HandleCurrentPlaylistRequest
Returns a new instance of HandleCurrentPlaylistRequest.
15249 15250 15251 15252 15253 15254 15255 15256 |
# File 'lib/v20180717/models.rb', line 15249 def initialize(subappid=nil, roundplayid=nil, operation=nil, itemid=nil, segmentindex=nil, roundplaylist=nil) @SubAppId = subappid @RoundPlayId = roundplayid @Operation = operation @ItemId = itemid @SegmentIndex = segmentindex @RoundPlaylist = roundplaylist end |
Instance Attribute Details
#ItemId ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def ItemId @ItemId end |
#Operation ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def Operation @Operation end |
#RoundPlayId ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def RoundPlayId @RoundPlayId end |
#RoundPlaylist ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def RoundPlaylist @RoundPlaylist end |
#SegmentIndex ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def SegmentIndex @SegmentIndex end |
#SubAppId ⇒ Object
15247 15248 15249 |
# File 'lib/v20180717/models.rb', line 15247 def SubAppId @SubAppId end |
Instance Method Details
#deserialize(params) ⇒ Object
15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 |
# File 'lib/v20180717/models.rb', line 15258 def deserialize(params) @SubAppId = params['SubAppId'] @RoundPlayId = params['RoundPlayId'] @Operation = params['Operation'] @ItemId = params['ItemId'] @SegmentIndex = params['SegmentIndex'] unless params['RoundPlaylist'].nil? @RoundPlaylist = [] params['RoundPlaylist'].each do |i| roundplaylistiteminfo_tmp = RoundPlayListItemInfo.new roundplaylistiteminfo_tmp.deserialize(i) @RoundPlaylist << roundplaylistiteminfo_tmp end end end |