Class: TencentCloud::Wedata::V20210820::PairDto

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of PairDto.



26210
26211
26212
26213
# File 'lib/v20210820/models.rb', line 26210

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

Instance Attribute Details

#KeyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Key:

    键名

  • Value:



26208
26209
26210
# File 'lib/v20210820/models.rb', line 26208

def Key
  @Key
end

#ValueObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Key:

    键名

  • Value:



26208
26209
26210
# File 'lib/v20210820/models.rb', line 26208

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



26215
26216
26217
26218
# File 'lib/v20210820/models.rb', line 26215

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