Class: TencentCloud::Mongodb::V20190725::ClientConnection
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::ClientConnection
- Defined in:
- lib/v20190725/models.rb
Overview
客户端连接信息,包括客户端IP和连接数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ip = nil, count = nil, internalservice = nil) ⇒ ClientConnection
constructor
A new instance of ClientConnection.
Constructor Details
#initialize(ip = nil, count = nil, internalservice = nil) ⇒ ClientConnection
Returns a new instance of ClientConnection.
439 440 441 442 443 |
# File 'lib/v20190725/models.rb', line 439 def initialize(ip=nil, count=nil, internalservice=nil) @IP = ip @Count = count @InternalService = internalservice end |
Instance Attribute Details
#Count ⇒ Object
437 438 439 |
# File 'lib/v20190725/models.rb', line 437 def Count @Count end |
#InternalService ⇒ Object
437 438 439 |
# File 'lib/v20190725/models.rb', line 437 def InternalService @InternalService end |
#IP ⇒ Object
437 438 439 |
# File 'lib/v20190725/models.rb', line 437 def IP @IP end |
Instance Method Details
#deserialize(params) ⇒ Object
445 446 447 448 449 |
# File 'lib/v20190725/models.rb', line 445 def deserialize(params) @IP = params['IP'] @Count = params['Count'] @InternalService = params['InternalService'] end |