Class: TencentCloud::Dcdb::V20180411::ConfigValue

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

Overview

配置信息。包含配置项Config,配置值Value

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = nil, value = nil) ⇒ ConfigValue

Returns a new instance of ConfigValue.



426
427
428
429
# File 'lib/v20180411/models.rb', line 426

def initialize(config=nil, value=nil)
  @Config = config
  @Value = value
end

Instance Attribute Details

#ConfigObject

Parameters:

  • Config:

    配置项的名称,支持填写max_user_connections

  • Value:

    配置值



424
425
426
# File 'lib/v20180411/models.rb', line 424

def Config
  @Config
end

#ValueObject

Parameters:

  • Config:

    配置项的名称,支持填写max_user_connections

  • Value:

    配置值



424
425
426
# File 'lib/v20180411/models.rb', line 424

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



431
432
433
434
# File 'lib/v20180411/models.rb', line 431

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