Class: TencentCloud::Batch::V20170312::DescribeJobSubmitInfoResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::DescribeJobSubmitInfoResponse
- Defined in:
- lib/v20170312/models.rb
Overview
DescribeJobSubmitInfo返回参数结构体
Instance Attribute Summary collapse
-
#Dependences ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#JobDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#JobId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#JobName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Priority ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobid = nil, jobname = nil, jobdescription = nil, priority = nil, tasks = nil, dependences = nil, tags = nil, requestid = nil) ⇒ DescribeJobSubmitInfoResponse
constructor
A new instance of DescribeJobSubmitInfoResponse.
Constructor Details
#initialize(jobid = nil, jobname = nil, jobdescription = nil, priority = nil, tasks = nil, dependences = nil, tags = nil, requestid = nil) ⇒ DescribeJobSubmitInfoResponse
Returns a new instance of DescribeJobSubmitInfoResponse.
1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 |
# File 'lib/v20170312/models.rb', line 1644 def initialize(jobid=nil, jobname=nil, jobdescription=nil, priority=nil, tasks=nil, dependences=nil, =nil, requestid=nil) @JobId = jobid @JobName = jobname @JobDescription = jobdescription @Priority = priority @Tasks = tasks @Dependences = dependences @Tags = @RequestId = requestid end |
Instance Attribute Details
#Dependences ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def Dependences @Dependences end |
#JobDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def JobDescription @JobDescription end |
#JobId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def JobId @JobId end |
#JobName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def JobName @JobName end |
#Priority ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def Priority @Priority end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def RequestId @RequestId end |
#Tags ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def Tags @Tags end |
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
1642 1643 1644 |
# File 'lib/v20170312/models.rb', line 1642 def Tasks @Tasks end |
Instance Method Details
#deserialize(params) ⇒ Object
1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 |
# File 'lib/v20170312/models.rb', line 1655 def deserialize(params) @JobId = params['JobId'] @JobName = params['JobName'] @JobDescription = params['JobDescription'] @Priority = params['Priority'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| task_tmp = Task.new task_tmp.deserialize(i) @Tasks << task_tmp end end unless params['Dependences'].nil? @Dependences = [] params['Dependences'].each do |i| dependence_tmp = Dependence.new dependence_tmp.deserialize(i) @Dependences << dependence_tmp end end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @RequestId = params['RequestId'] end |