Class: TencentCloud::Scf::V20180416::K8SLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::K8SLabel
- Defined in:
- lib/v20180416/models.rb
Overview
k8s label
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ K8SLabel
constructor
A new instance of K8SLabel.
Constructor Details
#initialize(key = nil, value = nil) ⇒ K8SLabel
Returns a new instance of K8SLabel.
2866 2867 2868 2869 |
# File 'lib/v20180416/models.rb', line 2866 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2864 2865 2866 |
# File 'lib/v20180416/models.rb', line 2864 def Key @Key end |
#Value ⇒ Object
2864 2865 2866 |
# File 'lib/v20180416/models.rb', line 2864 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2871 2872 2873 2874 |
# File 'lib/v20180416/models.rb', line 2871 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |