Class: TencentCloud::Cynosdb::V20190107::DescribeAuditLogsResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cynosdb::V20190107::DescribeAuditLogsResponse
- Defined in:
- lib/v20190107/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
Returns a new instance of DescribeAuditLogsResponse.
4959 4960 4961 4962 4963 |
# File 'lib/v20190107/models.rb', line 4959 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4957 4958 4959 |
# File 'lib/v20190107/models.rb', line 4957 def Items @Items end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4957 4958 4959 |
# File 'lib/v20190107/models.rb', line 4957 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
4957 4958 4959 |
# File 'lib/v20190107/models.rb', line 4957 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 |
# File 'lib/v20190107/models.rb', line 4965 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 |