Class: TencentCloud::Wedata::V20210820::PairDto
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::PairDto
- Defined in:
- lib/v20210820/models.rb
Overview
键值对
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ PairDto
constructor
A new instance of PairDto.
Constructor Details
#initialize(key = nil, value = nil) ⇒ PairDto
Returns a new instance of PairDto.
26210 26211 26212 26213 |
# File 'lib/v20210820/models.rb', line 26210 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
26208 26209 26210 |
# File 'lib/v20210820/models.rb', line 26208 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
26208 26209 26210 |
# File 'lib/v20210820/models.rb', line 26208 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
26215 26216 26217 26218 |
# File 'lib/v20210820/models.rb', line 26215 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |