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.



1884
1885
1886
1887
# File 'lib/v20220501/models.rb', line 1884

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

Instance Attribute Details

#AutoscalingAddedObject

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

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



1882
1883
1884
# File 'lib/v20220501/models.rb', line 1882

def AutoscalingAdded
  @AutoscalingAdded
end

#ManuallyAddedObject

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

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



1882
1883
1884
# File 'lib/v20220501/models.rb', line 1882

def ManuallyAdded
  @ManuallyAdded
end

Instance Method Details

#deserialize(params) ⇒ Object



1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
# File 'lib/v20220501/models.rb', line 1889

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