Class: TencentCloud::Gaap::V20180529::ProxySimpleInfo

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proxyid = nil, proxyname = nil, listenerlist = nil) ⇒ ProxySimpleInfo

Returns a new instance of ProxySimpleInfo.



6964
6965
6966
6967
6968
# File 'lib/v20180529/models.rb', line 6964

def initialize(proxyid=nil, proxyname=nil, listenerlist=nil)
  @ProxyId = proxyid
  @ProxyName = proxyname
  @ListenerList = listenerlist
end

Instance Attribute Details

#ListenerListObject

Parameters:

  • ProxyId:

    通道ID

  • ProxyName:

    通道名称

  • ListenerList:

    监听器列表



6962
6963
6964
# File 'lib/v20180529/models.rb', line 6962

def ListenerList
  @ListenerList
end

#ProxyIdObject

Parameters:

  • ProxyId:

    通道ID

  • ProxyName:

    通道名称

  • ListenerList:

    监听器列表



6962
6963
6964
# File 'lib/v20180529/models.rb', line 6962

def ProxyId
  @ProxyId
end

#ProxyNameObject

Parameters:

  • ProxyId:

    通道ID

  • ProxyName:

    通道名称

  • ListenerList:

    监听器列表



6962
6963
6964
# File 'lib/v20180529/models.rb', line 6962

def ProxyName
  @ProxyName
end

Instance Method Details

#deserialize(params) ⇒ Object



6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
# File 'lib/v20180529/models.rb', line 6970

def deserialize(params)
  @ProxyId = params['ProxyId']
  @ProxyName = params['ProxyName']
  unless params['ListenerList'].nil?
    @ListenerList = []
    params['ListenerList'].each do |i|
      listenerinfo_tmp = ListenerInfo.new
      listenerinfo_tmp.deserialize(i)
      @ListenerList << listenerinfo_tmp
    end
  end
end