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.
16221 16222 16223 16224 16225 16226 |
# File 'lib/v20180228/models.rb', line 16221 def initialize(data=nil, period=nil, totalcount=nil, requestid=nil) @Data = data @Period = period @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
16219 16220 16221 |
# File 'lib/v20180228/models.rb', line 16219 def Data @Data end |
#Period ⇒ Object
16219 16220 16221 |
# File 'lib/v20180228/models.rb', line 16219 def Period @Period end |
#RequestId ⇒ Object
16219 16220 16221 |
# File 'lib/v20180228/models.rb', line 16219 def RequestId @RequestId end |
#TotalCount ⇒ Object
16219 16220 16221 |
# File 'lib/v20180228/models.rb', line 16219 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 |
# File 'lib/v20180228/models.rb', line 16228 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 |