Class: TencentCloud::Wedata::V20250806::KVPair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20250806::KVPair
- Defined in:
- lib/v20250806/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.
5766 5767 5768 5769 |
# File 'lib/v20250806/models.rb', line 5766 def initialize(k=nil, v=nil) @K = k @V = v end |
Instance Attribute Details
#K ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5764 5765 5766 |
# File 'lib/v20250806/models.rb', line 5764 def K @K end |
#V ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
5764 5765 5766 |
# File 'lib/v20250806/models.rb', line 5764 def V @V end |
Instance Method Details
#deserialize(params) ⇒ Object
5771 5772 5773 5774 |
# File 'lib/v20250806/models.rb', line 5771 def deserialize(params) @K = params['K'] @V = params['V'] end |