
com.aliyun.ice20201109.models.AddTemplateResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class AddTemplateResponseBody extends TeaModel {
/**
* The request ID.
*
* example:
* 2876-6263-4B75-8F2C-CD0F7FCF
*/
@NameInMap("RequestId")
public String requestId;
/**
* The template information.
*/
@NameInMap("Template")
public AddTemplateResponseBodyTemplate template;
public static AddTemplateResponseBody build(java.util.Map map) throws Exception {
AddTemplateResponseBody self = new AddTemplateResponseBody();
return TeaModel.build(map, self);
}
public AddTemplateResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public AddTemplateResponseBody setTemplate(AddTemplateResponseBodyTemplate template) {
this.template = template;
return this;
}
public AddTemplateResponseBodyTemplate getTemplate() {
return this.template;
}
public static class AddTemplateResponseBodyTemplate extends TeaModel {
/**
* The template configurations.
*
* example:
* 参见Timeline模板Config文档
*/
@NameInMap("Config")
public String config;
/**
* The URL of the template thumbnail.
*
* example:
* http://example-bucket.oss-cn-shanghai.aliyuncs.com/cover.jpg
*/
@NameInMap("CoverUrl")
public String coverUrl;
/**
* The source from which the template was created.
* Valid values:
*
* - AliyunConsole
* - WebSDK
* - OpenAPI
*
*
* example:
* OpenAPI
*/
@NameInMap("CreateSource")
public String createSource;
/**
* The source from which the template was modified.
* Valid values:
*
* - AliyunConsole
* - WebSDK
* - OpenAPI
*
*
* example:
* OpenAPI
*/
@NameInMap("ModifiedSource")
public String modifiedSource;
/**
* The template name.
*
* example:
* 视频添加水印模板
*/
@NameInMap("Name")
public String name;
/**
* The ID of the preview video.
*
* example:
* 01bf24bf41c78b2754cb3187
*/
@NameInMap("PreviewMedia")
public String previewMedia;
/**
* The template state.
* Valid values:
*
* - UploadFailed: Failed to upload the video.
* - ProcessFailed: Failed to process the advanced template.
* - Available: The template is available.
* - Uploading: The video is being uploaded.
* - Created: The template is created but not ready for use.
* - Processing: The advanced template is being processed.
*
*
* example:
* Available
*/
@NameInMap("Status")
public String status;
/**
* The template ID.
*
* example:
* 01bf24bf41c78b2754cb3187
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The template type.
* Valid values:
*
* - Timeline: regular template.
* - VETemplate: advanced template.
*
*
* example:
* Timeline
*/
@NameInMap("Type")
public String type;
public static AddTemplateResponseBodyTemplate build(java.util.Map map) throws Exception {
AddTemplateResponseBodyTemplate self = new AddTemplateResponseBodyTemplate();
return TeaModel.build(map, self);
}
public AddTemplateResponseBodyTemplate setConfig(String config) {
this.config = config;
return this;
}
public String getConfig() {
return this.config;
}
public AddTemplateResponseBodyTemplate setCoverUrl(String coverUrl) {
this.coverUrl = coverUrl;
return this;
}
public String getCoverUrl() {
return this.coverUrl;
}
public AddTemplateResponseBodyTemplate setCreateSource(String createSource) {
this.createSource = createSource;
return this;
}
public String getCreateSource() {
return this.createSource;
}
public AddTemplateResponseBodyTemplate setModifiedSource(String modifiedSource) {
this.modifiedSource = modifiedSource;
return this;
}
public String getModifiedSource() {
return this.modifiedSource;
}
public AddTemplateResponseBodyTemplate setName(String name) {
this.name = name;
return this;
}
public String getName() {
return this.name;
}
public AddTemplateResponseBodyTemplate setPreviewMedia(String previewMedia) {
this.previewMedia = previewMedia;
return this;
}
public String getPreviewMedia() {
return this.previewMedia;
}
public AddTemplateResponseBodyTemplate setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public AddTemplateResponseBodyTemplate setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public AddTemplateResponseBodyTemplate setType(String type) {
this.type = type;
return this;
}
public String getType() {
return this.type;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy