Class: TencentCloud::Cvm::V20170312::InquiryPriceResetInstanceRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquiryPriceResetInstanceRequest
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceResetInstance请求参数结构体
Instance Attribute Summary collapse
- #EnhancedService ⇒ Object
- #ImageId ⇒ Object
- #InstanceId ⇒ Object
- #LoginSettings ⇒ Object
- #SystemDisk ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, imageid = nil, systemdisk = nil, loginsettings = nil, enhancedservice = nil) ⇒ InquiryPriceResetInstanceRequest
constructor
A new instance of InquiryPriceResetInstanceRequest.
Constructor Details
#initialize(instanceid = nil, imageid = nil, systemdisk = nil, loginsettings = nil, enhancedservice = nil) ⇒ InquiryPriceResetInstanceRequest
Returns a new instance of InquiryPriceResetInstanceRequest.
4619 4620 4621 4622 4623 4624 4625 |
# File 'lib/v20170312/models.rb', line 4619 def initialize(instanceid=nil, imageid=nil, systemdisk=nil, loginsettings=nil, enhancedservice=nil) @InstanceId = instanceid @ImageId = imageid @SystemDisk = systemdisk @LoginSettings = loginsettings @EnhancedService = enhancedservice end |
Instance Attribute Details
#EnhancedService ⇒ Object
4617 4618 4619 |
# File 'lib/v20170312/models.rb', line 4617 def EnhancedService @EnhancedService end |
#ImageId ⇒ Object
4617 4618 4619 |
# File 'lib/v20170312/models.rb', line 4617 def ImageId @ImageId end |
#InstanceId ⇒ Object
4617 4618 4619 |
# File 'lib/v20170312/models.rb', line 4617 def InstanceId @InstanceId end |
#LoginSettings ⇒ Object
4617 4618 4619 |
# File 'lib/v20170312/models.rb', line 4617 def LoginSettings @LoginSettings end |
#SystemDisk ⇒ Object
4617 4618 4619 |
# File 'lib/v20170312/models.rb', line 4617 def SystemDisk @SystemDisk end |
Instance Method Details
#deserialize(params) ⇒ Object
4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 |
# File 'lib/v20170312/models.rb', line 4627 def deserialize(params) @InstanceId = params['InstanceId'] @ImageId = params['ImageId'] unless params['SystemDisk'].nil? @SystemDisk = SystemDisk.new @SystemDisk.deserialize(params['SystemDisk']) end unless params['LoginSettings'].nil? @LoginSettings = LoginSettings.new @LoginSettings.deserialize(params['LoginSettings']) end unless params['EnhancedService'].nil? @EnhancedService = EnhancedService.new @EnhancedService.deserialize(params['EnhancedService']) end end |