Class: TencentCloud::Dlc::V20210125::KVPair

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

Overview

配置格式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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



11619
11620
11621
11622
# File 'lib/v20210125/models.rb', line 11619

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

Instance Attribute Details

#KeyObject



11617
11618
11619
# File 'lib/v20210125/models.rb', line 11617

def Key
  @Key
end

#ValueObject



11617
11618
11619
# File 'lib/v20210125/models.rb', line 11617

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



11624
11625
11626
11627
# File 'lib/v20210125/models.rb', line 11624

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