public class BotExtendAction extends AbstractModel
header, skipSign
Constructor and Description |
---|
BotExtendAction() |
BotExtendAction(BotExtendAction 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:JavaScript挑战;
captcha:托管挑战;
random:随机,按照ExtendActions分配处置动作和比例;
silence:静默;
shortdelay:短时响应;
longdelay:长时响应。
|
Long |
getPercent()
Get 处置方式的触发概率,范围0-100。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setAction(String Action)
Set 处置动作,取值有:
monitor:观察;
alg:JavaScript挑战;
captcha:托管挑战;
random:随机,按照ExtendActions分配处置动作和比例;
silence:静默;
shortdelay:短时响应;
longdelay:长时响应。
|
void |
setPercent(Long Percent)
Set 处置方式的触发概率,范围0-100。
注意:此字段可能返回 null,表示取不到有效值。
|
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 BotExtendAction()
public BotExtendAction(BotExtendAction source)
public String getAction()
public void setAction(String Action)
Action
- 处置动作,取值有:
public Long getPercent()
public void setPercent(Long Percent)
Percent
- 处置方式的触发概率,范围0-100。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.