Class: TencentCloud::Apigateway::V20180808::K8sLabel
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::K8sLabel
- Defined in:
- lib/v20180808/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.
6905 6906 6907 6908 |
# File 'lib/v20180808/models.rb', line 6905 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
6903 6904 6905 |
# File 'lib/v20180808/models.rb', line 6903 def Key @Key end |
#Value ⇒ Object
6903 6904 6905 |
# File 'lib/v20180808/models.rb', line 6903 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
6910 6911 6912 6913 |
# File 'lib/v20180808/models.rb', line 6910 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |