Class: TencentCloud::Gse::V20191112::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Gse::V20191112::Tag
- Defined in:
- lib/v20191112/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.
5351 5352 5353 5354 |
# File 'lib/v20191112/models.rb', line 5351 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5349 5350 5351 |
# File 'lib/v20191112/models.rb', line 5349 def Key @Key end |
#Value ⇒ Object
5349 5350 5351 |
# File 'lib/v20191112/models.rb', line 5349 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5356 5357 5358 5359 |
# File 'lib/v20191112/models.rb', line 5356 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |