Class: TencentCloud::As::V20180419::SpotMarketOptions
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::As::V20180419::SpotMarketOptions
- Defined in:
- lib/v20180419/models.rb
Overview
竞价相关选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(maxprice = nil, spotinstancetype = nil) ⇒ SpotMarketOptions
constructor
A new instance of SpotMarketOptions.
Constructor Details
#initialize(maxprice = nil, spotinstancetype = nil) ⇒ SpotMarketOptions
Returns a new instance of SpotMarketOptions.
5519 5520 5521 5522 |
# File 'lib/v20180419/models.rb', line 5519 def initialize(maxprice=nil, spotinstancetype=nil) @MaxPrice = maxprice @SpotInstanceType = spotinstancetype end |
Instance Attribute Details
#MaxPrice ⇒ Object
5517 5518 5519 |
# File 'lib/v20180419/models.rb', line 5517 def MaxPrice @MaxPrice end |
#SpotInstanceType ⇒ Object
5517 5518 5519 |
# File 'lib/v20180419/models.rb', line 5517 def SpotInstanceType @SpotInstanceType end |
Instance Method Details
#deserialize(params) ⇒ Object
5524 5525 5526 5527 |
# File 'lib/v20180419/models.rb', line 5524 def deserialize(params) @MaxPrice = params['MaxPrice'] @SpotInstanceType = params['SpotInstanceType'] end |