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 The action.
|
Long |
getID()
Get The unique ID.
|
String |
getMode()
Get The mode.
|
Long |
getPeriod()
Get The statistical period.
|
Long |
getPunishTime()
Get The blocking duration, in seconds.
|
Long |
getThreshold()
Get The request threshold.
|
void |
setAction(String Action)
Set The action.
|
void |
setID(Long ID)
Set The unique ID.
|
void |
setMode(String Mode)
Set The mode.
|
void |
setPeriod(Long Period)
Set The statistical period.
|
void |
setPunishTime(Long PunishTime)
Set The blocking duration, in seconds.
|
void |
setThreshold(Long Threshold)
Set The request threshold.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public RateLimitTemplateDetail()
public RateLimitTemplateDetail(RateLimitTemplateDetail source)
public String getMode()
public void setMode(String Mode)
Mode
- The mode. Values:
public Long getID()
public void setID(Long ID)
ID
- The unique ID.public String getAction()
public void setAction(String Action)
Action
- The action. Values:
public Long getPunishTime()
public void setPunishTime(Long PunishTime)
PunishTime
- The blocking duration, in seconds. Value range: 0-172800.
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold
- The request threshold. Value range: 0-4294967294.public Long getPeriod()
public void setPeriod(Long Period)
Period
- The statistical period. Value range: 0-120 seconds.Copyright © 2024. All rights reserved.