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

com.tencentcloudapi.mps.v20190612.models.ModifyTranscodeTemplateRequest 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.mps.v20190612.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class ModifyTranscodeTemplateRequest extends AbstractModel{

    /**
    * Unique ID of a transcoding template.
    */
    @SerializedName("Definition")
    @Expose
    private Long Definition;

    /**
    * Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files.
    */
    @SerializedName("Container")
    @Expose
    private String Container;

    /**
    * Name of a transcoding template. Length limit: 64 characters.
    */
    @SerializedName("Name")
    @Expose
    private String Name;

    /**
    * Template description. Length limit: 256 characters.
    */
    @SerializedName("Comment")
    @Expose
    private String Comment;

    /**
    * Whether to remove video data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ @SerializedName("RemoveVideo") @Expose private Long RemoveVideo; /** * Whether to remove audio data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ @SerializedName("RemoveAudio") @Expose private Long RemoveAudio; /** * Video stream configuration parameter. */ @SerializedName("VideoTemplate") @Expose private VideoTemplateInfoForUpdate VideoTemplate; /** * Audio stream configuration parameter. */ @SerializedName("AudioTemplate") @Expose private AudioTemplateInfoForUpdate AudioTemplate; /** * TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. */ @SerializedName("TEHDConfig") @Expose private TEHDConfigForUpdate TEHDConfig; /** * Audio/Video enhancement settings. */ @SerializedName("EnhanceConfig") @Expose private EnhanceConfig EnhanceConfig; /** * Get Unique ID of a transcoding template. * @return Definition Unique ID of a transcoding template. */ public Long getDefinition() { return this.Definition; } /** * Set Unique ID of a transcoding template. * @param Definition Unique ID of a transcoding template. */ public void setDefinition(Long Definition) { this.Definition = Definition; } /** * Get Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. * @return Container Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. */ public String getContainer() { return this.Container; } /** * Set Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. * @param Container Container format. Valid values: mp4; flv; hls; mp3; flac; ogg; m4a. Among them, mp3, flac, ogg, and m4a are for audio files. */ public void setContainer(String Container) { this.Container = Container; } /** * Get Name of a transcoding template. Length limit: 64 characters. * @return Name Name of a transcoding template. Length limit: 64 characters. */ public String getName() { return this.Name; } /** * Set Name of a transcoding template. Length limit: 64 characters. * @param Name Name of a transcoding template. Length limit: 64 characters. */ public void setName(String Name) { this.Name = Name; } /** * Get Template description. Length limit: 256 characters. * @return Comment Template description. Length limit: 256 characters. */ public String getComment() { return this.Comment; } /** * Set Template description. Length limit: 256 characters. * @param Comment Template description. Length limit: 256 characters. */ public void setComment(String Comment) { this.Comment = Comment; } /** * Get Whether to remove video data. Valid values:
  • 0: Retain
  • 1: Remove
  • * @return RemoveVideo Whether to remove video data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ public Long getRemoveVideo() { return this.RemoveVideo; } /** * Set Whether to remove video data. Valid values:
  • 0: Retain
  • 1: Remove
  • * @param RemoveVideo Whether to remove video data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ public void setRemoveVideo(Long RemoveVideo) { this.RemoveVideo = RemoveVideo; } /** * Get Whether to remove audio data. Valid values:
  • 0: Retain
  • 1: Remove
  • * @return RemoveAudio Whether to remove audio data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ public Long getRemoveAudio() { return this.RemoveAudio; } /** * Set Whether to remove audio data. Valid values:
  • 0: Retain
  • 1: Remove
  • * @param RemoveAudio Whether to remove audio data. Valid values:
  • 0: Retain
  • 1: Remove
  • */ public void setRemoveAudio(Long RemoveAudio) { this.RemoveAudio = RemoveAudio; } /** * Get Video stream configuration parameter. * @return VideoTemplate Video stream configuration parameter. */ public VideoTemplateInfoForUpdate getVideoTemplate() { return this.VideoTemplate; } /** * Set Video stream configuration parameter. * @param VideoTemplate Video stream configuration parameter. */ public void setVideoTemplate(VideoTemplateInfoForUpdate VideoTemplate) { this.VideoTemplate = VideoTemplate; } /** * Get Audio stream configuration parameter. * @return AudioTemplate Audio stream configuration parameter. */ public AudioTemplateInfoForUpdate getAudioTemplate() { return this.AudioTemplate; } /** * Set Audio stream configuration parameter. * @param AudioTemplate Audio stream configuration parameter. */ public void setAudioTemplate(AudioTemplateInfoForUpdate AudioTemplate) { this.AudioTemplate = AudioTemplate; } /** * Get TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. * @return TEHDConfig TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. */ public TEHDConfigForUpdate getTEHDConfig() { return this.TEHDConfig; } /** * Set TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. * @param TEHDConfig TESHD transcoding parameter. To enable it, please contact your Tencent Cloud sales rep. */ public void setTEHDConfig(TEHDConfigForUpdate TEHDConfig) { this.TEHDConfig = TEHDConfig; } /** * Get Audio/Video enhancement settings. * @return EnhanceConfig Audio/Video enhancement settings. */ public EnhanceConfig getEnhanceConfig() { return this.EnhanceConfig; } /** * Set Audio/Video enhancement settings. * @param EnhanceConfig Audio/Video enhancement settings. */ public void setEnhanceConfig(EnhanceConfig EnhanceConfig) { this.EnhanceConfig = EnhanceConfig; } public ModifyTranscodeTemplateRequest() { } /** * 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 ModifyTranscodeTemplateRequest(ModifyTranscodeTemplateRequest source) { if (source.Definition != null) { this.Definition = new Long(source.Definition); } if (source.Container != null) { this.Container = new String(source.Container); } if (source.Name != null) { this.Name = new String(source.Name); } if (source.Comment != null) { this.Comment = new String(source.Comment); } if (source.RemoveVideo != null) { this.RemoveVideo = new Long(source.RemoveVideo); } if (source.RemoveAudio != null) { this.RemoveAudio = new Long(source.RemoveAudio); } if (source.VideoTemplate != null) { this.VideoTemplate = new VideoTemplateInfoForUpdate(source.VideoTemplate); } if (source.AudioTemplate != null) { this.AudioTemplate = new AudioTemplateInfoForUpdate(source.AudioTemplate); } if (source.TEHDConfig != null) { this.TEHDConfig = new TEHDConfigForUpdate(source.TEHDConfig); } if (source.EnhanceConfig != null) { this.EnhanceConfig = new EnhanceConfig(source.EnhanceConfig); } } /** * Internal implementation, normal users should not use it. */ public void toMap(HashMap map, String prefix) { this.setParamSimple(map, prefix + "Definition", this.Definition); this.setParamSimple(map, prefix + "Container", this.Container); this.setParamSimple(map, prefix + "Name", this.Name); this.setParamSimple(map, prefix + "Comment", this.Comment); this.setParamSimple(map, prefix + "RemoveVideo", this.RemoveVideo); this.setParamSimple(map, prefix + "RemoveAudio", this.RemoveAudio); this.setParamObj(map, prefix + "VideoTemplate.", this.VideoTemplate); this.setParamObj(map, prefix + "AudioTemplate.", this.AudioTemplate); this.setParamObj(map, prefix + "TEHDConfig.", this.TEHDConfig); this.setParamObj(map, prefix + "EnhanceConfig.", this.EnhanceConfig); } }




    © 2015 - 2025 Weber Informatics LLC | Privacy Policy