Class: TencentCloud::Eb::V20210416::CreateConnectionRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::CreateConnectionRequest
- Defined in:
- lib/v20210416/models.rb
Overview
CreateConnection请求参数结构体
Instance Attribute Summary collapse
- #ConnectionDescription ⇒ Object
- #ConnectionName ⇒ Object
- #Description ⇒ Object
- #Enable ⇒ Object
- #EventBusId ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(connectiondescription = nil, eventbusid = nil, connectionname = nil, description = nil, enable = nil, type = nil) ⇒ CreateConnectionRequest
constructor
A new instance of CreateConnectionRequest.
Constructor Details
#initialize(connectiondescription = nil, eventbusid = nil, connectionname = nil, description = nil, enable = nil, type = nil) ⇒ CreateConnectionRequest
Returns a new instance of CreateConnectionRequest.
332 333 334 335 336 337 338 339 |
# File 'lib/v20210416/models.rb', line 332 def initialize(connectiondescription=nil, eventbusid=nil, connectionname=nil, description=nil, enable=nil, type=nil) @ConnectionDescription = connectiondescription @EventBusId = eventbusid @ConnectionName = connectionname @Description = description @Enable = enable @Type = type end |
Instance Attribute Details
#ConnectionDescription ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def ConnectionDescription @ConnectionDescription end |
#ConnectionName ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def ConnectionName @ConnectionName end |
#Description ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def Description @Description end |
#Enable ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def Enable @Enable end |
#EventBusId ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def EventBusId @EventBusId end |
#Type ⇒ Object
330 331 332 |
# File 'lib/v20210416/models.rb', line 330 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/v20210416/models.rb', line 341 def deserialize(params) unless params['ConnectionDescription'].nil? @ConnectionDescription = ConnectionDescription.new @ConnectionDescription.deserialize(params['ConnectionDescription']) end @EventBusId = params['EventBusId'] @ConnectionName = params['ConnectionName'] @Description = params['Description'] @Enable = params['Enable'] @Type = params['Type'] end |