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.



35620
35621
35622
35623
# File 'lib/v20210820/models.rb', line 35620

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

Instance Attribute Details

#KObject

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

Parameters:

  • K:

    k

  • V:

    v



35618
35619
35620
# File 'lib/v20210820/models.rb', line 35618

def K
  @K
end

#VObject

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

Parameters:

  • K:

    k

  • V:

    v



35618
35619
35620
# File 'lib/v20210820/models.rb', line 35618

def V
  @V
end

Instance Method Details

#deserialize(params) ⇒ Object



35625
35626
35627
35628
# File 'lib/v20210820/models.rb', line 35625

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