public class ClientIp extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ClientIp() | 
| ClientIp(ClientIp 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 | getHeaderName()Get Name of the origin-pull client IP request header
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| String | getSwitch()Get Specifies whether to enable client IP header
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setHeaderName(String HeaderName)Set Name of the origin-pull client IP request header
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| void | setSwitch(String Switch)Set Specifies whether to enable client IP header
Note: This field may return `null`, indicating that no valid value can be obtained. | 
| 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 ClientIp()
public ClientIp(ClientIp source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Specifies whether to enable client IP header
Note: This field may return `null`, indicating that no valid value can be obtained.public String getHeaderName()
public void setHeaderName(String HeaderName)
HeaderName - Name of the origin-pull client IP request header
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.