Class: TencentCloud::Cvm::V20170312::InstanceMarketOptionsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::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
Returns a new instance of InstanceMarketOptionsRequest.
5494 5495 5496 5497 |
# File 'lib/v20170312/models.rb', line 5494 def initialize(=nil, markettype=nil) @SpotOptions = @MarketType = markettype end |
Instance Attribute Details
#MarketType ⇒ Object
5492 5493 5494 |
# File 'lib/v20170312/models.rb', line 5492 def MarketType @MarketType end |
#SpotOptions ⇒ Object
5492 5493 5494 |
# File 'lib/v20170312/models.rb', line 5492 def SpotOptions @SpotOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
5499 5500 5501 5502 5503 5504 5505 |
# File 'lib/v20170312/models.rb', line 5499 def deserialize(params) unless params['SpotOptions'].nil? @SpotOptions = SpotMarketOptions.new @SpotOptions.deserialize(params['SpotOptions']) end @MarketType = params['MarketType'] end |