Class: TencentCloud::Cbs::V20170312::InquiryPriceCreateDisksRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cbs::V20170312::InquiryPriceCreateDisksRequest
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceCreateDisks请求参数结构体
Instance Attribute Summary collapse
- #DiskBackupQuota ⇒ Object
- #DiskChargePrepaid ⇒ Object
- #DiskChargeType ⇒ Object
- #DiskCount ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #ProjectId ⇒ Object
- #ThroughputPerformance ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(diskchargetype = nil, disktype = nil, disksize = nil, projectid = nil, diskcount = nil, throughputperformance = nil, diskchargeprepaid = nil, diskbackupquota = nil) ⇒ InquiryPriceCreateDisksRequest
constructor
A new instance of InquiryPriceCreateDisksRequest.
Constructor Details
#initialize(diskchargetype = nil, disktype = nil, disksize = nil, projectid = nil, diskcount = nil, throughputperformance = nil, diskchargeprepaid = nil, diskbackupquota = nil) ⇒ InquiryPriceCreateDisksRequest
Returns a new instance of InquiryPriceCreateDisksRequest.
2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 |
# File 'lib/v20170312/models.rb', line 2442 def initialize(diskchargetype=nil, disktype=nil, disksize=nil, projectid=nil, diskcount=nil, throughputperformance=nil, diskchargeprepaid=nil, diskbackupquota=nil) @DiskChargeType = diskchargetype @DiskType = disktype @DiskSize = disksize @ProjectId = projectid @DiskCount = diskcount @ThroughputPerformance = throughputperformance @DiskChargePrepaid = diskchargeprepaid @DiskBackupQuota = diskbackupquota end |
Instance Attribute Details
#DiskBackupQuota ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskBackupQuota @DiskBackupQuota end |
#DiskChargePrepaid ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskChargePrepaid @DiskChargePrepaid end |
#DiskChargeType ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskChargeType @DiskChargeType end |
#DiskCount ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskCount @DiskCount end |
#DiskSize ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskSize @DiskSize end |
#DiskType ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def DiskType @DiskType end |
#ProjectId ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def ProjectId @ProjectId end |
#ThroughputPerformance ⇒ Object
2440 2441 2442 |
# File 'lib/v20170312/models.rb', line 2440 def ThroughputPerformance @ThroughputPerformance end |
Instance Method Details
#deserialize(params) ⇒ Object
2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 |
# File 'lib/v20170312/models.rb', line 2453 def deserialize(params) @DiskChargeType = params['DiskChargeType'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @ProjectId = params['ProjectId'] @DiskCount = params['DiskCount'] @ThroughputPerformance = params['ThroughputPerformance'] unless params['DiskChargePrepaid'].nil? @DiskChargePrepaid = DiskChargePrepaid.new @DiskChargePrepaid.deserialize(params['DiskChargePrepaid']) end @DiskBackupQuota = params['DiskBackupQuota'] end |