public class PushTask extends AbstractModel
header, skipSign
Constructor and Description |
---|
PushTask() |
PushTask(PushTask 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 Prefetch region
`mainland`: Within the Chinese mainland
`overseas`: Outside the Chinese mainland
`global`: Globe
|
String |
getCreateTime()
Get Prefetch task submission time
|
Long |
getPercent()
Get Prefetch progress in percentage
|
String |
getStatus()
Get Prefetch task status
`fail`: Prefetch failed
`done`: Prefetch succeeded
`process`: Prefetch in progress
`invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
|
String |
getTaskId()
Get Prefetch task ID
|
String |
getUpdateTime()
Get Prefetch task update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getUrl()
Get Prefetched URL
|
void |
setArea(String Area)
Set Prefetch region
`mainland`: Within the Chinese mainland
`overseas`: Outside the Chinese mainland
`global`: Globe
|
void |
setCreateTime(String CreateTime)
Set Prefetch task submission time
|
void |
setPercent(Long Percent)
Set Prefetch progress in percentage
|
void |
setStatus(String Status)
Set Prefetch task status
`fail`: Prefetch failed
`done`: Prefetch succeeded
`process`: Prefetch in progress
`invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin server
|
void |
setTaskId(String TaskId)
Set Prefetch task ID
|
void |
setUpdateTime(String UpdateTime)
Set Prefetch task update time
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setUrl(String Url)
Set Prefetched URL
|
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 PushTask()
public PushTask(PushTask source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId
- Prefetch task IDpublic String getUrl()
public void setUrl(String Url)
Url
- Prefetched URLpublic String getStatus()
public void setStatus(String Status)
Status
- Prefetch task status
`fail`: Prefetch failed
`done`: Prefetch succeeded
`process`: Prefetch in progress
`invalid`: Invalid prefetch with 4XX/5XX status code returned from the origin serverpublic Long getPercent()
public void setPercent(Long Percent)
Percent
- Prefetch progress in percentagepublic String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Prefetch task submission timepublic String getArea()
public void setArea(String Area)
Area
- Prefetch region
`mainland`: Within the Chinese mainland
`overseas`: Outside the Chinese mainland
`global`: Globepublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime
- Prefetch task update time
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.