Class: TencentCloud::Cwp::V20180228::DescribeAssetAppProcessListResponse

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

Overview

DescribeAssetAppProcessList返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(process = nil, total = nil, requestid = nil) ⇒ DescribeAssetAppProcessListResponse

Returns a new instance of DescribeAssetAppProcessListResponse.



8236
8237
8238
8239
8240
# File 'lib/v20180228/models.rb', line 8236

def initialize(process=nil, total=nil, requestid=nil)
  @Process = process
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#ProcessObject

Parameters:

  • Process:

    进程列表

  • Total:

    分区总数

  • RequestId:

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



8234
8235
8236
# File 'lib/v20180228/models.rb', line 8234

def Process
  @Process
end

#RequestIdObject

Parameters:

  • Process:

    进程列表

  • Total:

    分区总数

  • RequestId:

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



8234
8235
8236
# File 'lib/v20180228/models.rb', line 8234

def RequestId
  @RequestId
end

#TotalObject

Parameters:

  • Process:

    进程列表

  • Total:

    分区总数

  • RequestId:

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



8234
8235
8236
# File 'lib/v20180228/models.rb', line 8234

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
# File 'lib/v20180228/models.rb', line 8242

def deserialize(params)
  unless params['Process'].nil?
    @Process = []
    params['Process'].each do |i|
      assetappprocessinfo_tmp = AssetAppProcessInfo.new
      assetappprocessinfo_tmp.deserialize(i)
      @Process << assetappprocessinfo_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end