Class: TencentCloud::Tse::V20201207::KeyValue

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

Overview

Key/Value结构

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of KeyValue.



8632
8633
8634
8635
# File 'lib/v20201207/models.rb', line 8632

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

Instance Attribute Details

#KeyObject

Parameters:

  • 条件的Key

  • 条件的Value



8630
8631
8632
# File 'lib/v20201207/models.rb', line 8630

def Key
  @Key
end

#ValueObject

Parameters:

  • 条件的Key

  • 条件的Value



8630
8631
8632
# File 'lib/v20201207/models.rb', line 8630

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8637
8638
8639
8640
# File 'lib/v20201207/models.rb', line 8637

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