Class: TencentCloud::Wedata::V20250806::KVMap

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

Overview

map

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(k = nil, v = nil) ⇒ KVMap

Returns a new instance of KVMap.



5744
5745
5746
5747
# File 'lib/v20250806/models.rb', line 5744

def initialize(k=nil, v=nil)
  @K = k
  @V = v
end

Instance Attribute Details

#KObject

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

Parameters:

  • K:

    k

  • V:

    v



5742
5743
5744
# File 'lib/v20250806/models.rb', line 5742

def K
  @K
end

#VObject

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

Parameters:

  • K:

    k

  • V:

    v



5742
5743
5744
# File 'lib/v20250806/models.rb', line 5742

def V
  @V
end

Instance Method Details

#deserialize(params) ⇒ Object



5749
5750
5751
5752
# File 'lib/v20250806/models.rb', line 5749

def deserialize(params)
  @K = params['K']
  @V = params['V']
end