public class RequestHeader extends AbstractModel
| Constructor and Description | 
|---|
| RequestHeader() | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpHeaderPathRule[] | getHeaderRules()Get Custom request header configuration rules
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getSwitch()Get Custom request header configuration switch
on: enabled
off: disabled | 
| void | setHeaderRules(HttpHeaderPathRule[] HeaderRules)Set Custom request header configuration rules
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setSwitch(String Switch)Set Custom request header configuration switch
on: enabled
off: disabled | 
| 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, toJsonStringpublic String getSwitch()
public void setSwitch(String Switch)
Switch - Custom request header configuration switch
on: enabled
off: disabledpublic HttpHeaderPathRule[] getHeaderRules()
public void setHeaderRules(HttpHeaderPathRule[] HeaderRules)
HeaderRules - Custom request header configuration rules
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.