Class: TencentCloud::Tione::V20211111::Option

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Option.



6856
6857
6858
6859
# File 'lib/v20211111/models.rb', line 6856

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

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    指标名

  • Value:

    指标值



6854
6855
6856
# File 'lib/v20211111/models.rb', line 6854

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    指标名

  • Value:

    指标值



6854
6855
6856
# File 'lib/v20211111/models.rb', line 6854

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6861
6862
6863
6864
# File 'lib/v20211111/models.rb', line 6861

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