
com.aliyun.ice20201109.models.GetEditingProjectResponseBody Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ice20201109.models;
import com.aliyun.tea.*;
public class GetEditingProjectResponseBody extends TeaModel {
/**
* The information about the online editing project.
*/
@NameInMap("Project")
public GetEditingProjectResponseBodyProject project;
/**
* The request ID.
*
* example:
* 63E8B7C7-4812-46AD-0FA56029AC86
*/
@NameInMap("RequestId")
public String requestId;
public static GetEditingProjectResponseBody build(java.util.Map map) throws Exception {
GetEditingProjectResponseBody self = new GetEditingProjectResponseBody();
return TeaModel.build(map, self);
}
public GetEditingProjectResponseBody setProject(GetEditingProjectResponseBodyProject project) {
this.project = project;
return this;
}
public GetEditingProjectResponseBodyProject getProject() {
return this.project;
}
public GetEditingProjectResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class GetEditingProjectResponseBodyProject extends TeaModel {
/**
* The business configuration of the project. This parameter can be ignored for general editing projects.
*
* example:
* { "OutputMediaConfig" : { "StorageLocation": "test-bucket.oss-cn-shanghai.aliyuncs.com", "Path": "test-path" }, "OutputMediaTarget": "oss-object", "ReservationTime": "2021-06-21T08:05:00Z" }
*/
@NameInMap("BusinessConfig")
public String businessConfig;
/**
* The business status of the project. This parameter can be ignored for general editing projects. Valid values:
* Reserving
* ReservationCanceled
* BroadCasting
* LoadingFailed
* LiveFinished
*
* example:
* Reserving
*/
@NameInMap("BusinessStatus")
public String businessStatus;
/**
* The material parameter corresponding to the template, in the JSON format. If TemplateId is specified, ClipsParam must also be specified. For more information<props="china">, see Create and use a regular template and Create and use an advanced template.
*/
@NameInMap("ClipsParam")
public String clipsParam;
/**
* The thumbnail URL of the online editing project.
*
* example:
* oss://example-bucket/example.jpg
*/
@NameInMap("CoverURL")
public String coverURL;
/**
* The method for creating the online editing project. Valid values:
* \- OpenAPI
* \- AliyunConsole
* \- WebSDK
* \- LiveEditingOpenAPI
* \- LiveEditingConsole
*
* example:
* OpenAPI
*/
@NameInMap("CreateSource")
public String createSource;
/**
* The time when the online editing project was created.
*
* example:
* 2020-12-20T12:00:00Z
*/
@NameInMap("CreateTime")
public String createTime;
/**
* The description of the online editing project.
*/
@NameInMap("Description")
public String description;
/**
* The total duration of the online editing project.
*
* example:
* 24.120000
*/
@NameInMap("Duration")
public Long duration;
/**
* The method for editing the online editing project. Valid values:
* \- OpenAPI
* \- AliyunConsole
* \- WebSDK
* \- LiveEditingOpenAPI
* \- LiveEditingConsole
*
* example:
* OpenAPI
*/
@NameInMap("ModifiedSource")
public String modifiedSource;
/**
* The time when the online editing project was last modified.
*
* example:
* 2020-12-20T13:00:00Z
*/
@NameInMap("ModifiedTime")
public String modifiedTime;
/**
* The ID of the online editing project.
*
* example:
* fb2101bf24b2754cb318787dc
*/
@NameInMap("ProjectId")
public String projectId;
/**
* The type of the editing project. Default value: EditingProject. Valid values:
* \- EditingProject: a regular editing project.
* \- LiveEditingProject: a live stream editing project.
*
* example:
* EditingProject
*/
@NameInMap("ProjectType")
public String projectType;
/**
* The status of the online editing project. Valid values:
* \- Draft
* \- Editing
* \- Producing
* \- Produced
* \- ProduceFailed
* \- Deleted
*
* example:
* Editing
*/
@NameInMap("Status")
public String status;
/**
* The template ID.
*
* example:
* 96e8864746a0b6f3
*/
@NameInMap("TemplateId")
public String templateId;
/**
* The template type of the online editing project. Valid values:
* \- Timeline
* \- VETemplate
*
* example:
* Timeline
*/
@NameInMap("TemplateType")
public String templateType;
/**
* The timeline of the online editing project.
*
* example:
* {"VideoTracks":[{"VideoTrackClips":[{"MediaId":"9b4d7cf14dc7b83b0e801cbe"},{"MediaId":"9b4d7cf14dc7b83b0e801cbe"},{"MediaId":"1656bca4474999c961a6d2a2"}]}]}
*/
@NameInMap("Timeline")
public String timeline;
/**
* The error message returned if the project conversion failed. The error message displays the detailed information about the failure, and is returned only if the value of TimelineConvertStatus is ConvertFailed.
*
* example:
* The StorageLocation must be in the same division(apiRegion) as ICE service access point.
*/
@NameInMap("TimelineConvertErrorMessage")
public String timelineConvertErrorMessage;
/**
* The project conversion status. Conversion of an API-style timeline into a frontend-style timeline is an asynchronous process and takes effect only if RequestSource:WebSDK is specified.
* \- Unconverted
* \- Converting
* \- Converted
* \- ConvertFailed
*
* example:
* Converted
*/
@NameInMap("TimelineConvertStatus")
public String timelineConvertStatus;
/**
* The title of the online editing project.
*/
@NameInMap("Title")
public String title;
public static GetEditingProjectResponseBodyProject build(java.util.Map map) throws Exception {
GetEditingProjectResponseBodyProject self = new GetEditingProjectResponseBodyProject();
return TeaModel.build(map, self);
}
public GetEditingProjectResponseBodyProject setBusinessConfig(String businessConfig) {
this.businessConfig = businessConfig;
return this;
}
public String getBusinessConfig() {
return this.businessConfig;
}
public GetEditingProjectResponseBodyProject setBusinessStatus(String businessStatus) {
this.businessStatus = businessStatus;
return this;
}
public String getBusinessStatus() {
return this.businessStatus;
}
public GetEditingProjectResponseBodyProject setClipsParam(String clipsParam) {
this.clipsParam = clipsParam;
return this;
}
public String getClipsParam() {
return this.clipsParam;
}
public GetEditingProjectResponseBodyProject setCoverURL(String coverURL) {
this.coverURL = coverURL;
return this;
}
public String getCoverURL() {
return this.coverURL;
}
public GetEditingProjectResponseBodyProject setCreateSource(String createSource) {
this.createSource = createSource;
return this;
}
public String getCreateSource() {
return this.createSource;
}
public GetEditingProjectResponseBodyProject setCreateTime(String createTime) {
this.createTime = createTime;
return this;
}
public String getCreateTime() {
return this.createTime;
}
public GetEditingProjectResponseBodyProject setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public GetEditingProjectResponseBodyProject setDuration(Long duration) {
this.duration = duration;
return this;
}
public Long getDuration() {
return this.duration;
}
public GetEditingProjectResponseBodyProject setModifiedSource(String modifiedSource) {
this.modifiedSource = modifiedSource;
return this;
}
public String getModifiedSource() {
return this.modifiedSource;
}
public GetEditingProjectResponseBodyProject setModifiedTime(String modifiedTime) {
this.modifiedTime = modifiedTime;
return this;
}
public String getModifiedTime() {
return this.modifiedTime;
}
public GetEditingProjectResponseBodyProject setProjectId(String projectId) {
this.projectId = projectId;
return this;
}
public String getProjectId() {
return this.projectId;
}
public GetEditingProjectResponseBodyProject setProjectType(String projectType) {
this.projectType = projectType;
return this;
}
public String getProjectType() {
return this.projectType;
}
public GetEditingProjectResponseBodyProject setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public GetEditingProjectResponseBodyProject setTemplateId(String templateId) {
this.templateId = templateId;
return this;
}
public String getTemplateId() {
return this.templateId;
}
public GetEditingProjectResponseBodyProject setTemplateType(String templateType) {
this.templateType = templateType;
return this;
}
public String getTemplateType() {
return this.templateType;
}
public GetEditingProjectResponseBodyProject setTimeline(String timeline) {
this.timeline = timeline;
return this;
}
public String getTimeline() {
return this.timeline;
}
public GetEditingProjectResponseBodyProject setTimelineConvertErrorMessage(String timelineConvertErrorMessage) {
this.timelineConvertErrorMessage = timelineConvertErrorMessage;
return this;
}
public String getTimelineConvertErrorMessage() {
return this.timelineConvertErrorMessage;
}
public GetEditingProjectResponseBodyProject setTimelineConvertStatus(String timelineConvertStatus) {
this.timelineConvertStatus = timelineConvertStatus;
return this;
}
public String getTimelineConvertStatus() {
return this.timelineConvertStatus;
}
public GetEditingProjectResponseBodyProject setTitle(String title) {
this.title = title;
return this;
}
public String getTitle() {
return this.title;
}
}
}