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.
4879 4880 4881 4882 4883 |
# File 'lib/v20170320/models.rb', line 4879 def initialize(totalcount=nil, items=nil, requestid=nil) @TotalCount = totalcount @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
4877 4878 4879 |
# File 'lib/v20170320/models.rb', line 4877 def Items @Items end |
#RequestId ⇒ Object
4877 4878 4879 |
# File 'lib/v20170320/models.rb', line 4877 def RequestId @RequestId end |
#TotalCount ⇒ Object
4877 4878 4879 |
# File 'lib/v20170320/models.rb', line 4877 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 |
# File 'lib/v20170320/models.rb', line 4885 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 |