Class: TencentCloud::Batch::V20170312::Tag
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::Tag
- Defined in:
- lib/v20170312/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.
3652 3653 3654 3655 |
# File 'lib/v20170312/models.rb', line 3652 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
3650 3651 3652 |
# File 'lib/v20170312/models.rb', line 3650 def Key @Key end |
#Value ⇒ Object
3650 3651 3652 |
# File 'lib/v20170312/models.rb', line 3650 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
3657 3658 3659 3660 |
# File 'lib/v20170312/models.rb', line 3657 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |