Class: TencentCloud::Tke::V20220501::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Tag
- Defined in:
- lib/v20220501/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
2757 2758 2759 2760 |
# File 'lib/v20220501/models.rb', line 2757 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2755 2756 2757 |
# File 'lib/v20220501/models.rb', line 2755 def Key @Key end |
#Value ⇒ Object
2755 2756 2757 |
# File 'lib/v20220501/models.rb', line 2755 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2762 2763 2764 2765 |
# File 'lib/v20220501/models.rb', line 2762 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |