Class: TencentCloud::Dbdc::V20201029::ResourceTag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbdc::V20201029::ResourceTag
- Defined in:
- lib/v20201029/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.
1078 1079 1080 1081 |
# File 'lib/v20201029/models.rb', line 1078 def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end |
Instance Attribute Details
#TagKey ⇒ Object
1076 1077 1078 |
# File 'lib/v20201029/models.rb', line 1076 def TagKey @TagKey end |
#TagValue ⇒ Object
1076 1077 1078 |
# File 'lib/v20201029/models.rb', line 1076 def TagValue @TagValue end |
Instance Method Details
#deserialize(params) ⇒ Object
1083 1084 1085 1086 |
# File 'lib/v20201029/models.rb', line 1083 def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end |