Class: TencentCloud::Dcdb::V20180411::ResourceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dcdb::V20180411::ResourceTag
- Defined in:
- lib/v20180411/models.rb
Overview
标签对象,包含tagKey & tagValue
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(tagkey = nil, tagvalue = nil) ⇒ ResourceTag
constructor
A new instance of ResourceTag.
Constructor Details
#initialize(tagkey = nil, tagvalue = nil) ⇒ ResourceTag
Returns a new instance of ResourceTag.
5795 5796 5797 5798 |
# File 'lib/v20180411/models.rb', line 5795 def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end |
Instance Attribute Details
#TagKey ⇒ Object
5793 5794 5795 |
# File 'lib/v20180411/models.rb', line 5793 def TagKey @TagKey end |
#TagValue ⇒ Object
5793 5794 5795 |
# File 'lib/v20180411/models.rb', line 5793 def TagValue @TagValue end |
Instance Method Details
#deserialize(params) ⇒ Object
5800 5801 5802 5803 |
# File 'lib/v20180411/models.rb', line 5800 def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end |