public class DiskChargePrepaid extends AbstractModel
header, skipSign
Constructor and Description |
---|
DiskChargePrepaid() |
DiskChargePrepaid(DiskChargePrepaid 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 |
---|---|
Long |
getPeriod()
Get Purchase duration.
|
String |
getRenewFlag()
Get Auto-Renewal flag.
|
String |
getTimeUnit()
Get Purchase duration unit.
|
void |
setPeriod(Long Period)
Set Purchase duration.
|
void |
setRenewFlag(String RenewFlag)
Set Auto-Renewal flag.
|
void |
setTimeUnit(String TimeUnit)
Set Purchase duration unit.
|
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 DiskChargePrepaid()
public DiskChargePrepaid(DiskChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period
- Purchase duration.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Auto-Renewal flag. Valid values:
`NOTIFY_AND_AUTO_RENEW`: Trigger expiration notification and renew automatically
`NOTIFY_AND_MANUAL_RENEW`: Trigger expiration notification but do not renew
`u200cDISABLE_NOTIFY_AND_AUTO_RENEW`: Neither trigger expiration notification nor renew
Default: `NOTIFY_AND_MANUAL_RENEW`. If `NOTIFY_AND_AUTO_RENEW` is specified, the instance is automatically renewed on a monthly basis when the account balance is sufficient.public String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Purchase duration unit. Default value: "m" (month)Copyright © 2024. All rights reserved.