public class RenewDisksRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
RenewDisksRequest() |
RenewDisksRequest(RenewDisksRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAutoVoucher()
Get Whether to use the vouchers automatically.
|
String[] |
getDiskIds()
Get IDs of cloud disks.
|
RenewDiskChargePrepaid |
getRenewDiskChargePrepaid()
Get Parameter settings for renewing the monthly subscribed cloud disk.
|
void |
setAutoVoucher(Boolean AutoVoucher)
Set Whether to use the vouchers automatically.
|
void |
setDiskIds(String[] DiskIds)
Set IDs of cloud disks.
|
void |
setRenewDiskChargePrepaid(RenewDiskChargePrepaid RenewDiskChargePrepaid)
Set Parameter settings for renewing the monthly subscribed cloud disk.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RenewDisksRequest()
public RenewDisksRequest(RenewDisksRequest source)
public String[] getDiskIds()
public void setDiskIds(String[] DiskIds)
DiskIds
- IDs of cloud disks. The value can be obtained from the `DiskId` parameter returned by the [DescribeDisks](https://intl.cloud.tencent.com/document/product/1207/66093?from_cn_redirect=1) API. Up to 50 disks can be requested at a time.public RenewDiskChargePrepaid getRenewDiskChargePrepaid()
public void setRenewDiskChargePrepaid(RenewDiskChargePrepaid RenewDiskChargePrepaid)
RenewDiskChargePrepaid
- Parameter settings for renewing the monthly subscribed cloud disk.public Boolean getAutoVoucher()
public void setAutoVoucher(Boolean AutoVoucher)
AutoVoucher
- Whether to use the vouchers automatically. It defaults to No.Copyright © 2024. All rights reserved.