Class: TencentCloud::Emr::V20190103::AllNodeResourceSpec
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::AllNodeResourceSpec
- Defined in:
- lib/v20190103/models.rb
Overview
资源描述
Instance Attribute Summary collapse
-
#CommonCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CommonResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CoreCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CoreResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MasterCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#MasterResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#TaskResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(masterresourcespec = nil, coreresourcespec = nil, taskresourcespec = nil, commonresourcespec = nil, mastercount = nil, corecount = nil, taskcount = nil, commoncount = nil) ⇒ AllNodeResourceSpec
constructor
A new instance of AllNodeResourceSpec.
Constructor Details
#initialize(masterresourcespec = nil, coreresourcespec = nil, taskresourcespec = nil, commonresourcespec = nil, mastercount = nil, corecount = nil, taskcount = nil, commoncount = nil) ⇒ AllNodeResourceSpec
Returns a new instance of AllNodeResourceSpec.
230 231 232 233 234 235 236 237 238 239 |
# File 'lib/v20190103/models.rb', line 230 def initialize(masterresourcespec=nil, coreresourcespec=nil, taskresourcespec=nil, commonresourcespec=nil, mastercount=nil, corecount=nil, taskcount=nil, commoncount=nil) @MasterResourceSpec = masterresourcespec @CoreResourceSpec = coreresourcespec @TaskResourceSpec = taskresourcespec @CommonResourceSpec = commonresourcespec @MasterCount = mastercount @CoreCount = corecount @TaskCount = taskcount @CommonCount = commoncount end |
Instance Attribute Details
#CommonCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def CommonCount @CommonCount end |
#CommonResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def CommonResourceSpec @CommonResourceSpec end |
#CoreCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def CoreCount @CoreCount end |
#CoreResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def CoreResourceSpec @CoreResourceSpec end |
#MasterCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def MasterCount @MasterCount end |
#MasterResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def MasterResourceSpec @MasterResourceSpec end |
#TaskCount ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def TaskCount @TaskCount end |
#TaskResourceSpec ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
228 229 230 |
# File 'lib/v20190103/models.rb', line 228 def TaskResourceSpec @TaskResourceSpec end |
Instance Method Details
#deserialize(params) ⇒ Object
241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
# File 'lib/v20190103/models.rb', line 241 def deserialize(params) unless params['MasterResourceSpec'].nil? @MasterResourceSpec = NodeResourceSpec.new @MasterResourceSpec.deserialize(params['MasterResourceSpec']) end unless params['CoreResourceSpec'].nil? @CoreResourceSpec = NodeResourceSpec.new @CoreResourceSpec.deserialize(params['CoreResourceSpec']) end unless params['TaskResourceSpec'].nil? @TaskResourceSpec = NodeResourceSpec.new @TaskResourceSpec.deserialize(params['TaskResourceSpec']) end unless params['CommonResourceSpec'].nil? @CommonResourceSpec = NodeResourceSpec.new @CommonResourceSpec.deserialize(params['CommonResourceSpec']) end @MasterCount = params['MasterCount'] @CoreCount = params['CoreCount'] @TaskCount = params['TaskCount'] @CommonCount = params['CommonCount'] end |