Class: TencentCloud::Tat::V20201028::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tat::V20201028::Tag
- Defined in:
- lib/v20201028/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.
2714 2715 2716 2717 |
# File 'lib/v20201028/models.rb', line 2714 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2712 2713 2714 |
# File 'lib/v20201028/models.rb', line 2712 def Key @Key end |
#Value ⇒ Object
2712 2713 2714 |
# File 'lib/v20201028/models.rb', line 2712 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2719 2720 2721 2722 |
# File 'lib/v20201028/models.rb', line 2719 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |