Class: TencentCloud::Cdb::V20170320::InquiryPriceUpgradeInstancesRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::InquiryPriceUpgradeInstancesRequest
- Defined in:
- lib/v20170320/models.rb
Overview
InquiryPriceUpgradeInstances请求参数结构体
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DeviceType ⇒ Object
- #InstanceId ⇒ Object
- #InstanceNodes ⇒ Object
- #Memory ⇒ Object
- #ProtectMode ⇒ Object
- #Volume ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, memory = nil, volume = nil, cpu = nil, protectmode = nil, devicetype = nil, instancenodes = nil) ⇒ InquiryPriceUpgradeInstancesRequest
constructor
A new instance of InquiryPriceUpgradeInstancesRequest.
Constructor Details
#initialize(instanceid = nil, memory = nil, volume = nil, cpu = nil, protectmode = nil, devicetype = nil, instancenodes = nil) ⇒ InquiryPriceUpgradeInstancesRequest
Returns a new instance of InquiryPriceUpgradeInstancesRequest.
9238 9239 9240 9241 9242 9243 9244 9245 9246 |
# File 'lib/v20170320/models.rb', line 9238 def initialize(instanceid=nil, memory=nil, volume=nil, cpu=nil, protectmode=nil, devicetype=nil, instancenodes=nil) @InstanceId = instanceid @Memory = memory @Volume = volume @Cpu = cpu @ProtectMode = protectmode @DeviceType = devicetype @InstanceNodes = instancenodes end |
Instance Attribute Details
#Cpu ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def Cpu @Cpu end |
#DeviceType ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def DeviceType @DeviceType end |
#InstanceId ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def InstanceId @InstanceId end |
#InstanceNodes ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def InstanceNodes @InstanceNodes end |
#Memory ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def Memory @Memory end |
#ProtectMode ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def ProtectMode @ProtectMode end |
#Volume ⇒ Object
9236 9237 9238 |
# File 'lib/v20170320/models.rb', line 9236 def Volume @Volume end |
Instance Method Details
#deserialize(params) ⇒ Object
9248 9249 9250 9251 9252 9253 9254 9255 9256 |
# File 'lib/v20170320/models.rb', line 9248 def deserialize(params) @InstanceId = params['InstanceId'] @Memory = params['Memory'] @Volume = params['Volume'] @Cpu = params['Cpu'] @ProtectMode = params['ProtectMode'] @DeviceType = params['DeviceType'] @InstanceNodes = params['InstanceNodes'] end |