Class: TencentCloud::Tcr::V20190924::KeyValueString
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcr::V20190924::KeyValueString
- Defined in:
- lib/v20190924/models.rb
Overview
通用参数字符串键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ KeyValueString
constructor
A new instance of KeyValueString.
Constructor Details
#initialize(key = nil, value = nil) ⇒ KeyValueString
Returns a new instance of KeyValueString.
4927 4928 4929 4930 |
# File 'lib/v20190924/models.rb', line 4927 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
4925 4926 4927 |
# File 'lib/v20190924/models.rb', line 4925 def Key @Key end |
#Value ⇒ Object
4925 4926 4927 |
# File 'lib/v20190924/models.rb', line 4925 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4932 4933 4934 4935 |
# File 'lib/v20190924/models.rb', line 4932 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |