Class: TencentCloud::Eb::V20210416::UpdateRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::UpdateRuleRequest
- Defined in:
- lib/v20210416/models.rb
Overview
UpdateRule请求参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Enable ⇒ Object
- #EventBusId ⇒ Object
- #EventPattern ⇒ Object
- #RuleId ⇒ Object
- #RuleName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ruleid = nil, eventbusid = nil, enable = nil, description = nil, eventpattern = nil, rulename = nil) ⇒ UpdateRuleRequest
constructor
A new instance of UpdateRuleRequest.
Constructor Details
#initialize(ruleid = nil, eventbusid = nil, enable = nil, description = nil, eventpattern = nil, rulename = nil) ⇒ UpdateRuleRequest
Returns a new instance of UpdateRuleRequest.
2602 2603 2604 2605 2606 2607 2608 2609 |
# File 'lib/v20210416/models.rb', line 2602 def initialize(ruleid=nil, eventbusid=nil, enable=nil, description=nil, eventpattern=nil, rulename=nil) @RuleId = ruleid @EventBusId = eventbusid @Enable = enable @Description = description @EventPattern = eventpattern @RuleName = rulename end |
Instance Attribute Details
#Description ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def Description @Description end |
#Enable ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def Enable @Enable end |
#EventBusId ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def EventBusId @EventBusId end |
#EventPattern ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def EventPattern @EventPattern end |
#RuleId ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def RuleId @RuleId end |
#RuleName ⇒ Object
2600 2601 2602 |
# File 'lib/v20210416/models.rb', line 2600 def RuleName @RuleName end |
Instance Method Details
#deserialize(params) ⇒ Object
2611 2612 2613 2614 2615 2616 2617 2618 |
# File 'lib/v20210416/models.rb', line 2611 def deserialize(params) @RuleId = params['RuleId'] @EventBusId = params['EventBusId'] @Enable = params['Enable'] @Description = params['Description'] @EventPattern = params['EventPattern'] @RuleName = params['RuleName'] end |