
com.aliyun.cdn20180510.models.DescribePreloadDetailByIdResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cdn20180510.models;
import com.aliyun.tea.*;
public class DescribePreloadDetailByIdResponseBody extends TeaModel {
/**
* The ID of the request. You can use the ID to query logs and troubleshoot issues.
*/
@NameInMap("RequestId")
public String requestId;
/**
* The number of queried tasks.
*/
@NameInMap("TotalCount")
public Long totalCount;
/**
* The details of the task, including the task ID, start time, end time, domain name, success rate, status, returned error code, and completion details of all URL resources.
*/
@NameInMap("UrlDetails")
public java.util.List urlDetails;
public static DescribePreloadDetailByIdResponseBody build(java.util.Map map) throws Exception {
DescribePreloadDetailByIdResponseBody self = new DescribePreloadDetailByIdResponseBody();
return TeaModel.build(map, self);
}
public DescribePreloadDetailByIdResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public DescribePreloadDetailByIdResponseBody setTotalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public Long getTotalCount() {
return this.totalCount;
}
public DescribePreloadDetailByIdResponseBody setUrlDetails(java.util.List urlDetails) {
this.urlDetails = urlDetails;
return this;
}
public java.util.List getUrlDetails() {
return this.urlDetails;
}
public static class DescribePreloadDetailByIdResponseBodyUrlDetailsUrls extends TeaModel {
/**
* The details of resource prefetch.
*
* * If the resource is prefetched on all POPs, "Successfully preloaded" is returned.
* * If the resource fails to be prefetched on some POPs, the failure details separated by vertical bars (|) are returned.
*/
@NameInMap("Description")
public String description;
/**
* The success percentage, which indicates the number of POPs on which the resource is prefetched.
*/
@NameInMap("Success")
public String success;
/**
* The URL of the prefetched resource.
*/
@NameInMap("Url")
public String url;
public static DescribePreloadDetailByIdResponseBodyUrlDetailsUrls build(java.util.Map map) throws Exception {
DescribePreloadDetailByIdResponseBodyUrlDetailsUrls self = new DescribePreloadDetailByIdResponseBodyUrlDetailsUrls();
return TeaModel.build(map, self);
}
public DescribePreloadDetailByIdResponseBodyUrlDetailsUrls setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribePreloadDetailByIdResponseBodyUrlDetailsUrls setSuccess(String success) {
this.success = success;
return this;
}
public String getSuccess() {
return this.success;
}
public DescribePreloadDetailByIdResponseBodyUrlDetailsUrls setUrl(String url) {
this.url = url;
return this;
}
public String getUrl() {
return this.url;
}
}
public static class DescribePreloadDetailByIdResponseBodyUrlDetails extends TeaModel {
/**
* The time when the task was created. The time is displayed in UTC.
*/
@NameInMap("CreationTime")
public String creationTime;
/**
* The domain name for prefetching resources.
*/
@NameInMap("Domain")
public String domain;
/**
* The time when the task ended. The time is displayed in UTC.
*/
@NameInMap("EndTime")
public String endTime;
/**
* The progress of the prefetch task, which indicates the number of points of presence (POPs) on which the prefetch task is completed.
*/
@NameInMap("Process")
public String process;
/**
* The turned error code. A value of `0` indicates that the task succeeded.
*/
@NameInMap("RetCode")
public String retCode;
/**
* The status of the task. Valid values:
*
* * **Complete**
* * **Refreshing**
* * **Failed**
*/
@NameInMap("Status")
public String status;
/**
* The ID of the task that you want to query.
*
* You can call the PushObjectCache operation to query task IDs. Then, you can use the task IDs to query task status.
*
* You can query one task ID at a time.
*/
@NameInMap("TaskId")
public String taskId;
/**
* The completion details of all URL resources in the task.
*/
@NameInMap("Urls")
public java.util.List urls;
public static DescribePreloadDetailByIdResponseBodyUrlDetails build(java.util.Map map) throws Exception {
DescribePreloadDetailByIdResponseBodyUrlDetails self = new DescribePreloadDetailByIdResponseBodyUrlDetails();
return TeaModel.build(map, self);
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setCreationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
public String getCreationTime() {
return this.creationTime;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setDomain(String domain) {
this.domain = domain;
return this;
}
public String getDomain() {
return this.domain;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setProcess(String process) {
this.process = process;
return this;
}
public String getProcess() {
return this.process;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setRetCode(String retCode) {
this.retCode = retCode;
return this;
}
public String getRetCode() {
return this.retCode;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
public DescribePreloadDetailByIdResponseBodyUrlDetails setUrls(java.util.List urls) {
this.urls = urls;
return this;
}
public java.util.List getUrls() {
return this.urls;
}
}
}