
com.tencentcloudapi.cme.v20191029.models.ExportVideoByTemplateRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.cme.v20191029.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ExportVideoByTemplateRequest extends AbstractModel{
/**
* 平台名称,指定访问的平台。
*/
@SerializedName("Platform")
@Expose
private String Platform;
/**
* 视频编辑模板 Id。
*/
@SerializedName("TemplateId")
@Expose
private String TemplateId;
/**
* 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
10:分辨率为 480P,输出视频格式为 MP4;
11:分辨率为 720P,输出视频格式为 MP4;
12:分辨率为 1080P,输出视频格式为 MP4。
*/
@SerializedName("Definition")
@Expose
private Long Definition;
/**
* 导出目标,可取值为:
CME:云剪,即导出为云剪媒体;
VOD:云点播,即导出为云点播媒资。
*/
@SerializedName("ExportDestination")
@Expose
private String ExportDestination;
/**
* 需要替换的素材信息。
*/
@SerializedName("SlotReplacements")
@Expose
private SlotReplacementInfo [] SlotReplacements;
/**
* 导出的云剪媒体信息。指定 ExportDestination = CME 时有效。
*/
@SerializedName("CMEExportInfo")
@Expose
private CMEExportInfo CMEExportInfo;
/**
* 导出的云点播媒资信息。指定 ExportDestination = VOD 时有效。
*/
@SerializedName("VODExportInfo")
@Expose
private VODExportInfo VODExportInfo;
/**
* 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
*/
@SerializedName("Operator")
@Expose
private String Operator;
/**
* Get 平台名称,指定访问的平台。
* @return Platform 平台名称,指定访问的平台。
*/
public String getPlatform() {
return this.Platform;
}
/**
* Set 平台名称,指定访问的平台。
* @param Platform 平台名称,指定访问的平台。
*/
public void setPlatform(String Platform) {
this.Platform = Platform;
}
/**
* Get 视频编辑模板 Id。
* @return TemplateId 视频编辑模板 Id。
*/
public String getTemplateId() {
return this.TemplateId;
}
/**
* Set 视频编辑模板 Id。
* @param TemplateId 视频编辑模板 Id。
*/
public void setTemplateId(String TemplateId) {
this.TemplateId = TemplateId;
}
/**
* Get 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
10:分辨率为 480P,输出视频格式为 MP4;
11:分辨率为 720P,输出视频格式为 MP4;
12:分辨率为 1080P,输出视频格式为 MP4。
* @return Definition 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
10:分辨率为 480P,输出视频格式为 MP4;
11:分辨率为 720P,输出视频格式为 MP4;
12:分辨率为 1080P,输出视频格式为 MP4。
*/
public Long getDefinition() {
return this.Definition;
}
/**
* Set 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
10:分辨率为 480P,输出视频格式为 MP4;
11:分辨率为 720P,输出视频格式为 MP4;
12:分辨率为 1080P,输出视频格式为 MP4。
* @param Definition 导出模板 Id,目前不支持自定义创建,只支持下面的预置模板 Id。
10:分辨率为 480P,输出视频格式为 MP4;
11:分辨率为 720P,输出视频格式为 MP4;
12:分辨率为 1080P,输出视频格式为 MP4。
*/
public void setDefinition(Long Definition) {
this.Definition = Definition;
}
/**
* Get 导出目标,可取值为:
CME:云剪,即导出为云剪媒体;
VOD:云点播,即导出为云点播媒资。
* @return ExportDestination 导出目标,可取值为:
CME:云剪,即导出为云剪媒体;
VOD:云点播,即导出为云点播媒资。
*/
public String getExportDestination() {
return this.ExportDestination;
}
/**
* Set 导出目标,可取值为:
CME:云剪,即导出为云剪媒体;
VOD:云点播,即导出为云点播媒资。
* @param ExportDestination 导出目标,可取值为:
CME:云剪,即导出为云剪媒体;
VOD:云点播,即导出为云点播媒资。
*/
public void setExportDestination(String ExportDestination) {
this.ExportDestination = ExportDestination;
}
/**
* Get 需要替换的素材信息。
* @return SlotReplacements 需要替换的素材信息。
*/
public SlotReplacementInfo [] getSlotReplacements() {
return this.SlotReplacements;
}
/**
* Set 需要替换的素材信息。
* @param SlotReplacements 需要替换的素材信息。
*/
public void setSlotReplacements(SlotReplacementInfo [] SlotReplacements) {
this.SlotReplacements = SlotReplacements;
}
/**
* Get 导出的云剪媒体信息。指定 ExportDestination = CME 时有效。
* @return CMEExportInfo 导出的云剪媒体信息。指定 ExportDestination = CME 时有效。
*/
public CMEExportInfo getCMEExportInfo() {
return this.CMEExportInfo;
}
/**
* Set 导出的云剪媒体信息。指定 ExportDestination = CME 时有效。
* @param CMEExportInfo 导出的云剪媒体信息。指定 ExportDestination = CME 时有效。
*/
public void setCMEExportInfo(CMEExportInfo CMEExportInfo) {
this.CMEExportInfo = CMEExportInfo;
}
/**
* Get 导出的云点播媒资信息。指定 ExportDestination = VOD 时有效。
* @return VODExportInfo 导出的云点播媒资信息。指定 ExportDestination = VOD 时有效。
*/
public VODExportInfo getVODExportInfo() {
return this.VODExportInfo;
}
/**
* Set 导出的云点播媒资信息。指定 ExportDestination = VOD 时有效。
* @param VODExportInfo 导出的云点播媒资信息。指定 ExportDestination = VOD 时有效。
*/
public void setVODExportInfo(VODExportInfo VODExportInfo) {
this.VODExportInfo = VODExportInfo;
}
/**
* Get 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
* @return Operator 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
*/
public String getOperator() {
return this.Operator;
}
/**
* Set 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
* @param Operator 操作者。填写用户的 Id,用于标识调用者及校验项目导出权限。
*/
public void setOperator(String Operator) {
this.Operator = Operator;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Platform", this.Platform);
this.setParamSimple(map, prefix + "TemplateId", this.TemplateId);
this.setParamSimple(map, prefix + "Definition", this.Definition);
this.setParamSimple(map, prefix + "ExportDestination", this.ExportDestination);
this.setParamArrayObj(map, prefix + "SlotReplacements.", this.SlotReplacements);
this.setParamObj(map, prefix + "CMEExportInfo.", this.CMEExportInfo);
this.setParamObj(map, prefix + "VODExportInfo.", this.VODExportInfo);
this.setParamSimple(map, prefix + "Operator", this.Operator);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy