Class: TencentCloud::Tke::V20180525::NodeCountSummary

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/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.



14914
14915
14916
14917
# File 'lib/v20180525/models.rb', line 14914

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

Instance Attribute Details

#AutoscalingAddedObject

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

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



14912
14913
14914
# File 'lib/v20180525/models.rb', line 14912

def AutoscalingAdded
  @AutoscalingAdded
end

#ManuallyAddedObject

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

Parameters:

  • ManuallyAdded:

    手动管理的节点

  • AutoscalingAdded:

    自动管理的节点



14912
14913
14914
# File 'lib/v20180525/models.rb', line 14912

def ManuallyAdded
  @ManuallyAdded
end

Instance Method Details

#deserialize(params) ⇒ Object



14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
# File 'lib/v20180525/models.rb', line 14919

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