Class: TencentCloud::Wedata::V20210820::RuleTemplatePage
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::RuleTemplatePage
- Defined in:
- lib/v20210820/models.rb
Overview
RuleTemplatePage 结果
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, items = nil) ⇒ RuleTemplatePage
constructor
A new instance of RuleTemplatePage.
Constructor Details
#initialize(totalcount = nil, items = nil) ⇒ RuleTemplatePage
Returns a new instance of RuleTemplatePage.
21712 21713 21714 21715 |
# File 'lib/v20210820/models.rb', line 21712 def initialize(totalcount=nil, items=nil) @TotalCount = totalcount @Items = items end |
Instance Attribute Details
#Items ⇒ Object
21710 21711 21712 |
# File 'lib/v20210820/models.rb', line 21710 def Items @Items end |
#TotalCount ⇒ Object
21710 21711 21712 |
# File 'lib/v20210820/models.rb', line 21710 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 |
# File 'lib/v20210820/models.rb', line 21717 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| ruletemplate_tmp = RuleTemplate.new ruletemplate_tmp.deserialize(i) @Items << ruletemplate_tmp end end end |