Class: TencentCloud::Wedata::V20210820::KVPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::KVPair
- Defined in:
- lib/v20210820/models.rb
Overview
键值对
Instance Attribute Summary collapse
-
#K ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#V ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(k = nil, v = nil) ⇒ KVPair
constructor
A new instance of KVPair.
Constructor Details
#initialize(k = nil, v = nil) ⇒ KVPair
Returns a new instance of KVPair.
25073 25074 25075 25076 |
# File 'lib/v20210820/models.rb', line 25073 def initialize(k=nil, v=nil) @K = k @V = v end |
Instance Attribute Details
#K ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
25071 25072 25073 |
# File 'lib/v20210820/models.rb', line 25071 def K @K end |
#V ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
25071 25072 25073 |
# File 'lib/v20210820/models.rb', line 25071 def V @V end |
Instance Method Details
#deserialize(params) ⇒ Object
25078 25079 25080 25081 |
# File 'lib/v20210820/models.rb', line 25078 def deserialize(params) @K = params['K'] @V = params['V'] end |