Class: TencentCloud::Omics::V20221128::DescribeRunsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Omics::V20221128::DescribeRunsResponse
- Defined in:
- lib/v20221128/models.rb
Overview
DescribeRuns返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, runs = nil, requestid = nil) ⇒ DescribeRunsResponse
constructor
A new instance of DescribeRunsResponse.
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
#RequestId ⇒ Object
656 657 658 |
# File 'lib/v20221128/models.rb', line 656 def RequestId @RequestId end |
#Runs ⇒ Object
656 657 658 |
# File 'lib/v20221128/models.rb', line 656 def Runs @Runs end |
#TotalCount ⇒ Object
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 |