Class: TencentCloud::Cdn::V20180606::ListTopClsLogDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::ListTopClsLogDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
ListTopClsLogData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, totalcount = nil, ipcount = nil, requestid = nil) ⇒ ListTopClsLogDataResponse
constructor
A new instance of ListTopClsLogDataResponse.
Constructor Details
#initialize(data = nil, totalcount = nil, ipcount = nil, requestid = nil) ⇒ ListTopClsLogDataResponse
Returns a new instance of ListTopClsLogDataResponse.
6330 6331 6332 6333 6334 6335 |
# File 'lib/v20180606/models.rb', line 6330 def initialize(data=nil, totalcount=nil, ipcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @IpCount = ipcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
6328 6329 6330 |
# File 'lib/v20180606/models.rb', line 6328 def Data @Data end |
#IpCount ⇒ Object
6328 6329 6330 |
# File 'lib/v20180606/models.rb', line 6328 def IpCount @IpCount end |
#RequestId ⇒ Object
6328 6329 6330 |
# File 'lib/v20180606/models.rb', line 6328 def RequestId @RequestId end |
#TotalCount ⇒ Object
6328 6329 6330 |
# File 'lib/v20180606/models.rb', line 6328 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 |
# File 'lib/v20180606/models.rb', line 6337 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| clslogipdata_tmp = ClsLogIpData.new clslogipdata_tmp.deserialize(i) @Data << clslogipdata_tmp end end @TotalCount = params['TotalCount'] @IpCount = params['IpCount'] @RequestId = params['RequestId'] end |