public class CacheConfigCustomTime extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheConfigCustomTime() |
CacheConfigCustomTime(CacheConfigCustomTime 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 自定义缓存时间数值,单位为秒,取值:0-315360000。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
String |
getSwitch()
Get 自定义缓存时间开关,取值有:
on:开启;
off:关闭。
|
void |
setCacheTime(Long CacheTime)
Set 自定义缓存时间数值,单位为秒,取值:0-315360000。
注意:当 Switch 为 on 时,此字段必填;当 Switch 为 off 时,无需填写此字段,若填写则不生效。 |
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 CacheConfigCustomTime()
public CacheConfigCustomTime(CacheConfigCustomTime source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 自定义缓存时间开关,取值有:
public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- 自定义缓存时间数值,单位为秒,取值:0-315360000。Copyright © 2025. All rights reserved.