Class: TencentCloud::Tke::V20220501::Annotation
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20220501::Annotation
- Defined in:
- lib/v20220501/models.rb
Overview
k8s中标注,一般以数组的方式存在
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ Annotation
constructor
A new instance of Annotation.
Constructor Details
#initialize(name = nil, value = nil) ⇒ Annotation
Returns a new instance of Annotation.
29 30 31 32 |
# File 'lib/v20220501/models.rb', line 29 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
27 28 29 |
# File 'lib/v20220501/models.rb', line 27 def Name @Name end |
#Value ⇒ Object
27 28 29 |
# File 'lib/v20220501/models.rb', line 27 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
34 35 36 37 |
# File 'lib/v20220501/models.rb', line 34 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |