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.



18853
18854
18855
18856
18857
# File 'lib/v20180228/models.rb', line 18853

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。



18851
18852
18853
# File 'lib/v20180228/models.rb', line 18851

def ProcessStatistics
  @ProcessStatistics
end

#RequestIdObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

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



18851
18852
18853
# File 'lib/v20180228/models.rb', line 18851

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

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



18851
18852
18853
# File 'lib/v20180228/models.rb', line 18851

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
# File 'lib/v20180228/models.rb', line 18859

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