Class: TencentCloud::Cls::V20201016::Dimension

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



10348
10349
10350
10351
# File 'lib/v20201016/models.rb', line 10348

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

Instance Attribute Details

#Name ⇒ Object

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

Parameters:

  • Name: —

    实例维度名称,此字段可能返回 null,表示取不到有效值。

  • Value: —

    实例维度值,此字段可能返回 null,表示取不到有效值。



10346
10347
10348
# File 'lib/v20201016/models.rb', line 10346

def Name
  @Name
end

#Value ⇒ Object

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

Parameters:

  • Name: —

    实例维度名称,此字段可能返回 null,表示取不到有效值。

  • Value: —

    实例维度值,此字段可能返回 null,表示取不到有效值。



10346
10347
10348
# File 'lib/v20201016/models.rb', line 10346

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



10353
10354
10355
10356
# File 'lib/v20201016/models.rb', line 10353

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