Class: TencentCloud::Cdn::V20180606::ListTopBotDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ListTopBotDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
ListTopBotData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ ListTopBotDataResponse
constructor
A new instance of ListTopBotDataResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ ListTopBotDataResponse
Returns a new instance of ListTopBotDataResponse.
8883 8884 8885 8886 |
# File 'lib/v20180606/models.rb', line 8883 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
8881 8882 8883 |
# File 'lib/v20180606/models.rb', line 8881 def Data @Data end |
#RequestId ⇒ Object
8881 8882 8883 |
# File 'lib/v20180606/models.rb', line 8881 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 |
# File 'lib/v20180606/models.rb', line 8888 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| domainbotcount_tmp = DomainBotCount.new domainbotcount_tmp.deserialize(i) @Data << domainbotcount_tmp end end @RequestId = params['RequestId'] end |