
com.tencentcloudapi.cme.v20191029.models.ExportVideoByVideoSegmentationDataRequest 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 ExportVideoByVideoSegmentationDataRequest extends AbstractModel{
/**
* 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
*/
@SerializedName("Platform")
@Expose
private String Platform;
/**
* 视频拆条项目 Id 。
*/
@SerializedName("ProjectId")
@Expose
private String ProjectId;
/**
* 指定需要导出的智能拆条片段的组 Id 。
*/
@SerializedName("SegmentGroupId")
@Expose
private String SegmentGroupId;
/**
* 指定需要导出的智能拆条片段 Id 集合。
*/
@SerializedName("SegmentIds")
@Expose
private String [] SegmentIds;
/**
* 导出模板 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;
/**
* 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。
*/
@SerializedName("CMEExportInfo")
@Expose
private CMEExportInfo CMEExportInfo;
/**
* 导出的云点播媒资信息。当导出目标为 VOD 时必填。
*/
@SerializedName("VODExportInfo")
@Expose
private VODExportInfo VODExportInfo;
/**
* 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。
*/
@SerializedName("Operator")
@Expose
private String Operator;
/**
* Get 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
* @return Platform 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
*/
public String getPlatform() {
return this.Platform;
}
/**
* Set 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
* @param Platform 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
*/
public void setPlatform(String Platform) {
this.Platform = Platform;
}
/**
* Get 视频拆条项目 Id 。
* @return ProjectId 视频拆条项目 Id 。
*/
public String getProjectId() {
return this.ProjectId;
}
/**
* Set 视频拆条项目 Id 。
* @param ProjectId 视频拆条项目 Id 。
*/
public void setProjectId(String ProjectId) {
this.ProjectId = ProjectId;
}
/**
* Get 指定需要导出的智能拆条片段的组 Id 。
* @return SegmentGroupId 指定需要导出的智能拆条片段的组 Id 。
*/
public String getSegmentGroupId() {
return this.SegmentGroupId;
}
/**
* Set 指定需要导出的智能拆条片段的组 Id 。
* @param SegmentGroupId 指定需要导出的智能拆条片段的组 Id 。
*/
public void setSegmentGroupId(String SegmentGroupId) {
this.SegmentGroupId = SegmentGroupId;
}
/**
* Get 指定需要导出的智能拆条片段 Id 集合。
* @return SegmentIds 指定需要导出的智能拆条片段 Id 集合。
*/
public String [] getSegmentIds() {
return this.SegmentIds;
}
/**
* Set 指定需要导出的智能拆条片段 Id 集合。
* @param SegmentIds 指定需要导出的智能拆条片段 Id 集合。
*/
public void setSegmentIds(String [] SegmentIds) {
this.SegmentIds = SegmentIds;
}
/**
* 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 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。
* @return CMEExportInfo 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。
*/
public CMEExportInfo getCMEExportInfo() {
return this.CMEExportInfo;
}
/**
* Set 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。
* @param CMEExportInfo 导出的多媒体创作引擎媒体信息。当导出目标为 CME 时必填。
*/
public void setCMEExportInfo(CMEExportInfo CMEExportInfo) {
this.CMEExportInfo = CMEExportInfo;
}
/**
* Get 导出的云点播媒资信息。当导出目标为 VOD 时必填。
* @return VODExportInfo 导出的云点播媒资信息。当导出目标为 VOD 时必填。
*/
public VODExportInfo getVODExportInfo() {
return this.VODExportInfo;
}
/**
* Set 导出的云点播媒资信息。当导出目标为 VOD 时必填。
* @param VODExportInfo 导出的云点播媒资信息。当导出目标为 VOD 时必填。
*/
public void setVODExportInfo(VODExportInfo VODExportInfo) {
this.VODExportInfo = VODExportInfo;
}
/**
* Get 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。
* @return Operator 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。
*/
public String getOperator() {
return this.Operator;
}
/**
* Set 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。
* @param Operator 操作者。如不填,默认为 `cmeid_system`,表示平台管理员操作,可以操作任意智能拆条项目。如果指定操作者,则操作者必须为项目所有。
*/
public void setOperator(String Operator) {
this.Operator = Operator;
}
public ExportVideoByVideoSegmentationDataRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public ExportVideoByVideoSegmentationDataRequest(ExportVideoByVideoSegmentationDataRequest source) {
if (source.Platform != null) {
this.Platform = new String(source.Platform);
}
if (source.ProjectId != null) {
this.ProjectId = new String(source.ProjectId);
}
if (source.SegmentGroupId != null) {
this.SegmentGroupId = new String(source.SegmentGroupId);
}
if (source.SegmentIds != null) {
this.SegmentIds = new String[source.SegmentIds.length];
for (int i = 0; i < source.SegmentIds.length; i++) {
this.SegmentIds[i] = new String(source.SegmentIds[i]);
}
}
if (source.Definition != null) {
this.Definition = new Long(source.Definition);
}
if (source.ExportDestination != null) {
this.ExportDestination = new String(source.ExportDestination);
}
if (source.CMEExportInfo != null) {
this.CMEExportInfo = new CMEExportInfo(source.CMEExportInfo);
}
if (source.VODExportInfo != null) {
this.VODExportInfo = new VODExportInfo(source.VODExportInfo);
}
if (source.Operator != null) {
this.Operator = new String(source.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 + "ProjectId", this.ProjectId);
this.setParamSimple(map, prefix + "SegmentGroupId", this.SegmentGroupId);
this.setParamArraySimple(map, prefix + "SegmentIds.", this.SegmentIds);
this.setParamSimple(map, prefix + "Definition", this.Definition);
this.setParamSimple(map, prefix + "ExportDestination", this.ExportDestination);
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