Class: TencentCloud::Cdn::V20180606::TopDataMore
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::TopDataMore
- Defined in:
- lib/v20180606/models.rb
Overview
排序类型数据结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(resource = nil, detaildata = nil) ⇒ TopDataMore
constructor
A new instance of TopDataMore.
Constructor Details
#initialize(resource = nil, detaildata = nil) ⇒ TopDataMore
Returns a new instance of TopDataMore.
13305 13306 13307 13308 |
# File 'lib/v20180606/models.rb', line 13305 def initialize(resource=nil, detaildata=nil) @Resource = resource @DetailData = detaildata end |
Instance Attribute Details
#DetailData ⇒ Object
13303 13304 13305 |
# File 'lib/v20180606/models.rb', line 13303 def DetailData @DetailData end |
#Resource ⇒ Object
13303 13304 13305 |
# File 'lib/v20180606/models.rb', line 13303 def Resource @Resource end |
Instance Method Details
#deserialize(params) ⇒ Object
13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 |
# File 'lib/v20180606/models.rb', line 13310 def deserialize(params) @Resource = params['Resource'] unless params['DetailData'].nil? @DetailData = [] params['DetailData'].each do |i| topdetaildatamore_tmp = TopDetailDataMore.new topdetaildatamore_tmp.deserialize(i) @DetailData << topdetaildatamore_tmp end end end |