public class RateLimitIntelligence extends AbstractModel
Constructor and Description |
---|
RateLimitIntelligence() |
RateLimitIntelligence(RateLimitIntelligence 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 执行动作,取值有:
monitor:观察;
alg:挑战。
|
Long |
getRuleId()
Get 规则id,仅出参使用。
|
String |
getSwitch()
Get 功能开关,取值有:
on:开启;
off:关闭。
|
void |
setAction(String Action)
Set 执行动作,取值有:
monitor:观察;
alg:挑战。
|
void |
setRuleId(Long RuleId)
Set 规则id,仅出参使用。
|
void |
setSwitch(String Switch)
Set 功能开关,取值有:
on:开启;
off:关闭。
|
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 RateLimitIntelligence()
public RateLimitIntelligence(RateLimitIntelligence source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 功能开关,取值有:
public String getAction()
public void setAction(String Action)
Action
- 执行动作,取值有:
public Long getRuleId()
public void setRuleId(Long RuleId)
RuleId
- 规则id,仅出参使用。Copyright © 2022. All rights reserved.