Class RenewDisksRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.RenewDisksRequest
-
public class RenewDisksRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetAutoVoucher()Get 是否自动使用代金券。默认不使用。String[]getDiskIds()Get 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。RenewDiskChargePrepaidgetRenewDiskChargePrepaid()Get 续费云硬盘包年包月相关参数设置。voidsetAutoVoucher(Boolean AutoVoucher)Set 是否自动使用代金券。默认不使用。voidsetDiskIds(String[] DiskIds)Set 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。voidsetRenewDiskChargePrepaid(RenewDiskChargePrepaid RenewDiskChargePrepaid)Set 续费云硬盘包年包月相关参数设置。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
RenewDisksRequest
public RenewDisksRequest()
-
RenewDisksRequest
public 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.
-
-
Method Detail
-
getDiskIds
public String[] getDiskIds()
Get 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。- Returns:
- DiskIds 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。
-
setDiskIds
public void setDiskIds(String[] DiskIds)
Set 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。- Parameters:
DiskIds- 云硬盘ID列表。一个或多个待操作的云硬盘ID。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。每次请求续费数据盘数量总计上限为50。
-
getRenewDiskChargePrepaid
public RenewDiskChargePrepaid getRenewDiskChargePrepaid()
Get 续费云硬盘包年包月相关参数设置。- Returns:
- RenewDiskChargePrepaid 续费云硬盘包年包月相关参数设置。
-
setRenewDiskChargePrepaid
public void setRenewDiskChargePrepaid(RenewDiskChargePrepaid RenewDiskChargePrepaid)
Set 续费云硬盘包年包月相关参数设置。- Parameters:
RenewDiskChargePrepaid- 续费云硬盘包年包月相关参数设置。
-
getAutoVoucher
public Boolean getAutoVoucher()
Get 是否自动使用代金券。默认不使用。- Returns:
- AutoVoucher 是否自动使用代金券。默认不使用。
-
setAutoVoucher
public void setAutoVoucher(Boolean AutoVoucher)
Set 是否自动使用代金券。默认不使用。- Parameters:
AutoVoucher- 是否自动使用代金券。默认不使用。
-
-