public class InstanceChargePrepaid extends AbstractModel
Constructor and Description |
---|
InstanceChargePrepaid() |
InstanceChargePrepaid(InstanceChargePrepaid 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 The period of monthly subscription, which defaults to 1 and is expressed in month.
|
Boolean |
getRenewFlag()
Get Whether to enable auto-renewal.
|
void |
setPeriod(Long Period)
Set The period of monthly subscription, which defaults to 1 and is expressed in month.
|
void |
setRenewFlag(Boolean RenewFlag)
Set Whether to enable auto-renewal.
|
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 InstanceChargePrepaid()
public InstanceChargePrepaid(InstanceChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period
- The period of monthly subscription, which defaults to 1 and is expressed in month.
Valid values: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60.public Boolean getRenewFlag()
public void setRenewFlag(Boolean RenewFlag)
RenewFlag
- Whether to enable auto-renewal. Valid values:
Copyright © 2023. All rights reserved.