public class HeaderKey extends AbstractModel
header, skipSign| Constructor and Description |
|---|
HeaderKey() |
HeaderKey(HeaderKey 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 |
getSwitch()
Get Whether to enable Cachekey control.
|
String |
getValue()
Get Array of headers that make up the `CacheKey` (separated by ';')
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Whether to enable Cachekey control.
|
void |
setValue(String Value)
Set Array of headers that make up the `CacheKey` (separated by ';')
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 HeaderKey()
public HeaderKey(HeaderKey source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable Cachekey control. Values:
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid values can be obtained.public String getValue()
public void setValue(String Value)
Value - Array of headers that make up the `CacheKey` (separated by ';')
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2025. All rights reserved.