Class: TencentCloud::Tke::V20180525::Label
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::Label
- Defined in:
- lib/v20180525/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.
13498 13499 13500 13501 |
# File 'lib/v20180525/models.rb', line 13498 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
13496 13497 13498 |
# File 'lib/v20180525/models.rb', line 13496 def Name @Name end |
#Value ⇒ Object
13496 13497 13498 |
# File 'lib/v20180525/models.rb', line 13496 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
13503 13504 13505 13506 |
# File 'lib/v20180525/models.rb', line 13503 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |