Class: TencentCloud::Cls::V20201016::DescribeLogHistogramResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::DescribeLogHistogramResponse
- Defined in:
- lib/v20201016/models.rb
Overview
DescribeLogHistogram返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
constructor
A new instance of DescribeLogHistogramResponse.
Constructor Details
#initialize(interval = nil, totalcount = nil, histograminfos = nil, requestid = nil) ⇒ DescribeLogHistogramResponse
Returns a new instance of DescribeLogHistogramResponse.
8996 8997 8998 8999 9000 9001 |
# File 'lib/v20201016/models.rb', line 8996 def initialize(interval=nil, totalcount=nil, histograminfos=nil, requestid=nil) @Interval = interval @TotalCount = totalcount @HistogramInfos = histograminfos @RequestId = requestid end |
Instance Attribute Details
#HistogramInfos ⇒ Object
8994 8995 8996 |
# File 'lib/v20201016/models.rb', line 8994 def HistogramInfos @HistogramInfos end |
#Interval ⇒ Object
8994 8995 8996 |
# File 'lib/v20201016/models.rb', line 8994 def Interval @Interval end |
#RequestId ⇒ Object
8994 8995 8996 |
# File 'lib/v20201016/models.rb', line 8994 def RequestId @RequestId end |
#TotalCount ⇒ Object
8994 8995 8996 |
# File 'lib/v20201016/models.rb', line 8994 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 |
# File 'lib/v20201016/models.rb', line 9003 def deserialize(params) @Interval = params['Interval'] @TotalCount = params['TotalCount'] unless params['HistogramInfos'].nil? @HistogramInfos = [] params['HistogramInfos'].each do |i| histograminfo_tmp = HistogramInfo.new histograminfo_tmp.deserialize(i) @HistogramInfos << histograminfo_tmp end end @RequestId = params['RequestId'] end |