Class: TencentCloud::Csip::V20221121::KeyValue

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

Overview

KeyValue对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KeyValue.



10161
10162
10163
10164
# File 'lib/v20221121/models.rb', line 10161

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    字段

  • Value:



10159
10160
10161
# File 'lib/v20221121/models.rb', line 10159

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    字段

  • Value:



10159
10160
10161
# File 'lib/v20221121/models.rb', line 10159

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



10166
10167
10168
10169
# File 'lib/v20221121/models.rb', line 10166

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