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.
6113 6114 6115 6116 |
# File 'lib/v20180411/models.rb', line 6113 def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end |
Instance Attribute Details
#TagKey ⇒ Object
6111 6112 6113 |
# File 'lib/v20180411/models.rb', line 6111 def TagKey @TagKey end |
#TagValue ⇒ Object
6111 6112 6113 |
# File 'lib/v20180411/models.rb', line 6111 def TagValue @TagValue end |
Instance Method Details
#deserialize(params) ⇒ Object
6118 6119 6120 6121 |
# File 'lib/v20180411/models.rb', line 6118 def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end |