Class: TencentCloud::Thpc::V20220401::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Thpc::V20220401::Tag
- Defined in:
- lib/v20220401/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.
2002 2003 2004 2005 |
# File 'lib/v20220401/models.rb', line 2002 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2000 2001 2002 |
# File 'lib/v20220401/models.rb', line 2000 def Key @Key end |
#Value ⇒ Object
2000 2001 2002 |
# File 'lib/v20220401/models.rb', line 2000 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2007 2008 2009 2010 |
# File 'lib/v20220401/models.rb', line 2007 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |