Class: TencentCloud::Gaap::V20180529::DescribeListenerStatisticsResponse

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

Overview

DescribeListenerStatistics返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(statisticsdata = nil, requestid = nil) ⇒ DescribeListenerStatisticsResponse

Returns a new instance of DescribeListenerStatisticsResponse.



3157
3158
3159
3160
# File 'lib/v20180529/models.rb', line 3157

def initialize(statisticsdata=nil, requestid=nil)
  @StatisticsData = statisticsdata
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • StatisticsData:

    通道组统计数据

  • RequestId:

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



3155
3156
3157
# File 'lib/v20180529/models.rb', line 3155

def RequestId
  @RequestId
end

#StatisticsDataObject

Parameters:

  • StatisticsData:

    通道组统计数据

  • RequestId:

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



3155
3156
3157
# File 'lib/v20180529/models.rb', line 3155

def StatisticsData
  @StatisticsData
end

Instance Method Details

#deserialize(params) ⇒ Object



3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
# File 'lib/v20180529/models.rb', line 3162

def deserialize(params)
  unless params['StatisticsData'].nil?
    @StatisticsData = []
    params['StatisticsData'].each do |i|
      metricstatisticsinfo_tmp = MetricStatisticsInfo.new
      metricstatisticsinfo_tmp.deserialize(i)
      @StatisticsData << metricstatisticsinfo_tmp
    end
  end
  @RequestId = params['RequestId']
end