Class: TencentCloud::Batch::V20170312::InstanceMarketOptionsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Batch::V20170312::InstanceMarketOptionsRequest
- Defined in:
- lib/v20170312/models.rb
Overview
竞价请求相关选项
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spotoptions = nil, markettype = nil) ⇒ InstanceMarketOptionsRequest
constructor
A new instance of InstanceMarketOptionsRequest.
Constructor Details
#initialize(spotoptions = nil, markettype = nil) ⇒ InstanceMarketOptionsRequest
2462 2463 2464 2465 |
# File 'lib/v20170312/models.rb', line 2462 def initialize(=nil, markettype=nil) @SpotOptions = @MarketType = markettype end |
Instance Attribute Details
#MarketType ⇒ Object
2460 2461 2462 |
# File 'lib/v20170312/models.rb', line 2460 def MarketType @MarketType end |
#SpotOptions ⇒ Object
2460 2461 2462 |
# File 'lib/v20170312/models.rb', line 2460 def SpotOptions @SpotOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
2467 2468 2469 2470 2471 2472 2473 |
# File 'lib/v20170312/models.rb', line 2467 def deserialize(params) unless params['SpotOptions'].nil? @SpotOptions = SpotMarketOptions.new @SpotOptions.deserialize(params['SpotOptions']) end @MarketType = params['MarketType'] end |