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.
759 760 761 762 |
# File 'lib/v20170320/models.rb', line 759 def initialize(aggregationfield=nil, buckets=nil) @AggregationField = aggregationfield @Buckets = buckets end |
Instance Attribute Details
#AggregationField ⇒ Object
757 758 759 |
# File 'lib/v20170320/models.rb', line 757 def AggregationField @AggregationField end |
#Buckets ⇒ Object
757 758 759 |
# File 'lib/v20170320/models.rb', line 757 def Buckets @Buckets end |
Instance Method Details
#deserialize(params) ⇒ Object
764 765 766 767 768 769 770 771 772 773 774 |
# File 'lib/v20170320/models.rb', line 764 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 |