Class: TencentCloud::Sts::V20180813::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sts::V20180813::Tag
- Defined in:
- lib/v20180813/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.
508 509 510 511 |
# File 'lib/v20180813/models.rb', line 508 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
506 507 508 |
# File 'lib/v20180813/models.rb', line 506 def Key @Key end |
#Value ⇒ Object
506 507 508 |
# File 'lib/v20180813/models.rb', line 506 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
513 514 515 516 |
# File 'lib/v20180813/models.rb', line 513 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |