Class: TencentCloud::Config::V20220802::ListConfigRulesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Config::V20220802::ListConfigRulesResponse
- Defined in:
- lib/v20220802/models.rb
Overview
ListConfigRules返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(total = nil, items = nil, requestid = nil) ⇒ ListConfigRulesResponse
constructor
A new instance of ListConfigRulesResponse.
Constructor Details
#initialize(total = nil, items = nil, requestid = nil) ⇒ ListConfigRulesResponse
802 803 804 805 806 |
# File 'lib/v20220802/models.rb', line 802 def initialize(total=nil, items=nil, requestid=nil) @Total = total @Items = items @RequestId = requestid end |
Instance Attribute Details
#Items ⇒ Object
800 801 802 |
# File 'lib/v20220802/models.rb', line 800 def Items @Items end |
#RequestId ⇒ Object
800 801 802 |
# File 'lib/v20220802/models.rb', line 800 def RequestId @RequestId end |
#Total ⇒ Object
800 801 802 |
# File 'lib/v20220802/models.rb', line 800 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
808 809 810 811 812 813 814 815 816 817 818 819 |
# File 'lib/v20220802/models.rb', line 808 def deserialize(params) @Total = params['Total'] unless params['Items'].nil? @Items = [] params['Items'].each do |i| configrule_tmp = ConfigRule.new configrule_tmp.deserialize(i) @Items << configrule_tmp end end @RequestId = params['RequestId'] end |