Class: TencentCloud::Gaap::V20180529::ListenerInfo

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

Overview

内部接口使用,返回可以查询统计数据的监听器信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ListenerIdObject

Parameters:

  • ListenerId:

    监听器ID

  • ListenerName:

    监听器名称

  • Port:

    监听器监听端口

  • Protocol:

    监听器协议类型



5344
5345
5346
# File 'lib/v20180529/models.rb', line 5344

def ListenerId
  @ListenerId
end

#ListenerNameObject

Parameters:

  • ListenerId:

    监听器ID

  • ListenerName:

    监听器名称

  • Port:

    监听器监听端口

  • Protocol:

    监听器协议类型



5344
5345
5346
# File 'lib/v20180529/models.rb', line 5344

def ListenerName
  @ListenerName
end

#PortObject

Parameters:

  • ListenerId:

    监听器ID

  • ListenerName:

    监听器名称

  • Port:

    监听器监听端口

  • Protocol:

    监听器协议类型



5344
5345
5346
# File 'lib/v20180529/models.rb', line 5344

def Port
  @Port
end

#ProtocolObject

Parameters:

  • ListenerId:

    监听器ID

  • ListenerName:

    监听器名称

  • Port:

    监听器监听端口

  • Protocol:

    监听器协议类型



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