public class CreatePurgeTaskRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreatePurgeTaskRequest() |
CreatePurgeTaskRequest(CreatePurgeTaskRequest 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 |
---|---|
Boolean |
getEncodeUrl()
Deprecated.
|
String |
getMethod()
Get Node cache purge method, valid for directory, hostname, and all cache refreshes.
|
String[] |
getTargets()
Get List of resources for which cache is to be purged.
|
String |
getType()
Get Type of cache purging.
|
String |
getZoneId()
Get ID of the site.
|
void |
setEncodeUrl(Boolean EncodeUrl)
Deprecated.
|
void |
setMethod(String Method)
Set Node cache purge method, valid for directory, hostname, and all cache refreshes.
|
void |
setTargets(String[] Targets)
Set List of resources for which cache is to be purged.
|
void |
setType(String Type)
Set Type of cache purging.
|
void |
setZoneId(String ZoneId)
Set ID of the site.
|
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 CreatePurgeTaskRequest()
public CreatePurgeTaskRequest(CreatePurgeTaskRequest source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the site.public String getType()
public void setType(String Type)
Type
- Type of cache purging. Values:
public String getMethod()
public void setMethod(String Method)
Method
- Node cache purge method, valid for directory, hostname, and all cache refreshes. Valid values: public String[] getTargets()
public void setTargets(String[] Targets)
Targets
- List of resources for which cache is to be purged. Each element format depends on the cache purge type and you can refer to the API examples for details. @Deprecated public Boolean getEncodeUrl()
@Deprecated public void setEncodeUrl(Boolean EncodeUrl)
EncodeUrl
- Specifies whether to transcode non-ASCII URLs according to RFC3986.
Note that if it’s enabled, the purging is based on the converted URLs.Copyright © 2024. All rights reserved.