Class: TencentCloud::Apigateway::V20180808::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Apigateway::V20180808::Tag
- Defined in:
- lib/v20180808/models.rb
Overview
API绑定的标签信息。
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.
9043 9044 9045 9046 |
# File 'lib/v20180808/models.rb', line 9043 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
9041 9042 9043 |
# File 'lib/v20180808/models.rb', line 9041 def Key @Key end |
#Value ⇒ Object
9041 9042 9043 |
# File 'lib/v20180808/models.rb', line 9041 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9048 9049 9050 9051 |
# File 'lib/v20180808/models.rb', line 9048 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |