Class: TencentCloud::Ccc::V20200210::Variable
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ccc::V20200210::Variable
- Defined in:
- lib/v20200210/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.
7624 7625 7626 7627 |
# File 'lib/v20200210/models.rb', line 7624 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
7622 7623 7624 |
# File 'lib/v20200210/models.rb', line 7622 def Key @Key end |
#Value ⇒ Object
7622 7623 7624 |
# File 'lib/v20200210/models.rb', line 7622 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
7629 7630 7631 7632 |
# File 'lib/v20200210/models.rb', line 7629 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |