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.



8614
8615
8616
8617
# File 'lib/v20201207/models.rb', line 8614

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

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    条件的Key

  • Value:

    条件的Value



8612
8613
8614
# File 'lib/v20201207/models.rb', line 8612

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    条件的Key

  • Value:

    条件的Value



8612
8613
8614
# File 'lib/v20201207/models.rb', line 8612

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



8619
8620
8621
8622
# File 'lib/v20201207/models.rb', line 8619

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