Class: TencentCloud::Cbs::V20170312::Tag
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::Tag
- Defined in:
- lib/v20170312/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.
3500 3501 3502 3503 |
# File 'lib/v20170312/models.rb', line 3500 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3498 3499 3500 |
# File 'lib/v20170312/models.rb', line 3498 def Key @Key end |
#Value ⇒ Object
3498 3499 3500 |
# File 'lib/v20170312/models.rb', line 3498 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3505 3506 3507 3508 |
# File 'lib/v20170312/models.rb', line 3505 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |