Class: TencentCloud::Scf::V20180416::Variable
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::Variable
- Defined in:
- lib/v20180416/models.rb
Overview
变量参数
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ Variable
constructor
A new instance of Variable.
Constructor Details
#initialize(key = nil, value = nil) ⇒ Variable
Returns a new instance of Variable.
5474 5475 5476 5477 |
# File 'lib/v20180416/models.rb', line 5474 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
5472 5473 5474 |
# File 'lib/v20180416/models.rb', line 5472 def Key @Key end |
#Value ⇒ Object
5472 5473 5474 |
# File 'lib/v20180416/models.rb', line 5472 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
5479 5480 5481 5482 |
# File 'lib/v20180416/models.rb', line 5479 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |