Class: TencentCloud::Tcb::V20180608::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tcb::V20180608::Tag
- Defined in:
- lib/v20180608/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.
7689 7690 7691 7692 |
# File 'lib/v20180608/models.rb', line 7689 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
7687 7688 7689 |
# File 'lib/v20180608/models.rb', line 7687 def Key @Key end |
#Value ⇒ Object
7687 7688 7689 |
# File 'lib/v20180608/models.rb', line 7687 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
7694 7695 7696 7697 |
# File 'lib/v20180608/models.rb', line 7694 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |