Class: TencentCloud::Cdb::V20170320::DescribeAuditRulesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeAuditRulesResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeAuditRules返回参数结构体
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) ⇒ DescribeAuditRulesResponse
constructor
A new instance of DescribeAuditRulesResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditRulesResponse
Returns a new instance of DescribeAuditRulesResponse.
5014 5015 5016 5017 5018 |
# File 'lib/v20170320/models.rb', line 5014 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5012 5013 5014 |
# File 'lib/v20170320/models.rb', line 5012 def Items @Items end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5012 5013 5014 |
# File 'lib/v20170320/models.rb', line 5012 def RequestId @RequestId end |
#TotalCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
5012 5013 5014 |
# File 'lib/v20170320/models.rb', line 5012 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 |
# File 'lib/v20170320/models.rb', line 5020 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| auditrule_tmp = AuditRule.new auditrule_tmp.deserialize(i) @Items << auditrule_tmp end end @RequestId = params['RequestId'] end |