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.
6573 6574 6575 6576 6577 6578 |
# File 'lib/v20180606/models.rb', line 6573 def initialize(data=nil, totalcount=nil, ipcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @IpCount = ipcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
6571 6572 6573 |
# File 'lib/v20180606/models.rb', line 6571 def Data @Data end |
#IpCount ⇒ Object
6571 6572 6573 |
# File 'lib/v20180606/models.rb', line 6571 def IpCount @IpCount end |
#RequestId ⇒ Object
6571 6572 6573 |
# File 'lib/v20180606/models.rb', line 6571 def RequestId @RequestId end |
#TotalCount ⇒ Object
6571 6572 6573 |
# File 'lib/v20180606/models.rb', line 6571 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 |
# File 'lib/v20180606/models.rb', line 6580 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 |