Class: TencentCloud::Emr::V20190103::DescribeYarnScheduleHistoryResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::DescribeYarnScheduleHistoryResponse
- Defined in:
- lib/v20190103/models.rb
Overview
DescribeYarnScheduleHistory返回参数结构体
Instance Attribute Summary collapse
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SchedulerNameList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#StateList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tasks = nil, total = nil, schedulernamelist = nil, statelist = nil, requestid = nil) ⇒ DescribeYarnScheduleHistoryResponse
constructor
A new instance of DescribeYarnScheduleHistoryResponse.
Constructor Details
#initialize(tasks = nil, total = nil, schedulernamelist = nil, statelist = nil, requestid = nil) ⇒ DescribeYarnScheduleHistoryResponse
Returns a new instance of DescribeYarnScheduleHistoryResponse.
6016 6017 6018 6019 6020 6021 6022 |
# File 'lib/v20190103/models.rb', line 6016 def initialize(tasks=nil, total=nil, schedulernamelist=nil, statelist=nil, requestid=nil) @Tasks = tasks @Total = total @SchedulerNameList = schedulernamelist @StateList = statelist @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6014 6015 6016 |
# File 'lib/v20190103/models.rb', line 6014 def RequestId @RequestId end |
#SchedulerNameList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6014 6015 6016 |
# File 'lib/v20190103/models.rb', line 6014 def SchedulerNameList @SchedulerNameList end |
#StateList ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6014 6015 6016 |
# File 'lib/v20190103/models.rb', line 6014 def StateList @StateList end |
#Tasks ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6014 6015 6016 |
# File 'lib/v20190103/models.rb', line 6014 def Tasks @Tasks end |
#Total ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
6014 6015 6016 |
# File 'lib/v20190103/models.rb', line 6014 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 |
# File 'lib/v20190103/models.rb', line 6024 def deserialize(params) unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| schedulertaskinfo_tmp = SchedulerTaskInfo.new schedulertaskinfo_tmp.deserialize(i) @Tasks << schedulertaskinfo_tmp end end @Total = params['Total'] @SchedulerNameList = params['SchedulerNameList'] @StateList = params['StateList'] @RequestId = params['RequestId'] end |