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.
19306 19307 19308 19309 |
# File 'lib/v20210820/models.rb', line 19306 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
19304 19305 19306 |
# File 'lib/v20210820/models.rb', line 19304 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
19304 19305 19306 |
# File 'lib/v20210820/models.rb', line 19304 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
19311 19312 19313 19314 |
# File 'lib/v20210820/models.rb', line 19311 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |