Class: TencentCloud::Tke::V20180525::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::Tag
- Defined in:
- lib/v20180525/models.rb
Overview
标签绑定的资源类型,当前支持类型:“cluster”
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.
18512 18513 18514 18515 |
# File 'lib/v20180525/models.rb', line 18512 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
18510 18511 18512 |
# File 'lib/v20180525/models.rb', line 18510 def Key @Key end |
#Value ⇒ Object
18510 18511 18512 |
# File 'lib/v20180525/models.rb', line 18510 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
18517 18518 18519 18520 |
# File 'lib/v20180525/models.rb', line 18517 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |