Class: TencentCloud::Batch::V20170312::DescribeJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::DescribeJobsResponse
- Defined in:
- lib/v20170312/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
Returns a new instance of DescribeJobsResponse.
1752 1753 1754 1755 1756 |
# File 'lib/v20170312/models.rb', line 1752 def initialize(jobset=nil, totalcount=nil, requestid=nil) @JobSet = jobset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#JobSet ⇒ Object
1750 1751 1752 |
# File 'lib/v20170312/models.rb', line 1750 def JobSet @JobSet end |
#RequestId ⇒ Object
1750 1751 1752 |
# File 'lib/v20170312/models.rb', line 1750 def RequestId @RequestId end |
#TotalCount ⇒ Object
1750 1751 1752 |
# File 'lib/v20170312/models.rb', line 1750 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 |
# File 'lib/v20170312/models.rb', line 1758 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 |