Class: TencentCloud::Wedata::V20210820::StrToStrMap

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

Overview

map

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of StrToStrMap.



22865
22866
22867
22868
# File 'lib/v20210820/models.rb', line 22865

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

Instance Attribute Details

#KObject

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

Parameters:

  • K:

    k

  • V:

    v



22863
22864
22865
# File 'lib/v20210820/models.rb', line 22863

def K
  @K
end

#VObject

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

Parameters:

  • K:

    k

  • V:

    v



22863
22864
22865
# File 'lib/v20210820/models.rb', line 22863

def V
  @V
end

Instance Method Details

#deserialize(params) ⇒ Object



22870
22871
22872
22873
# File 'lib/v20210820/models.rb', line 22870

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