public class DiskChargePrepaid extends AbstractModel
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 Whether Auto-Renewal is enabled
|
String |
getTimeUnit()
Get Purchase duration unit.
|
void |
setPeriod(Long Period)
Set Purchase duration.
|
void |
setRenewFlag(String RenewFlag)
Set Whether Auto-Renewal is enabled
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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
- Whether Auto-Renewal is enabledpublic String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- Purchase duration unit. Default value: "m" (month)Copyright © 2023. All rights reserved.