public class InstanceChargePrepaid extends AbstractModel
header, skipSign
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 时长,默认值:1
|
String |
getRenewFlag()
Get 续费标志可选参数:
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
NOTIFY_AND_AUTO_RENEW:表示自动续费
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
默认值:NOTIFY_AND_MANUAL_RENEW
|
String |
getTimeUnit()
Get 时长单位,默认值MONTH
|
void |
setPeriod(Long Period)
Set 时长,默认值:1
|
void |
setRenewFlag(String RenewFlag)
Set 续费标志可选参数:
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
NOTIFY_AND_AUTO_RENEW:表示自动续费
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
默认值:NOTIFY_AND_MANUAL_RENEW
|
void |
setTimeUnit(String TimeUnit)
Set 时长单位,默认值MONTH
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public InstanceChargePrepaid()
public InstanceChargePrepaid(InstanceChargePrepaid source)
public Long getPeriod()
public void setPeriod(Long Period)
Period
- 时长,默认值:1public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- 续费标志可选参数:
NOTIFY_AND_MANUAL_RENEW:表示默认状态(用户未设置,即初始状态:若用户有预付费不停服特权,也会对该值进行自动续费)
NOTIFY_AND_AUTO_RENEW:表示自动续费
DISABLE_NOTIFY_AND_MANUAL_RENEW:表示明确不自动续费(用户设置)
默认值:NOTIFY_AND_MANUAL_RENEWpublic String getTimeUnit()
public void setTimeUnit(String TimeUnit)
TimeUnit
- 时长单位,默认值MONTHCopyright © 2025. All rights reserved.