Class: TencentCloud::Bm::V20180423::CreateSpotDeviceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bm::V20180423::CreateSpotDeviceRequest
- Defined in:
- lib/v20180423/models.rb
Overview
CreateSpotDevice请求参数结构体
Instance Attribute Summary collapse
- #ComputeType ⇒ Object
- #GoodsNum ⇒ Object
- #OsTypeId ⇒ Object
- #Passwd ⇒ Object
- #SpotPriceLimit ⇒ Object
- #SpotStrategy ⇒ Object
- #SubnetId ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, computetype = nil, ostypeid = nil, vpcid = nil, subnetid = nil, goodsnum = nil, spotstrategy = nil, spotpricelimit = nil, passwd = nil) ⇒ CreateSpotDeviceRequest
constructor
A new instance of CreateSpotDeviceRequest.
Constructor Details
#initialize(zone = nil, computetype = nil, ostypeid = nil, vpcid = nil, subnetid = nil, goodsnum = nil, spotstrategy = nil, spotpricelimit = nil, passwd = nil) ⇒ CreateSpotDeviceRequest
Returns a new instance of CreateSpotDeviceRequest.
443 444 445 446 447 448 449 450 451 452 453 |
# File 'lib/v20180423/models.rb', line 443 def initialize(zone=nil, computetype=nil, ostypeid=nil, vpcid=nil, subnetid=nil, goodsnum=nil, spotstrategy=nil, spotpricelimit=nil, passwd=nil) @Zone = zone @ComputeType = computetype @OsTypeId = ostypeid @VpcId = vpcid @SubnetId = subnetid @GoodsNum = goodsnum @SpotStrategy = spotstrategy @SpotPriceLimit = spotpricelimit @Passwd = passwd end |
Instance Attribute Details
#ComputeType ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def ComputeType @ComputeType end |
#GoodsNum ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def GoodsNum @GoodsNum end |
#OsTypeId ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def OsTypeId @OsTypeId end |
#Passwd ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def Passwd @Passwd end |
#SpotPriceLimit ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def SpotPriceLimit @SpotPriceLimit end |
#SpotStrategy ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def SpotStrategy @SpotStrategy end |
#SubnetId ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def SubnetId @SubnetId end |
#VpcId ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def VpcId @VpcId end |
#Zone ⇒ Object
441 442 443 |
# File 'lib/v20180423/models.rb', line 441 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
455 456 457 458 459 460 461 462 463 464 465 |
# File 'lib/v20180423/models.rb', line 455 def deserialize(params) @Zone = params['Zone'] @ComputeType = params['ComputeType'] @OsTypeId = params['OsTypeId'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @GoodsNum = params['GoodsNum'] @SpotStrategy = params['SpotStrategy'] @SpotPriceLimit = params['SpotPriceLimit'] @Passwd = params['Passwd'] end |