Class: TencentCloud::Cdb::V20170320::AnalyzeAuditLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::AnalyzeAuditLogsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
AnalyzeAuditLogs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ AnalyzeAuditLogsResponse
constructor
A new instance of AnalyzeAuditLogsResponse.
Constructor Details
#initialize(items = nil, totalcount = nil, requestid = nil) ⇒ AnalyzeAuditLogsResponse
Returns a new instance of AnalyzeAuditLogsResponse.
501 502 503 504 505 |
# File 'lib/v20170320/models.rb', line 501 def initialize(items=nil, totalcount=nil, requestid=nil) @Items = items @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
499 500 501 |
# File 'lib/v20170320/models.rb', line 499 def Items @Items end |
#RequestId ⇒ Object
499 500 501 |
# File 'lib/v20170320/models.rb', line 499 def RequestId @RequestId end |
#TotalCount ⇒ Object
499 500 501 |
# File 'lib/v20170320/models.rb', line 499 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
507 508 509 510 511 512 513 514 515 516 517 518 |
# File 'lib/v20170320/models.rb', line 507 def deserialize(params) unless params['Items'].nil? @Items = [] params['Items'].each do |i| auditlogaggregationresult_tmp = AuditLogAggregationResult.new auditlogaggregationresult_tmp.deserialize(i) @Items << auditlogaggregationresult_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |