Class: TencentCloud::Batch::V20170312::EventVar
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::EventVar
- Defined in:
- lib/v20170312/models.rb
Overview
自定义键值对
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil) ⇒ EventVar
constructor
A new instance of EventVar.
Constructor Details
#initialize(name = nil, value = nil) ⇒ EventVar
Returns a new instance of EventVar.
2309 2310 2311 2312 |
# File 'lib/v20170312/models.rb', line 2309 def initialize(name=nil, value=nil) @Name = name @Value = value end |
Instance Attribute Details
#Name ⇒ Object
2307 2308 2309 |
# File 'lib/v20170312/models.rb', line 2307 def Name @Name end |
#Value ⇒ Object
2307 2308 2309 |
# File 'lib/v20170312/models.rb', line 2307 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
2314 2315 2316 2317 |
# File 'lib/v20170312/models.rb', line 2314 def deserialize(params) @Name = params['Name'] @Value = params['Value'] end |