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.



23149
23150
23151
23152
# File 'lib/v20210820/models.rb', line 23149

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

Instance Attribute Details

#KObject

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

Parameters:

  • K:

    k

  • V:

    v



23147
23148
23149
# File 'lib/v20210820/models.rb', line 23147

def K
  @K
end

#VObject

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

Parameters:

  • K:

    k

  • V:

    v



23147
23148
23149
# File 'lib/v20210820/models.rb', line 23147

def V
  @V
end

Instance Method Details

#deserialize(params) ⇒ Object



23154
23155
23156
23157
# File 'lib/v20210820/models.rb', line 23154

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