Class: TencentCloud::Tke::V20220501::NodeCountSummary

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20220501/models.rb

Overview

节点统计列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(manuallyadded = nil, autoscalingadded = nil) ⇒ NodeCountSummary

Returns a new instance of NodeCountSummary.



2450
2451
2452
2453
# File 'lib/v20220501/models.rb', line 2450

def initialize(manuallyadded=nil, autoscalingadded=nil)
  @ManuallyAdded = manuallyadded
  @AutoscalingAdded = autoscalingadded
end

Instance Attribute Details

#AutoscalingAddedObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



2448
2449
2450
# File 'lib/v20220501/models.rb', line 2448

def AutoscalingAdded
  @AutoscalingAdded
end

#ManuallyAddedObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



2448
2449
2450
# File 'lib/v20220501/models.rb', line 2448

def ManuallyAdded
  @ManuallyAdded
end

Instance Method Details

#deserialize(params) ⇒ Object



2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
# File 'lib/v20220501/models.rb', line 2455

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