Class: TencentCloud::Thpc::V20211109::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20211109::Tag
- Defined in:
- lib/v20211109/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.
855 856 857 858 |
# File 'lib/v20211109/models.rb', line 855 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
853 854 855 |
# File 'lib/v20211109/models.rb', line 853 def Key @Key end |
#Value ⇒ Object
853 854 855 |
# File 'lib/v20211109/models.rb', line 853 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
860 861 862 863 |
# File 'lib/v20211109/models.rb', line 860 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |