Class: TencentCloud::Monitor::V20180724::Dimension

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

Overview

实例对象的维度组合

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ Dimension

Returns a new instance of Dimension.



9860
9861
9862
9863
# File 'lib/v20180724/models.rb', line 9860

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

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

Parameters:

  • Name:

    实例维度名称

  • Value:

    实例维度值



9858
9859
9860
# File 'lib/v20180724/models.rb', line 9858

def Name
  @Name
end

#ValueObject

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

Parameters:

  • Name:

    实例维度名称

  • Value:

    实例维度值



9858
9859
9860
# File 'lib/v20180724/models.rb', line 9858

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



9865
9866
9867
9868
# File 'lib/v20180724/models.rb', line 9865

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
end