Class: TencentCloud::Vod::V20180717::DescribeRoundPlaysResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Vod::V20180717::DescribeRoundPlaysResponse
- Extended by:
- Gem::Deprecate
- Defined in:
- lib/v20180717/models.rb
Overview
DescribeRoundPlays返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, roundplayset = nil, scrolltoken = nil, requestid = nil) ⇒ DescribeRoundPlaysResponse
constructor
A new instance of DescribeRoundPlaysResponse.
Constructor Details
#initialize(totalcount = nil, roundplayset = nil, scrolltoken = nil, requestid = nil) ⇒ DescribeRoundPlaysResponse
12233 12234 12235 12236 12237 12238 |
# File 'lib/v20180717/models.rb', line 12233 def initialize(totalcount=nil, roundplayset=nil, scrolltoken=nil, requestid=nil) @TotalCount = totalcount @RoundPlaySet = roundplayset @ScrollToken = scrolltoken @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
12228 12229 12230 |
# File 'lib/v20180717/models.rb', line 12228 def RequestId @RequestId end |
#RoundPlaySet ⇒ Object
12228 12229 12230 |
# File 'lib/v20180717/models.rb', line 12228 def RoundPlaySet @RoundPlaySet end |
#ScrollToken ⇒ Object
12228 12229 12230 |
# File 'lib/v20180717/models.rb', line 12228 def ScrollToken @ScrollToken end |
#TotalCount ⇒ Object
12228 12229 12230 |
# File 'lib/v20180717/models.rb', line 12228 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 |
# File 'lib/v20180717/models.rb', line 12240 def deserialize(params) @TotalCount = params['TotalCount'] unless params['RoundPlaySet'].nil? @RoundPlaySet = [] params['RoundPlaySet'].each do |i| = RoundPlayInfo.new .deserialize(i) @RoundPlaySet << end end @ScrollToken = params['ScrollToken'] @RequestId = params['RequestId'] end |