Class: TencentCloud::Eb::V20210416::GetRuleResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::GetRuleResponse
- Defined in:
- lib/v20210416/models.rb
Overview
GetRule返回参数结构体
Instance Attribute Summary collapse
- #AddTime ⇒ Object
- #Description ⇒ Object
- #Enable ⇒ Object
- #EventBusId ⇒ Object
- #EventPattern ⇒ Object
- #ModTime ⇒ Object
- #RequestId ⇒ Object
- #RuleId ⇒ Object
- #RuleName ⇒ Object
- #Status ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventbusid = nil, ruleid = nil, rulename = nil, status = nil, enable = nil, description = nil, eventpattern = nil, addtime = nil, modtime = nil, requestid = nil) ⇒ GetRuleResponse
constructor
A new instance of GetRuleResponse.
Constructor Details
#initialize(eventbusid = nil, ruleid = nil, rulename = nil, status = nil, enable = nil, description = nil, eventpattern = nil, addtime = nil, modtime = nil, requestid = nil) ⇒ GetRuleResponse
Returns a new instance of GetRuleResponse.
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 |
# File 'lib/v20210416/models.rb', line 1296 def initialize(eventbusid=nil, ruleid=nil, rulename=nil, status=nil, enable=nil, description=nil, eventpattern=nil, addtime=nil, modtime=nil, requestid=nil) @EventBusId = eventbusid @RuleId = ruleid @RuleName = rulename @Status = status @Enable = enable @Description = description @EventPattern = eventpattern @AddTime = addtime @ModTime = modtime @RequestId = requestid end |
Instance Attribute Details
#AddTime ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def AddTime @AddTime end |
#Description ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def Description @Description end |
#Enable ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def Enable @Enable end |
#EventBusId ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def EventBusId @EventBusId end |
#EventPattern ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def EventPattern @EventPattern end |
#ModTime ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def ModTime @ModTime end |
#RequestId ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def RequestId @RequestId end |
#RuleId ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def RuleId @RuleId end |
#RuleName ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def RuleName @RuleName end |
#Status ⇒ Object
1294 1295 1296 |
# File 'lib/v20210416/models.rb', line 1294 def Status @Status end |
Instance Method Details
#deserialize(params) ⇒ Object
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/v20210416/models.rb', line 1309 def deserialize(params) @EventBusId = params['EventBusId'] @RuleId = params['RuleId'] @RuleName = params['RuleName'] @Status = params['Status'] @Enable = params['Enable'] @Description = params['Description'] @EventPattern = params['EventPattern'] @AddTime = params['AddTime'] @ModTime = params['ModTime'] @RequestId = params['RequestId'] end |