Class: TencentCloud::Waf::V20180125::DeleteCustomRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::DeleteCustomRuleRequest
- Defined in:
- lib/v20180125/models.rb
Overview
DeleteCustomRule请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(domain = nil, ruleid = nil, edition = nil, domainruleidlist = nil) ⇒ DeleteCustomRuleRequest
constructor
A new instance of DeleteCustomRuleRequest.
Constructor Details
#initialize(domain = nil, ruleid = nil, edition = nil, domainruleidlist = nil) ⇒ DeleteCustomRuleRequest
Returns a new instance of DeleteCustomRuleRequest.
2727 2728 2729 2730 2731 2732 |
# File 'lib/v20180125/models.rb', line 2727 def initialize(domain=nil, ruleid=nil, edition=nil, domainruleidlist=nil) @Domain = domain @RuleId = ruleid @Edition = edition @DomainRuleIdList = domainruleidlist end |
Instance Attribute Details
#Domain ⇒ Object
2725 2726 2727 |
# File 'lib/v20180125/models.rb', line 2725 def Domain @Domain end |
#DomainRuleIdList ⇒ Object
2725 2726 2727 |
# File 'lib/v20180125/models.rb', line 2725 def DomainRuleIdList @DomainRuleIdList end |
#Edition ⇒ Object
2725 2726 2727 |
# File 'lib/v20180125/models.rb', line 2725 def Edition @Edition end |
#RuleId ⇒ Object
2725 2726 2727 |
# File 'lib/v20180125/models.rb', line 2725 def RuleId @RuleId end |
Instance Method Details
#deserialize(params) ⇒ Object
2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 |
# File 'lib/v20180125/models.rb', line 2734 def deserialize(params) @Domain = params['Domain'] @RuleId = params['RuleId'] @Edition = params['Edition'] unless params['DomainRuleIdList'].nil? @DomainRuleIdList = [] params['DomainRuleIdList'].each do |i| domainruleid_tmp = DomainRuleId.new domainruleid_tmp.deserialize(i) @DomainRuleIdList << domainruleid_tmp end end end |