Class: TencentCloud::Cdb::V20170320::DescribeAuditLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeAuditLogsResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeAuditLogs返回参数结构体
Instance Attribute Summary collapse
-
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditLogsResponse
constructor
A new instance of DescribeAuditLogsResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditLogsResponse
4748 4749 4750 4751 4752 |
# File 'lib/v20170320/models.rb', line 4748 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4746 4747 4748 |
# File 'lib/v20170320/models.rb', line 4746 def Items @Items end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4746 4747 4748 |
# File 'lib/v20170320/models.rb', line 4746 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4746 4747 4748 |
# File 'lib/v20170320/models.rb', line 4746 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 |
# File 'lib/v20170320/models.rb', line 4754 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| auditlog_tmp = AuditLog.new auditlog_tmp.deserialize(i) @Items << auditlog_tmp end end @RequestId = params['RequestId'] end |