Class: TencentCloud::Cvm::V20170312::InquiryPriceRenewHostsRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::InquiryPriceRenewHostsRequest
- Defined in:
- lib/v20170312/models.rb
Overview
InquiryPriceRenewHosts请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hostids = nil, hostchargeprepaid = nil, dryrun = nil) ⇒ InquiryPriceRenewHostsRequest
constructor
A new instance of InquiryPriceRenewHostsRequest.
Constructor Details
#initialize(hostids = nil, hostchargeprepaid = nil, dryrun = nil) ⇒ InquiryPriceRenewHostsRequest
Returns a new instance of InquiryPriceRenewHostsRequest.
4511 4512 4513 4514 4515 |
# File 'lib/v20170312/models.rb', line 4511 def initialize(hostids=nil, hostchargeprepaid=nil, dryrun=nil) @HostIds = hostids @HostChargePrepaid = hostchargeprepaid @DryRun = dryrun end |
Instance Attribute Details
#DryRun ⇒ Object
4509 4510 4511 |
# File 'lib/v20170312/models.rb', line 4509 def DryRun @DryRun end |
#HostChargePrepaid ⇒ Object
4509 4510 4511 |
# File 'lib/v20170312/models.rb', line 4509 def HostChargePrepaid @HostChargePrepaid end |
#HostIds ⇒ Object
4509 4510 4511 |
# File 'lib/v20170312/models.rb', line 4509 def HostIds @HostIds end |
Instance Method Details
#deserialize(params) ⇒ Object
4517 4518 4519 4520 4521 4522 4523 4524 |
# File 'lib/v20170312/models.rb', line 4517 def deserialize(params) @HostIds = params['HostIds'] unless params['HostChargePrepaid'].nil? @HostChargePrepaid = ChargePrepaid.new @HostChargePrepaid.deserialize(params['HostChargePrepaid']) end @DryRun = params['DryRun'] end |