Class: TencentCloud::Cfw::V20190904::ModifyEWRuleStatusRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cfw::V20190904::ModifyEWRuleStatusRequest
- Defined in:
- lib/v20190904/models.rb
Overview
ModifyEWRuleStatus请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(edgeid = nil, status = nil, direction = nil, rulesequence = nil, ruletype = nil) ⇒ ModifyEWRuleStatusRequest
constructor
A new instance of ModifyEWRuleStatusRequest.
Constructor Details
#initialize(edgeid = nil, status = nil, direction = nil, rulesequence = nil, ruletype = nil) ⇒ ModifyEWRuleStatusRequest
Returns a new instance of ModifyEWRuleStatusRequest.
7274 7275 7276 7277 7278 7279 7280 |
# File 'lib/v20190904/models.rb', line 7274 def initialize(edgeid=nil, status=nil, direction=nil, rulesequence=nil, ruletype=nil) @EdgeId = edgeid @Status = status @Direction = direction @RuleSequence = rulesequence @RuleType = ruletype end |
Instance Attribute Details
#Direction ⇒ Object
7272 7273 7274 |
# File 'lib/v20190904/models.rb', line 7272 def Direction @Direction end |
#EdgeId ⇒ Object
7272 7273 7274 |
# File 'lib/v20190904/models.rb', line 7272 def EdgeId @EdgeId end |
#RuleSequence ⇒ Object
7272 7273 7274 |
# File 'lib/v20190904/models.rb', line 7272 def RuleSequence @RuleSequence end |
#RuleType ⇒ Object
7272 7273 7274 |
# File 'lib/v20190904/models.rb', line 7272 def RuleType @RuleType end |
#Status ⇒ Object
7272 7273 7274 |
# File 'lib/v20190904/models.rb', line 7272 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
7282 7283 7284 7285 7286 7287 7288 |
# File 'lib/v20190904/models.rb', line 7282 def deserialize(params) @EdgeId = params['EdgeId'] @Status = params['Status'] @Direction = params['Direction'] @RuleSequence = params['RuleSequence'] @RuleType = params['RuleType'] end |