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.
9085 9086 9087 9088 9089 9090 9091 9092 9093 |
# File 'lib/v20170320/models.rb', line 9085 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
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def Cpu @Cpu end |
#DeviceType ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def DeviceType @DeviceType end |
#InstanceId ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def InstanceId @InstanceId end |
#InstanceNodes ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def InstanceNodes @InstanceNodes end |
#Memory ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def Memory @Memory end |
#ProtectMode ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def ProtectMode @ProtectMode end |
#Volume ⇒ Object
9083 9084 9085 |
# File 'lib/v20170320/models.rb', line 9083 def Volume @Volume end |
Instance Method Details
#deserialize(params) ⇒ Object
9095 9096 9097 9098 9099 9100 9101 9102 9103 |
# File 'lib/v20170320/models.rb', line 9095 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 |