All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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{

    /**
    * 平台 Id,指定访问的平台。关于平台概念,请参见文档 [平台](https://cloud.tencent.com/document/product/1156/43767)。
    */
    @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; /** * 导出的多媒体创作引擎媒资信息。当导出目标为 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 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 导出的多媒体创作引擎媒资信息。当导出目标为 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 ExportVideoByTemplateRequest() { } /** * 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 ExportVideoByTemplateRequest(ExportVideoByTemplateRequest source) { if (source.Platform != null) { this.Platform = new String(source.Platform); } if (source.TemplateId != null) { this.TemplateId = new String(source.TemplateId); } if (source.Definition != null) { this.Definition = new Long(source.Definition); } if (source.ExportDestination != null) { this.ExportDestination = new String(source.ExportDestination); } if (source.SlotReplacements != null) { this.SlotReplacements = new SlotReplacementInfo[source.SlotReplacements.length]; for (int i = 0; i < source.SlotReplacements.length; i++) { this.SlotReplacements[i] = new SlotReplacementInfo(source.SlotReplacements[i]); } } 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 + "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