Class: TencentCloud::Gaap::V20180529::ProxySimpleInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gaap::V20180529::ProxySimpleInfo
- Defined in:
- lib/v20180529/models.rb
Overview
内部接口使用,返回可以查询统计数据的通道和对应的监听器信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(proxyid = nil, proxyname = nil, listenerlist = nil) ⇒ ProxySimpleInfo
constructor
A new instance of ProxySimpleInfo.
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
#ListenerList ⇒ Object
6962 6963 6964 |
# File 'lib/v20180529/models.rb', line 6962 def ListenerList @ListenerList end |
#ProxyId ⇒ Object
6962 6963 6964 |
# File 'lib/v20180529/models.rb', line 6962 def ProxyId @ProxyId end |
#ProxyName ⇒ Object
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 |