
com.aliyun.ice20201109.models.GetUrlUploadInfosResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class GetUrlUploadInfosResponseBody extends TeaModel {
/**
* The job IDs or upload URLs that do not exist.
*/
@NameInMap("NonExists")
public java.util.List nonExists;
/**
* The request ID.
*
* example:
* 11-DB8D-4A9A-875B-275798
*/
@NameInMap("RequestId")
public String requestId;
/**
* The details about URL-based upload jobs.
*/
@NameInMap("URLUploadInfoList")
public java.util.List URLUploadInfoList;
public static GetUrlUploadInfosResponseBody build(java.util.Map map) throws Exception {
GetUrlUploadInfosResponseBody self = new GetUrlUploadInfosResponseBody();
return TeaModel.build(map, self);
}
public GetUrlUploadInfosResponseBody setNonExists(java.util.List nonExists) {
this.nonExists = nonExists;
return this;
}
public java.util.List getNonExists() {
return this.nonExists;
}
public GetUrlUploadInfosResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public GetUrlUploadInfosResponseBody setURLUploadInfoList(java.util.List URLUploadInfoList) {
this.URLUploadInfoList = URLUploadInfoList;
return this;
}
public java.util.List getURLUploadInfoList() {
return this.URLUploadInfoList;
}
public static class GetUrlUploadInfosResponseBodyURLUploadInfoList extends TeaModel {
/**
* The time when the upload job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2021-11-26 21:47:37
*/
@NameInMap("CompleteTime")
public String completeTime;
/**
* The time when the upload job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2021-11-07T10:03:37Z
*/
@NameInMap("CreationTime")
public String creationTime;
/**
* The error code returned if the upload job failed.
*
* example:
* 200
*/
@NameInMap("ErrorCode")
public String errorCode;
/**
* The error message returned if the upload job failed.
*
* example:
* Success
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The file size. Unit: bytes.
*
* example:
* 64610
*/
@NameInMap("FileSize")
public String fileSize;
/**
* The ID of the upload job.
*
* example:
* 3829500c0fef429fa4ec1680b122d***
*/
@NameInMap("JobId")
public String jobId;
/**
* The ID of the uploaded media file.
*
* example:
* 5014ca70f08171ecbf940764a0fd6***
*/
@NameInMap("MediaId")
public String mediaId;
/**
* The status of the upload job. For more information about the valid values of the parameter, see the "Status: the status of a URL-based upload job" section of the Basic data types topic.
*
* example:
* Normal
*/
@NameInMap("Status")
public String status;
/**
* The upload URL of the source file.
*
* A maximum of 100 URLs can be returned.
*
*
* example:
* http://****.mp4
*/
@NameInMap("UploadURL")
public String uploadURL;
/**
* The user data. The value is a JSON string.
*
* example:
* {"MessageCallback":"{"CallbackURL":"http://example.aliyundoc.com"}", "Extend":"{"localId":"***", "test":"www"}"}
*/
@NameInMap("UserData")
public String userData;
public static GetUrlUploadInfosResponseBodyURLUploadInfoList build(java.util.Map map) throws Exception {
GetUrlUploadInfosResponseBodyURLUploadInfoList self = new GetUrlUploadInfosResponseBodyURLUploadInfoList();
return TeaModel.build(map, self);
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setCompleteTime(String completeTime) {
this.completeTime = completeTime;
return this;
}
public String getCompleteTime() {
return this.completeTime;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setCreationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
public String getCreationTime() {
return this.creationTime;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setErrorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
public String getErrorCode() {
return this.errorCode;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setFileSize(String fileSize) {
this.fileSize = fileSize;
return this;
}
public String getFileSize() {
return this.fileSize;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setJobId(String jobId) {
this.jobId = jobId;
return this;
}
public String getJobId() {
return this.jobId;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setMediaId(String mediaId) {
this.mediaId = mediaId;
return this;
}
public String getMediaId() {
return this.mediaId;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setUploadURL(String uploadURL) {
this.uploadURL = uploadURL;
return this;
}
public String getUploadURL() {
return this.uploadURL;
}
public GetUrlUploadInfosResponseBodyURLUploadInfoList setUserData(String userData) {
this.userData = userData;
return this;
}
public String getUserData() {
return this.userData;
}
}
}