public class Quota extends AbstractModel
Constructor and Description |
---|
Quota() |
Quota(Quota 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 |
getBatch()
Get 单次批量提交配额上限。
|
Long |
getDaily()
Get 每日提交配额上限。
|
Long |
getDailyAvailable()
Get 每日剩余的可提交配额。
|
String |
getType()
Get 配额类型,取值有:
purge_prefix:前缀;
purge_url:URL;
purge_host:Hostname;
purge_all:全部缓存内容。
|
void |
setBatch(Long Batch)
Set 单次批量提交配额上限。
|
void |
setDaily(Long Daily)
Set 每日提交配额上限。
|
void |
setDailyAvailable(Long DailyAvailable)
Set 每日剩余的可提交配额。
|
void |
setType(String Type)
Set 配额类型,取值有:
purge_prefix:前缀;
purge_url:URL;
purge_host:Hostname;
purge_all:全部缓存内容。
|
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 Quota()
public Quota(Quota source)
public Long getBatch()
public void setBatch(Long Batch)
Batch
- 单次批量提交配额上限。public Long getDaily()
public void setDaily(Long Daily)
Daily
- 每日提交配额上限。public Long getDailyAvailable()
public void setDailyAvailable(Long DailyAvailable)
DailyAvailable
- 每日剩余的可提交配额。public String getType()
public void setType(String Type)
Type
- 配额类型,取值有:
Copyright © 2022. All rights reserved.