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