Class: TencentCloud::Wedata::V20210820::Pair
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::Pair
- Defined in:
- lib/v20210820/models.rb
Overview
键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Pair
constructor
A new instance of Pair.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Pair
Returns a new instance of Pair.
19101 19102 19103 19104 |
# File 'lib/v20210820/models.rb', line 19101 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
19099 19100 19101 |
# File 'lib/v20210820/models.rb', line 19099 def Key @Key end |
#Value ⇒ Object
19099 19100 19101 |
# File 'lib/v20210820/models.rb', line 19099 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
19106 19107 19108 19109 |
# File 'lib/v20210820/models.rb', line 19106 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |