Class: TencentCloud::Gaap::V20180529::ListenerInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::ListenerInfo
- Defined in:
- lib/v20180529/models.rb
Overview
内部接口使用,返回可以查询统计数据的监听器信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(listenerid = nil, listenername = nil, port = nil, protocol = nil) ⇒ ListenerInfo
constructor
A new instance of ListenerInfo.
Constructor Details
#initialize(listenerid = nil, listenername = nil, port = nil, protocol = nil) ⇒ ListenerInfo
Returns a new instance of ListenerInfo.
5346 5347 5348 5349 5350 5351 |
# File 'lib/v20180529/models.rb', line 5346 def initialize(listenerid=nil, listenername=nil, port=nil, protocol=nil) @ListenerId = listenerid @ListenerName = listenername @Port = port @Protocol = protocol end |
Instance Attribute Details
#ListenerId ⇒ Object
5344 5345 5346 |
# File 'lib/v20180529/models.rb', line 5344 def ListenerId @ListenerId end |
#ListenerName ⇒ Object
5344 5345 5346 |
# File 'lib/v20180529/models.rb', line 5344 def ListenerName @ListenerName end |
#Port ⇒ Object
5344 5345 5346 |
# File 'lib/v20180529/models.rb', line 5344 def Port @Port end |
#Protocol ⇒ Object
5344 5345 5346 |
# File 'lib/v20180529/models.rb', line 5344 def Protocol @Protocol end |
Instance Method Details
#deserialize(params) ⇒ Object
5353 5354 5355 5356 5357 5358 |
# File 'lib/v20180529/models.rb', line 5353 def deserialize(params) @ListenerId = params['ListenerId'] @ListenerName = params['ListenerName'] @Port = params['Port'] @Protocol = params['Protocol'] end |