Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQBindingRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateRabbitMQBindingRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateRabbitMQBinding请求参数结构体
Instance Attribute Summary collapse
- #Destination ⇒ Object
- #DestinationType ⇒ Object
- #InstanceId ⇒ Object
- #RoutingKey ⇒ Object
- #Source ⇒ Object
- #VirtualHost ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, virtualhost = nil, source = nil, destinationtype = nil, destination = nil, routingkey = nil) ⇒ CreateRabbitMQBindingRequest
constructor
A new instance of CreateRabbitMQBindingRequest.
Constructor Details
#initialize(instanceid = nil, virtualhost = nil, source = nil, destinationtype = nil, destination = nil, routingkey = nil) ⇒ CreateRabbitMQBindingRequest
Returns a new instance of CreateRabbitMQBindingRequest.
1640 1641 1642 1643 1644 1645 1646 1647 |
# File 'lib/v20200217/models.rb', line 1640 def initialize(instanceid=nil, virtualhost=nil, source=nil, destinationtype=nil, destination=nil, routingkey=nil) @InstanceId = instanceid @VirtualHost = virtualhost @Source = source @DestinationType = destinationtype @Destination = destination @RoutingKey = routingkey end |
Instance Attribute Details
#Destination ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def Destination @Destination end |
#DestinationType ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def DestinationType @DestinationType end |
#InstanceId ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def InstanceId @InstanceId end |
#RoutingKey ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def RoutingKey @RoutingKey end |
#Source ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def Source @Source end |
#VirtualHost ⇒ Object
1638 1639 1640 |
# File 'lib/v20200217/models.rb', line 1638 def VirtualHost @VirtualHost end |
Instance Method Details
#deserialize(params) ⇒ Object
1649 1650 1651 1652 1653 1654 1655 1656 |
# File 'lib/v20200217/models.rb', line 1649 def deserialize(params) @InstanceId = params['InstanceId'] @VirtualHost = params['VirtualHost'] @Source = params['Source'] @DestinationType = params['DestinationType'] @Destination = params['Destination'] @RoutingKey = params['RoutingKey'] end |