Class: TencentCloud::Tcr::V20190924::KeyValueString

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

Overview

通用参数字符串键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KeyValueString.



4927
4928
4929
4930
# File 'lib/v20190924/models.rb', line 4927

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

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    键

  • Value: —

    值



4925
4926
4927
# File 'lib/v20190924/models.rb', line 4925

def Key
  @Key
end

#Value ⇒ Object

Parameters:

  • Key: —

    键

  • Value: —

    值



4925
4926
4927
# File 'lib/v20190924/models.rb', line 4925

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4932
4933
4934
4935
# File 'lib/v20190924/models.rb', line 4932

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