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
-
#MarketType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SpotOptions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
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.
5298 5299 5300 5301 |
# File 'lib/v20170312/models.rb', line 5298 def initialize(=nil, markettype=nil) @SpotOptions = @MarketType = markettype end |
Instance Attribute Details
#MarketType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5296 5297 5298 |
# File 'lib/v20170312/models.rb', line 5296 def MarketType @MarketType end |
#SpotOptions ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
5296 5297 5298 |
# File 'lib/v20170312/models.rb', line 5296 def SpotOptions @SpotOptions end |
Instance Method Details
#deserialize(params) ⇒ Object
5303 5304 5305 5306 5307 5308 5309 |
# File 'lib/v20170312/models.rb', line 5303 def deserialize(params) unless params['SpotOptions'].nil? @SpotOptions = SpotMarketOptions.new @SpotOptions.deserialize(params['SpotOptions']) end @MarketType = params['MarketType'] end |