Class: TencentCloud::Tke::V20220501::Label
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Label
- Defined in:
- lib/v20220501/models.rb
Overview
k8s中标签,一般以数组的方式存在
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize(name = nil, value = nil) ⇒ Label
Returns a new instance of Label.
1436 1437 1438 1439 |
# File 'lib/v20220501/models.rb', line 1436 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
1434 1435 1436 |
# File 'lib/v20220501/models.rb', line 1434 def Name @Name end |
#Value ⇒ Object
1434 1435 1436 |
# File 'lib/v20220501/models.rb', line 1434 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
1441 1442 1443 1444 |
# File 'lib/v20220501/models.rb', line 1441 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |