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.
9044 9045 9046 9047 9048 9049 |
# File 'lib/v20180606/models.rb', line 9044 def initialize(data=nil, totalcount=nil, ipcount=nil, requestid=nil) @Data = data @TotalCount = totalcount @IpCount = ipcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
9042 9043 9044 |
# File 'lib/v20180606/models.rb', line 9042 def Data @Data end |
#IpCount ⇒ Object
9042 9043 9044 |
# File 'lib/v20180606/models.rb', line 9042 def IpCount @IpCount end |
#RequestId ⇒ Object
9042 9043 9044 |
# File 'lib/v20180606/models.rb', line 9042 def RequestId @RequestId end |
#TotalCount ⇒ Object
9042 9043 9044 |
# File 'lib/v20180606/models.rb', line 9042 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 |
# File 'lib/v20180606/models.rb', line 9051 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 |