Class: TencentCloud::Tdmq::V20200217::CreateRabbitMQBindingRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

CreateRabbitMQBinding请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#DestinationObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



1638
1639
1640
# File 'lib/v20200217/models.rb', line 1638

def Destination
  @Destination
end

#DestinationTypeObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



1638
1639
1640
# File 'lib/v20200217/models.rb', line 1638

def DestinationType
  @DestinationType
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



1638
1639
1640
# File 'lib/v20200217/models.rb', line 1638

def InstanceId
  @InstanceId
end

#RoutingKeyObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



1638
1639
1640
# File 'lib/v20200217/models.rb', line 1638

def RoutingKey
  @RoutingKey
end

#SourceObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



1638
1639
1640
# File 'lib/v20200217/models.rb', line 1638

def Source
  @Source
end

#VirtualHostObject

Parameters:

  • InstanceId:

    实例Id

  • VirtualHost:

    Vhost名称

  • Source:

    源exchange

  • DestinationType:

    目标类型,取值queue或exchange

  • Destination:

    目标

  • RoutingKey:

    路由键



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