public class RateLimitTemplateDetail extends AbstractModel
header, skipSign| Constructor and Description |
|---|
RateLimitTemplateDetail() |
RateLimitTemplateDetail(RateLimitTemplateDetail 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 |
|---|---|
String |
getAction()
Get Template action.
|
Long |
getID()
Get Unique ID.
|
String |
getMode()
Get Template level name.
|
Long |
getPeriod()
Get Statistical cycle.
|
Long |
getPunishTime()
Get Penalty time, value range 0-2 days, unit second.
|
Long |
getThreshold()
Get Statistical threshold, in times.
|
void |
setAction(String Action)
Set Template action.
|
void |
setID(Long ID)
Set Unique ID.
|
void |
setMode(String Mode)
Set Template level name.
|
void |
setPeriod(Long Period)
Set Statistical cycle.
|
void |
setPunishTime(Long PunishTime)
Set Penalty time, value range 0-2 days, unit second.
|
void |
setThreshold(Long Threshold)
Set Statistical threshold, in times.
|
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, toJsonStringpublic RateLimitTemplateDetail()
public RateLimitTemplateDetail(RateLimitTemplateDetail source)
public String getMode()
public void setMode(String Mode)
Mode - Template level name. valid values:.
public Long getID()
public void setID(Long ID)
ID - Unique ID.public String getAction()
public void setAction(String Action)
Action - Template action. valid values:.
public Long getPunishTime()
public void setPunishTime(Long PunishTime)
PunishTime - Penalty time, value range 0-2 days, unit second.public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - Statistical threshold, in times. Value range: 0-4294967294.public Long getPeriod()
public void setPeriod(Long Period)
Period - Statistical cycle. Value range: 0-120 seconds.Copyright © 2025. All rights reserved.