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.



19306
19307
19308
19309
# File 'lib/v20210820/models.rb', line 19306

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

Instance Attribute Details

#KeyObject

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

Parameters:

  • Key:

    键名

  • Value:



19304
19305
19306
# File 'lib/v20210820/models.rb', line 19304

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

    键名

  • Value:



19304
19305
19306
# File 'lib/v20210820/models.rb', line 19304

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



19311
19312
19313
19314
# File 'lib/v20210820/models.rb', line 19311

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