Class: TencentCloud::Eb::V20210416::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Eb::V20210416::Tag
- Defined in:
- lib/v20210416/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.
2286 2287 2288 2289 |
# File 'lib/v20210416/models.rb', line 2286 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
2284 2285 2286 |
# File 'lib/v20210416/models.rb', line 2284 def Key @Key end |
#Value ⇒ Object
2284 2285 2286 |
# File 'lib/v20210416/models.rb', line 2284 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2291 2292 2293 2294 |
# File 'lib/v20210416/models.rb', line 2291 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |