Class: TencentCloud::Iecp::V20210914::KeyValueObj
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::KeyValueObj
- Defined in:
- lib/v20210914/models.rb
Overview
KeyValue对象
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KeyValueObj
constructor
A new instance of KeyValueObj.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KeyValueObj
5044 5045 5046 5047 |
# File 'lib/v20210914/models.rb', line 5044 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5042 5043 5044 |
# File 'lib/v20210914/models.rb', line 5042 def Key @Key end |
#Value ⇒ Object
5042 5043 5044 |
# File 'lib/v20210914/models.rb', line 5042 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5049 5050 5051 5052 |
# File 'lib/v20210914/models.rb', line 5049 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |