Class: TencentCloud::Iecp::V20210914::Label
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::Label
- Defined in:
- lib/v20210914/models.rb
Overview
标签信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Label
constructor
A new instance of Label.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Label
Returns a new instance of Label.
5064 5065 5066 5067 |
# File 'lib/v20210914/models.rb', line 5064 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5062 5063 5064 |
# File 'lib/v20210914/models.rb', line 5062 def Key @Key end |
#Value ⇒ Object
5062 5063 5064 |
# File 'lib/v20210914/models.rb', line 5062 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5069 5070 5071 5072 |
# File 'lib/v20210914/models.rb', line 5069 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |