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.
9025 9026 9027 9028 9029 9030 |
# File 'lib/v20180606/models.rb', line 9025 def initialize(data=nil, totalcount=nil, ipcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @IpCount = ipcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
9023 9024 9025 |
# File 'lib/v20180606/models.rb', line 9023 def Data @Data end |
#IpCount ⇒ Object
9023 9024 9025 |
# File 'lib/v20180606/models.rb', line 9023 def IpCount @IpCount end |
#RequestId ⇒ Object
9023 9024 9025 |
# File 'lib/v20180606/models.rb', line 9023 def RequestId @RequestId end |
#TotalCount ⇒ Object
9023 9024 9025 |
# File 'lib/v20180606/models.rb', line 9023 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 |
# File 'lib/v20180606/models.rb', line 9032 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 |