Class: TencentCloud::Cdb::V20170320::DescribeAuditRuleTemplateModifyHistoryResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::DescribeAuditRuleTemplateModifyHistoryResponse
- Defined in:
- lib/v20170320/models.rb
Overview
DescribeAuditRuleTemplateModifyHistory返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditRuleTemplateModifyHistoryResponse
constructor
A new instance of DescribeAuditRuleTemplateModifyHistoryResponse.
Constructor Details
#initialize(totalcount = nil, items = nil, requestid = nil) ⇒ DescribeAuditRuleTemplateModifyHistoryResponse
Returns a new instance of DescribeAuditRuleTemplateModifyHistoryResponse.
4924 4925 4926 4927 4928 |
# File 'lib/v20170320/models.rb', line 4924 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
4922 4923 4924 |
# File 'lib/v20170320/models.rb', line 4922 def Items @Items end |
#RequestId ⇒ Object
4922 4923 4924 |
# File 'lib/v20170320/models.rb', line 4922 def RequestId @RequestId end |
#TotalCount ⇒ Object
4922 4923 4924 |
# File 'lib/v20170320/models.rb', line 4922 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 |
# File 'lib/v20170320/models.rb', line 4930 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| ruletemplaterecordinfo_tmp = RuleTemplateRecordInfo.new ruletemplaterecordinfo_tmp.deserialize(i) @Items << ruletemplaterecordinfo_tmp end end @RequestId = params['RequestId'] end |