Class: TencentCloud::Apm::V20210622::SelectorView

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

Overview

包含了节点的组件数量和健康度数量

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(component = nil) ⇒ SelectorView

Returns a new instance of SelectorView.



3885
3886
3887
# File 'lib/v20210622/models.rb', line 3885

def initialize(component=nil)
  @Component = component
end

Instance Attribute Details

#ComponentObject

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

Parameters:

  • Component:

    组件数量



3883
3884
3885
# File 'lib/v20210622/models.rb', line 3883

def Component
  @Component
end

Instance Method Details

#deserialize(params) ⇒ Object



3889
3890
3891
3892
3893
3894
# File 'lib/v20210622/models.rb', line 3889

def deserialize(params)
  unless params['Component'].nil?
    @Component = ComponentTopologyView.new
    @Component.deserialize(params['Component'])
  end
end