Class: TencentCloud::Cwp::V20180228::DescribeLogHistogramResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::DescribeLogHistogramResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeLogHistogram返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, period = nil, totalcount = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
constructor
A new instance of DescribeLogHistogramResponse.
Constructor Details
#initialize(data = nil, period = nil, totalcount = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
Returns a new instance of DescribeLogHistogramResponse.
16502 16503 16504 16505 16506 16507 |
# File 'lib/v20180228/models.rb', line 16502 def initialize(data=nil, period=nil, totalcount=nil, requestid=nil) @Data = data @Period = period @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
16500 16501 16502 |
# File 'lib/v20180228/models.rb', line 16500 def Data @Data end |
#Period ⇒ Object
16500 16501 16502 |
# File 'lib/v20180228/models.rb', line 16500 def Period @Period end |
#RequestId ⇒ Object
16500 16501 16502 |
# File 'lib/v20180228/models.rb', line 16500 def RequestId @RequestId end |
#TotalCount ⇒ Object
16500 16501 16502 |
# File 'lib/v20180228/models.rb', line 16500 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 |
# File 'lib/v20180228/models.rb', line 16509 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| loghistogram_tmp = LogHistogram.new loghistogram_tmp.deserialize(i) @Data << loghistogram_tmp end end @Period = params['Period'] @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |