Class: TencentCloud::Cdn::V20180606::DescribeTopDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeTopDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeTopData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ DescribeTopDataResponse
constructor
A new instance of DescribeTopDataResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ DescribeTopDataResponse
Returns a new instance of DescribeTopDataResponse.
6052 6053 6054 6055 |
# File 'lib/v20180606/models.rb', line 6052 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
6050 6051 6052 |
# File 'lib/v20180606/models.rb', line 6050 def Data @Data end |
#RequestId ⇒ Object
6050 6051 6052 |
# File 'lib/v20180606/models.rb', line 6050 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 |
# File 'lib/v20180606/models.rb', line 6057 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| topdatamore_tmp = TopDataMore.new topdatamore_tmp.deserialize(i) @Data << topdatamore_tmp end end @RequestId = params['RequestId'] end |