Class: TencentCloud::Thpc::V20230321::DescribeJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20230321::DescribeJobsResponse
- Defined in:
- lib/v20230321/models.rb
Overview
DescribeJobs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobset = nil, totalcount = nil, requestid = nil) ⇒ DescribeJobsResponse
constructor
A new instance of DescribeJobsResponse.
Constructor Details
#initialize(jobset = nil, totalcount = nil, requestid = nil) ⇒ DescribeJobsResponse
1616 1617 1618 1619 1620 |
# File 'lib/v20230321/models.rb', line 1616 def initialize(jobset=nil, totalcount=nil, requestid=nil) @JobSet = jobset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#JobSet ⇒ Object
1614 1615 1616 |
# File 'lib/v20230321/models.rb', line 1614 def JobSet @JobSet end |
#RequestId ⇒ Object
1614 1615 1616 |
# File 'lib/v20230321/models.rb', line 1614 def RequestId @RequestId end |
#TotalCount ⇒ Object
1614 1615 1616 |
# File 'lib/v20230321/models.rb', line 1614 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 |
# File 'lib/v20230321/models.rb', line 1622 def deserialize(params) unless params['JobSet'].nil? @JobSet = [] params['JobSet'].each do |i| jobview_tmp = JobView.new jobview_tmp.deserialize(i) @JobSet << jobview_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |