Class: TencentCloud::Cls::V20201016::Tag
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cls::V20201016::Tag
- Defined in:
- lib/v20201016/models.rb
Overview
创建资源实例时同时绑定的标签对说明
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Tag
Returns a new instance of Tag.
17573 17574 17575 17576 |
# File 'lib/v20201016/models.rb', line 17573 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
17571 17572 17573 |
# File 'lib/v20201016/models.rb', line 17571 def Key @Key end |
#Value ⇒ Object
17571 17572 17573 |
# File 'lib/v20201016/models.rb', line 17571 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
17578 17579 17580 17581 |
# File 'lib/v20201016/models.rb', line 17578 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |