public class PurgePathCacheRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
PurgePathCacheRequest()  | 
PurgePathCacheRequest(PurgePathCacheRequest 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 | 
getArea()
Get Region to purge
The acceleration region of the acceleration domain name will be purged if this parameter is not passed in. 
 | 
String | 
getFlushType()
Get Purge type:
`flush`: purges updated resources
`delete`: purges all resources 
 | 
String[] | 
getPaths()
Get List of directories. 
 | 
Boolean | 
getUrlEncode()
Get Whether to encode Chinese characters before purge. 
 | 
void | 
setArea(String Area)
Set Region to purge
The acceleration region of the acceleration domain name will be purged if this parameter is not passed in. 
 | 
void | 
setFlushType(String FlushType)
Set Purge type:
`flush`: purges updated resources
`delete`: purges all resources 
 | 
void | 
setPaths(String[] Paths)
Set List of directories. 
 | 
void | 
setUrlEncode(Boolean UrlEncode)
Set Whether to encode Chinese characters before purge. 
 | 
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 PurgePathCacheRequest()
public PurgePathCacheRequest(PurgePathCacheRequest source)
public String[] getPaths()
public void setPaths(String[] Paths)
Paths - List of directories. The protocol header such as "http://" or "https://" needs to be included.public String getFlushType()
public void setFlushType(String FlushType)
FlushType - Purge type:
`flush`: purges updated resources
`delete`: purges all resourcespublic Boolean getUrlEncode()
public void setUrlEncode(Boolean UrlEncode)
UrlEncode - Whether to encode Chinese characters before purge.public String getArea()
public void setArea(String Area)
Area - Region to purge
The acceleration region of the acceleration domain name will be purged if this parameter is not passed in.
If `mainland` is passed in, only the content cached on nodes in the Chinese mainland will be purged.
If `overseas` is passed in, only the content cached on nodes outside the Chinese mainland will be purged.
The specified region to purge should match the domain name’s acceleration region.Copyright © 2025. All rights reserved.