public class RuleExtraParameter extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RuleExtraParameter() | 
| RuleExtraParameter(RuleExtraParameter 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[] | getChoices()Get 可选参数值。
注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。 | 
| String | getId()Get 参数名,取值有:
 Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;
 StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。 | 
| String | getType()Get 参数值类型。
 CHOICE:参数值只能在 Values 中选择; 
 CUSTOM_NUM:参数值用户自定义,整型类型;
 CUSTOM_STRING:参数值用户自定义,字符串类型。 | 
| void | setChoices(String[] Choices)Set 可选参数值。
注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。 | 
| void | setId(String Id)Set 参数名,取值有:
 Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;
 StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。 | 
| void | setType(String Type)Set 参数值类型。
 CHOICE:参数值只能在 Values 中选择; 
 CUSTOM_NUM:参数值用户自定义,整型类型;
 CUSTOM_STRING:参数值用户自定义,字符串类型。 | 
| 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 RuleExtraParameter()
public RuleExtraParameter(RuleExtraParameter source)
public String getId()
public void setId(String Id)
Id - 参数名,取值有:
public String getType()
public void setType(String Type)
Type - 参数值类型。
public String[] getChoices()
public void setChoices(String[] Choices)
Choices - 可选参数值。
注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。Copyright © 2025. All rights reserved.