Class: TencentCloud::Tke::V20220501::NodeCountSummary
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::NodeCountSummary
- Defined in:
- lib/v20220501/models.rb
Overview
节点统计列表
Instance Attribute Summary collapse
-
#AutoscalingAdded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#ManuallyAdded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(manuallyadded = nil, autoscalingadded = nil) ⇒ NodeCountSummary
constructor
A new instance of NodeCountSummary.
Constructor Details
#initialize(manuallyadded = nil, autoscalingadded = nil) ⇒ NodeCountSummary
Returns a new instance of NodeCountSummary.
2207 2208 2209 2210 |
# File 'lib/v20220501/models.rb', line 2207 def initialize(manuallyadded=nil, autoscalingadded=nil) @ManuallyAdded = manuallyadded @AutoscalingAdded = autoscalingadded end |
Instance Attribute Details
#AutoscalingAdded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2205 2206 2207 |
# File 'lib/v20220501/models.rb', line 2205 def AutoscalingAdded @AutoscalingAdded end |
#ManuallyAdded ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
2205 2206 2207 |
# File 'lib/v20220501/models.rb', line 2205 def ManuallyAdded @ManuallyAdded end |
Instance Method Details
#deserialize(params) ⇒ Object
2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 |
# File 'lib/v20220501/models.rb', line 2212 def deserialize(params) unless params['ManuallyAdded'].nil? @ManuallyAdded = ManuallyAdded.new @ManuallyAdded.deserialize(params['ManuallyAdded']) end unless params['AutoscalingAdded'].nil? @AutoscalingAdded = AutoscalingAdded.new @AutoscalingAdded.deserialize(params['AutoscalingAdded']) end end |