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.
3545 3546 3547 3548 |
# File 'lib/v20170312/models.rb', line 3545 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3543 3544 3545 |
# File 'lib/v20170312/models.rb', line 3543 def Key @Key end |
#Value ⇒ Object
3543 3544 3545 |
# File 'lib/v20170312/models.rb', line 3543 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3550 3551 3552 3553 |
# File 'lib/v20170312/models.rb', line 3550 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |