public class DiskChargePrepaid extends AbstractModel
Constructor and Description |
---|
DiskChargePrepaid() |
Modifier and Type | Method and Description |
---|---|
String |
getCurInstanceDeadline()
Get This parameter is used when you align the expiration time of the cloud disk with that of the mounted server.
|
Long |
getPeriod()
Get The purchased usage period of a cloud disk (in months).
|
String |
getRenewFlag()
Get Auto Renewal flag.
|
void |
setCurInstanceDeadline(String CurInstanceDeadline)
Set This parameter is used when you align the expiration time of the cloud disk with that of the mounted server.
|
void |
setPeriod(Long Period)
Set The purchased usage period of a cloud disk (in months).
|
void |
setRenewFlag(String RenewFlag)
Set Auto Renewal flag.
|
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 Long getPeriod()
public void setPeriod(Long Period)
Period
- The purchased usage period of a cloud disk (in months). Value range: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Auto Renewal flag. Value range: public String getCurInstanceDeadline()
public void setCurInstanceDeadline(String CurInstanceDeadline)
CurInstanceDeadline
- This parameter is used when you align the expiration time of the cloud disk with that of the mounted server. It is the current expiration time of the server. In this case, the Period passed represents the renewal period of the server, and the cloud disk will be automatically renewed in alignment with the expiration time of the renewed server. Example value: 2018-03-30 20:15:03.Copyright © 2020. All rights reserved.