Class: TencentCloud::Cwp::V20180228::DescribeProcessStatisticsResponse

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

Overview

DescribeProcessStatistics返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, processstatistics = nil, requestid = nil) ⇒ DescribeProcessStatisticsResponse

Returns a new instance of DescribeProcessStatisticsResponse.



19185
19186
19187
19188
19189
# File 'lib/v20180228/models.rb', line 19185

def initialize(totalcount=nil, processstatistics=nil, requestid=nil)
  @TotalCount = totalcount
  @ProcessStatistics = processstatistics
  @RequestId = requestid
end

Instance Attribute Details

#ProcessStatisticsObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

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



19183
19184
19185
# File 'lib/v20180228/models.rb', line 19183

def ProcessStatistics
  @ProcessStatistics
end

#RequestIdObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

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



19183
19184
19185
# File 'lib/v20180228/models.rb', line 19183

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

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



19183
19184
19185
# File 'lib/v20180228/models.rb', line 19183

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
# File 'lib/v20180228/models.rb', line 19191

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