Class: TencentCloud::Gaap::V20180529::DescribeProxyAndStatisticsListenersResponse

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

Overview

DescribeProxyAndStatisticsListeners返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(proxyset = nil, totalcount = nil, requestid = nil) ⇒ DescribeProxyAndStatisticsListenersResponse

Returns a new instance of DescribeProxyAndStatisticsListenersResponse.



3371
3372
3373
3374
3375
# File 'lib/v20180529/models.rb', line 3371

def initialize(proxyset=nil, totalcount=nil, requestid=nil)
  @ProxySet = proxyset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#ProxySetObject

Parameters:

  • ProxySet:

    可以统计的通道信息

  • TotalCount:

    通道数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3369
3370
3371
# File 'lib/v20180529/models.rb', line 3369

def ProxySet
  @ProxySet
end

#RequestIdObject

Parameters:

  • ProxySet:

    可以统计的通道信息

  • TotalCount:

    通道数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3369
3370
3371
# File 'lib/v20180529/models.rb', line 3369

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • ProxySet:

    可以统计的通道信息

  • TotalCount:

    通道数量

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3369
3370
3371
# File 'lib/v20180529/models.rb', line 3369

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
# File 'lib/v20180529/models.rb', line 3377

def deserialize(params)
  unless params['ProxySet'].nil?
    @ProxySet = []
    params['ProxySet'].each do |i|
      proxysimpleinfo_tmp = ProxySimpleInfo.new
      proxysimpleinfo_tmp.deserialize(i)
      @ProxySet << proxysimpleinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end