Class: TencentCloud::Eb::V20210416::CreateRuleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::CreateRuleRequest
- Defined in:
- lib/v20210416/models.rb
Overview
CreateRule请求参数结构体
Instance Attribute Summary collapse
- #Description ⇒ Object
- #Enable ⇒ Object
- #EventBusId ⇒ Object
- #EventPattern ⇒ Object
- #RuleName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventpattern = nil, eventbusid = nil, rulename = nil, enable = nil, description = nil) ⇒ CreateRuleRequest
constructor
A new instance of CreateRuleRequest.
Constructor Details
#initialize(eventpattern = nil, eventbusid = nil, rulename = nil, enable = nil, description = nil) ⇒ CreateRuleRequest
Returns a new instance of CreateRuleRequest.
437 438 439 440 441 442 443 |
# File 'lib/v20210416/models.rb', line 437 def initialize(eventpattern=nil, eventbusid=nil, rulename=nil, enable=nil, description=nil) @EventPattern = eventpattern @EventBusId = eventbusid @RuleName = rulename @Enable = enable @Description = description end |
Instance Attribute Details
#Description ⇒ Object
435 436 437 |
# File 'lib/v20210416/models.rb', line 435 def Description @Description end |
#Enable ⇒ Object
435 436 437 |
# File 'lib/v20210416/models.rb', line 435 def Enable @Enable end |
#EventBusId ⇒ Object
435 436 437 |
# File 'lib/v20210416/models.rb', line 435 def EventBusId @EventBusId end |
#EventPattern ⇒ Object
435 436 437 |
# File 'lib/v20210416/models.rb', line 435 def EventPattern @EventPattern end |
#RuleName ⇒ Object
435 436 437 |
# File 'lib/v20210416/models.rb', line 435 def RuleName @RuleName end |
Instance Method Details
#deserialize(params) ⇒ Object
445 446 447 448 449 450 451 |
# File 'lib/v20210416/models.rb', line 445 def deserialize(params) @EventPattern = params['EventPattern'] @EventBusId = params['EventBusId'] @RuleName = params['RuleName'] @Enable = params['Enable'] @Description = params['Description'] end |