Class: TencentCloud::Trabbit::V20230418::RabbitMQConnection
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trabbit::V20230418::RabbitMQConnection
- Defined in:
- lib/v20230418/models.rb
Overview
RabbitMQ连接详情
Instance Attribute Summary collapse
- #Channels ⇒ Object
- #ConnectionName ⇒ Object
- #Heartbeat ⇒ Object
- #IdleSince ⇒ Object
- #IncomingBytes ⇒ Object
- #MaxChannel ⇒ Object
- #OutgoingBytes ⇒ Object
- #PeerHost ⇒ Object
- #Protocol ⇒ Object
- #SSL ⇒ Object
- #State ⇒ Object
- #User ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(connectionname = nil, peerhost = nil, state = nil, user = nil, ssl = nil, protocol = nil, channels = nil, incomingbytes = nil, outgoingbytes = nil, heartbeat = nil, maxchannel = nil, idlesince = nil) ⇒ RabbitMQConnection
constructor
A new instance of RabbitMQConnection.
Constructor Details
#initialize(connectionname = nil, peerhost = nil, state = nil, user = nil, ssl = nil, protocol = nil, channels = nil, incomingbytes = nil, outgoingbytes = nil, heartbeat = nil, maxchannel = nil, idlesince = nil) ⇒ RabbitMQConnection
Returns a new instance of RabbitMQConnection.
2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 |
# File 'lib/v20230418/models.rb', line 2287 def initialize(connectionname=nil, peerhost=nil, state=nil, user=nil, ssl=nil, protocol=nil, channels=nil, incomingbytes=nil, outgoingbytes=nil, heartbeat=nil, maxchannel=nil, idlesince=nil) @ConnectionName = connectionname @PeerHost = peerhost @State = state @User = user @SSL = ssl @Protocol = protocol @Channels = channels @IncomingBytes = incomingbytes @OutgoingBytes = outgoingbytes @Heartbeat = heartbeat @MaxChannel = maxchannel @IdleSince = idlesince end |
Instance Attribute Details
#Channels ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def Channels @Channels end |
#ConnectionName ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def ConnectionName @ConnectionName end |
#Heartbeat ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def Heartbeat @Heartbeat end |
#IdleSince ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def IdleSince @IdleSince end |
#IncomingBytes ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def IncomingBytes @IncomingBytes end |
#MaxChannel ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def MaxChannel @MaxChannel end |
#OutgoingBytes ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def OutgoingBytes @OutgoingBytes end |
#PeerHost ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def PeerHost @PeerHost end |
#Protocol ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def Protocol @Protocol end |
#SSL ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def SSL @SSL end |
#State ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def State @State end |
#User ⇒ Object
2285 2286 2287 |
# File 'lib/v20230418/models.rb', line 2285 def User @User end |
Instance Method Details
#deserialize(params) ⇒ Object
2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 |
# File 'lib/v20230418/models.rb', line 2302 def deserialize(params) @ConnectionName = params['ConnectionName'] @PeerHost = params['PeerHost'] @State = params['State'] @User = params['User'] @SSL = params['SSL'] @Protocol = params['Protocol'] @Channels = params['Channels'] @IncomingBytes = params['IncomingBytes'] @OutgoingBytes = params['OutgoingBytes'] @Heartbeat = params['Heartbeat'] @MaxChannel = params['MaxChannel'] @IdleSince = params['IdleSince'] end |