public class ClientIPCountryParameters extends AbstractModel
header, skipSign
Constructor and Description |
---|
ClientIPCountryParameters() |
ClientIPCountryParameters(ClientIPCountryParameters 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 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。
|
String |
getSwitch()
Get 配置开关,取值有:
on:开启;
off:关闭。
|
void |
setHeaderName(String HeaderName)
Set 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。
|
void |
setSwitch(String Switch)
Set 配置开关,取值有:
on:开启;
off:关闭。
|
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 ClientIPCountryParameters()
public ClientIPCountryParameters(ClientIPCountryParameters source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 配置开关,取值有:
public String getHeaderName()
public void setHeaderName(String HeaderName)
HeaderName
- 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。Copyright © 2025. All rights reserved.