public class CacheConfigFollowOrigin extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheConfigFollowOrigin() |
CacheConfigFollowOrigin(CacheConfigFollowOrigin 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 |
---|---|
HeuristicCache |
getHeuristicCache()
Get Heuristic cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSwitch()
Get Whether to follow the origin configuration for path cache.
|
void |
setHeuristicCache(HeuristicCache HeuristicCache)
Set Heuristic cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Whether to follow the origin configuration for path cache.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CacheConfigFollowOrigin()
public CacheConfigFollowOrigin(CacheConfigFollowOrigin source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to follow the origin configuration for path cache. Values:
`on`: Enable
`off`: Disablepublic HeuristicCache getHeuristicCache()
public void setHeuristicCache(HeuristicCache HeuristicCache)
HeuristicCache
- Heuristic cache configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.