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.
4649 4650 4651 4652 4653 |
# File 'lib/v20170312/models.rb', line 4649 def initialize(hostids=nil, hostchargeprepaid=nil, dryrun=nil) @HostIds = hostids @HostChargePrepaid = hostchargeprepaid @DryRun = dryrun end |
Instance Attribute Details
#DryRun ⇒ Object
4647 4648 4649 |
# File 'lib/v20170312/models.rb', line 4647 def DryRun @DryRun end |
#HostChargePrepaid ⇒ Object
4647 4648 4649 |
# File 'lib/v20170312/models.rb', line 4647 def HostChargePrepaid @HostChargePrepaid end |
#HostIds ⇒ Object
4647 4648 4649 |
# File 'lib/v20170312/models.rb', line 4647 def HostIds @HostIds end |
Instance Method Details
#deserialize(params) ⇒ Object
4655 4656 4657 4658 4659 4660 4661 4662 |
# File 'lib/v20170312/models.rb', line 4655 def deserialize(params) @HostIds = params['HostIds'] unless params['HostChargePrepaid'].nil? @HostChargePrepaid = ChargePrepaid.new @HostChargePrepaid.deserialize(params['HostChargePrepaid']) end @DryRun = params['DryRun'] end |