Class: TencentCloud::Yunjing::V20180228::DescribeProcessStatisticsResponse

Inherits:
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.



3147
3148
3149
3150
3151
# File 'lib/v20180228/models.rb', line 3147

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。



3145
3146
3147
# File 'lib/v20180228/models.rb', line 3145

def ProcessStatistics
  @ProcessStatistics
end

#RequestIdObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3145
3146
3147
# File 'lib/v20180228/models.rb', line 3145

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    进程统计列表记录总数。

  • ProcessStatistics:

    进程统计列表数据数组。

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



3145
3146
3147
# File 'lib/v20180228/models.rb', line 3145

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
# File 'lib/v20180228/models.rb', line 3153

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