Class: TencentCloud::Scf::V20180416::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::Tag
- Defined in:
- lib/v20180416/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.
4564 4565 4566 4567 |
# File 'lib/v20180416/models.rb', line 4564 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
4562 4563 4564 |
# File 'lib/v20180416/models.rb', line 4562 def Key @Key end |
#Value ⇒ Object
4562 4563 4564 |
# File 'lib/v20180416/models.rb', line 4562 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
4569 4570 4571 4572 |
# File 'lib/v20180416/models.rb', line 4569 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |