Class: TencentCloud::As::V20180419::InstanceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::InstanceTag
- Defined in:
- lib/v20180419/models.rb
Overview
实例标签。通过指定该参数,可以为扩容的实例绑定标签。
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ InstanceTag
constructor
A new instance of InstanceTag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ InstanceTag
Returns a new instance of InstanceTag.
3334 3335 3336 3337 |
# File 'lib/v20180419/models.rb', line 3334 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3332 3333 3334 |
# File 'lib/v20180419/models.rb', line 3332 def Key @Key end |
#Value ⇒ Object
3332 3333 3334 |
# File 'lib/v20180419/models.rb', line 3332 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3339 3340 3341 3342 |
# File 'lib/v20180419/models.rb', line 3339 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |