public class CacheConfigCache extends AbstractModel
Constructor and Description |
---|
CacheConfigCache() |
CacheConfigCache(CacheConfigCache 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 |
---|---|
Long |
getCacheTime()
Get Cache expiration time settings
Unit: second.
|
String |
getIgnoreCacheControl()
Get Specifies whether to enable force cache
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSwitch()
Get Cache configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setCacheTime(Long CacheTime)
Set Cache expiration time settings
Unit: second.
|
void |
setIgnoreCacheControl(String IgnoreCacheControl)
Set Specifies whether to enable force cache
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Cache configuration switch
`on`: Enable
`off`: Disable
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CacheConfigCache()
public CacheConfigCache(CacheConfigCache source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Cache configuration switch
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- Cache expiration time settings
Unit: second. The maximum value is 365 days.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getIgnoreCacheControl()
public void setIgnoreCacheControl(String IgnoreCacheControl)
IgnoreCacheControl
- Specifies whether to enable force cache
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2023. All rights reserved.