Class: TencentCloud::Lighthouse::V20200324::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::Tag
- Defined in:
- lib/v20200324/models.rb
Overview
标签
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Tag
constructor
A new instance of Tag.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Tag
Returns a new instance of Tag.
8679 8680 8681 8682 |
# File 'lib/v20200324/models.rb', line 8679 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
8677 8678 8679 |
# File 'lib/v20200324/models.rb', line 8677 def Key @Key end |
#Value ⇒ Object
8677 8678 8679 |
# File 'lib/v20200324/models.rb', line 8677 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
8684 8685 8686 8687 |
# File 'lib/v20200324/models.rb', line 8684 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |