Class: TencentCloud::Ess::V20201111::Option

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

Overview

注: 配置前请联系对接的客户经理沟通确认。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Option.



15812
15813
15814
15815
# File 'lib/v20201111/models.rb', line 15812

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    个性化配置参数Key字段,对应传入字段的字段名

  • Value:

    个性化配置参数Value字段,对应传入字段的字段值



15810
15811
15812
# File 'lib/v20201111/models.rb', line 15810

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    个性化配置参数Key字段,对应传入字段的字段名

  • Value:

    个性化配置参数Value字段,对应传入字段的字段值



15810
15811
15812
# File 'lib/v20201111/models.rb', line 15810

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



15817
15818
15819
15820
# File 'lib/v20201111/models.rb', line 15817

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