Class: TencentCloud::Vod::V20180717::DescribeRoundPlaysResponse

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20180717/models.rb

Overview

DescribeRoundPlays返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#RequestIdObject



12228
12229
12230
# File 'lib/v20180717/models.rb', line 12228

def RequestId
  @RequestId
end

#RoundPlaySetObject



12228
12229
12230
# File 'lib/v20180717/models.rb', line 12228

def RoundPlaySet
  @RoundPlaySet
end

#ScrollTokenObject



12228
12229
12230
# File 'lib/v20180717/models.rb', line 12228

def ScrollToken
  @ScrollToken
end

#TotalCountObject



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_tmp = RoundPlayInfo.new
      roundplayinfo_tmp.deserialize(i)
      @RoundPlaySet << roundplayinfo_tmp
    end
  end
  @ScrollToken = params['ScrollToken']
  @RequestId = params['RequestId']
end