Class: TencentCloud::Cdb::V20170320::AuditLogAggregationResult
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AuditLogAggregationResult
- Defined in:
- lib/v20170320/models.rb
Overview
审计日志分析结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(aggregationfield = nil, buckets = nil) ⇒ AuditLogAggregationResult
constructor
A new instance of AuditLogAggregationResult.
Constructor Details
#initialize(aggregationfield = nil, buckets = nil) ⇒ AuditLogAggregationResult
Returns a new instance of AuditLogAggregationResult.
751 752 753 754 |
# File 'lib/v20170320/models.rb', line 751 def initialize(aggregationfield=nil, buckets=nil) @AggregationField = aggregationfield @Buckets = buckets end |
Instance Attribute Details
#AggregationField ⇒ Object
749 750 751 |
# File 'lib/v20170320/models.rb', line 749 def AggregationField @AggregationField end |
#Buckets ⇒ Object
749 750 751 |
# File 'lib/v20170320/models.rb', line 749 def Buckets @Buckets end |
Instance Method Details
#deserialize(params) ⇒ Object
756 757 758 759 760 761 762 763 764 765 766 |
# File 'lib/v20170320/models.rb', line 756 def deserialize(params) @AggregationField = params['AggregationField'] unless params['Buckets'].nil? @Buckets = [] params['Buckets'].each do |i| bucket_tmp = Bucket.new bucket_tmp.deserialize(i) @Buckets << bucket_tmp end end end |