Class: TencentCloud::Cvm::V20170312::SpotMarketOptions
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::SpotMarketOptions
- Defined in:
- lib/v20170312/models.rb
Overview
竞价相关选项
Instance Attribute Summary collapse
-
#MaxPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#SpotInstanceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
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.
8376 8377 8378 8379 |
# File 'lib/v20170312/models.rb', line 8376 def initialize(maxprice=nil, spotinstancetype=nil) @MaxPrice = maxprice @SpotInstanceType = spotinstancetype end |
Instance Attribute Details
#MaxPrice ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
8374 8375 8376 |
# File 'lib/v20170312/models.rb', line 8374 def MaxPrice @MaxPrice end |
#SpotInstanceType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
8374 8375 8376 |
# File 'lib/v20170312/models.rb', line 8374 def SpotInstanceType @SpotInstanceType end |
Instance Method Details
#deserialize(params) ⇒ Object
8381 8382 8383 8384 |
# File 'lib/v20170312/models.rb', line 8381 def deserialize(params) @MaxPrice = params['MaxPrice'] @SpotInstanceType = params['SpotInstanceType'] end |