Class: TencentCloud::Cdwch::V20200915::InstanceConfigItem

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

Overview

KV配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(confkey = nil, confvalue = nil) ⇒ InstanceConfigItem

Returns a new instance of InstanceConfigItem.



1992
1993
1994
1995
# File 'lib/v20200915/models.rb', line 1992

def initialize(confkey=nil, confvalue=nil)
  @ConfKey = confkey
  @ConfValue = confvalue
end

Instance Attribute Details

#ConfKeyObject

Parameters:

  • ConfKey:

    key

  • ConfValue:

    value



1990
1991
1992
# File 'lib/v20200915/models.rb', line 1990

def ConfKey
  @ConfKey
end

#ConfValueObject

Parameters:

  • ConfKey:

    key

  • ConfValue:

    value



1990
1991
1992
# File 'lib/v20200915/models.rb', line 1990

def ConfValue
  @ConfValue
end

Instance Method Details

#deserialize(params) ⇒ Object



1997
1998
1999
2000
# File 'lib/v20200915/models.rb', line 1997

def deserialize(params)
  @ConfKey = params['ConfKey']
  @ConfValue = params['ConfValue']
end