Class: TencentCloud::Monitor::V20180724::Label
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Monitor::V20180724::Label
- Defined in:
- lib/v20180724/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.
10915 10916 10917 10918 |
# File 'lib/v20180724/models.rb', line 10915 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
10913 10914 10915 |
# File 'lib/v20180724/models.rb', line 10913 def Name @Name end |
#Value ⇒ Object
10913 10914 10915 |
# File 'lib/v20180724/models.rb', line 10913 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10920 10921 10922 10923 |
# File 'lib/v20180724/models.rb', line 10920 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |