Class: TencentCloud::Omics::V20221128::DescribeRunsResponse

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

Overview

DescribeRuns返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, runs = nil, requestid = nil) ⇒ DescribeRunsResponse

Returns a new instance of DescribeRunsResponse.



658
659
660
661
662
# File 'lib/v20221128/models.rb', line 658

def initialize(totalcount=nil, runs=nil, requestid=nil)
  @TotalCount = totalcount
  @Runs = runs
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的数量。

  • Runs:

    任务列表。

  • RequestId:

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



656
657
658
# File 'lib/v20221128/models.rb', line 656

def RequestId
  @RequestId
end

#RunsObject

Parameters:

  • TotalCount:

    符合条件的数量。

  • Runs:

    任务列表。

  • RequestId:

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



656
657
658
# File 'lib/v20221128/models.rb', line 656

def Runs
  @Runs
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的数量。

  • Runs:

    任务列表。

  • RequestId:

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



656
657
658
# File 'lib/v20221128/models.rb', line 656

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



664
665
666
667
668
669
670
671
672
673
674
675
# File 'lib/v20221128/models.rb', line 664

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