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

com.tencentcloudapi.live.v20180801.models.ModifyLiveTranscodeTemplateRequest 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.live.v20180801.models;

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

public class ModifyLiveTranscodeTemplateRequest extends AbstractModel{

    /**
    * 模板Id。
    */
    @SerializedName("TemplateId")
    @Expose
    private Long TemplateId;

    /**
    * 视频编码:
h264/h265。
    */
    @SerializedName("Vcodec")
    @Expose
    private String Vcodec;

    /**
    * 音频编码:
aac/mp3。
    */
    @SerializedName("Acodec")
    @Expose
    private String Acodec;

    /**
    * 音频码率,默认0。0-500
    */
    @SerializedName("AudioBitrate")
    @Expose
    private Long AudioBitrate;

    /**
    * 模板描述。
    */
    @SerializedName("Description")
    @Expose
    private String Description;

    /**
    * 视频码率。100-8000
    */
    @SerializedName("VideoBitrate")
    @Expose
    private Long VideoBitrate;

    /**
    * 宽。0-3000
    */
    @SerializedName("Width")
    @Expose
    private Long Width;

    /**
    * 是否保留视频,0:否,1:是。默认1。
    */
    @SerializedName("NeedVideo")
    @Expose
    private Long NeedVideo;

    /**
    * 是否保留音频,0:否,1:是。默认1。
    */
    @SerializedName("NeedAudio")
    @Expose
    private Long NeedAudio;

    /**
    * 高。0-3000
    */
    @SerializedName("Height")
    @Expose
    private Long Height;

    /**
    * 帧率。0-200
    */
    @SerializedName("Fps")
    @Expose
    private Long Fps;

    /**
    * 关键帧间隔,单位:秒。0-50
    */
    @SerializedName("Gop")
    @Expose
    private Long Gop;

    /**
    * 旋转角度。0 90 180 270
    */
    @SerializedName("Rotate")
    @Expose
    private Long Rotate;

    /**
    * 编码质量:
baseline/main/high。
    */
    @SerializedName("Profile")
    @Expose
    private String Profile;

    /**
    * 是否不超过原始码率。0:否,1:是。默认0。
    */
    @SerializedName("BitrateToOrig")
    @Expose
    private Long BitrateToOrig;

    /**
    * 是否不超过原始高。0:否,1:是。默认0。
    */
    @SerializedName("HeightToOrig")
    @Expose
    private Long HeightToOrig;

    /**
    * 是否不超过原始帧率。0:否,1:是。默认0。
    */
    @SerializedName("FpsToOrig")
    @Expose
    private Long FpsToOrig;

    /**
    * 急速高清相比VideoBitrate少多少码率,0.1到0.5
    */
    @SerializedName("AdaptBitratePercent")
    @Expose
    private Float AdaptBitratePercent;

    /**
     * Get 模板Id。 
     * @return TemplateId 模板Id。
     */
    public Long getTemplateId() {
        return this.TemplateId;
    }

    /**
     * Set 模板Id。
     * @param TemplateId 模板Id。
     */
    public void setTemplateId(Long TemplateId) {
        this.TemplateId = TemplateId;
    }

    /**
     * Get 视频编码:
h264/h265。 
     * @return Vcodec 视频编码:
h264/h265。
     */
    public String getVcodec() {
        return this.Vcodec;
    }

    /**
     * Set 视频编码:
h264/h265。
     * @param Vcodec 视频编码:
h264/h265。
     */
    public void setVcodec(String Vcodec) {
        this.Vcodec = Vcodec;
    }

    /**
     * Get 音频编码:
aac/mp3。 
     * @return Acodec 音频编码:
aac/mp3。
     */
    public String getAcodec() {
        return this.Acodec;
    }

    /**
     * Set 音频编码:
aac/mp3。
     * @param Acodec 音频编码:
aac/mp3。
     */
    public void setAcodec(String Acodec) {
        this.Acodec = Acodec;
    }

    /**
     * Get 音频码率,默认0。0-500 
     * @return AudioBitrate 音频码率,默认0。0-500
     */
    public Long getAudioBitrate() {
        return this.AudioBitrate;
    }

    /**
     * Set 音频码率,默认0。0-500
     * @param AudioBitrate 音频码率,默认0。0-500
     */
    public void setAudioBitrate(Long AudioBitrate) {
        this.AudioBitrate = AudioBitrate;
    }

    /**
     * Get 模板描述。 
     * @return Description 模板描述。
     */
    public String getDescription() {
        return this.Description;
    }

    /**
     * Set 模板描述。
     * @param Description 模板描述。
     */
    public void setDescription(String Description) {
        this.Description = Description;
    }

    /**
     * Get 视频码率。100-8000 
     * @return VideoBitrate 视频码率。100-8000
     */
    public Long getVideoBitrate() {
        return this.VideoBitrate;
    }

    /**
     * Set 视频码率。100-8000
     * @param VideoBitrate 视频码率。100-8000
     */
    public void setVideoBitrate(Long VideoBitrate) {
        this.VideoBitrate = VideoBitrate;
    }

    /**
     * Get 宽。0-3000 
     * @return Width 宽。0-3000
     */
    public Long getWidth() {
        return this.Width;
    }

    /**
     * Set 宽。0-3000
     * @param Width 宽。0-3000
     */
    public void setWidth(Long Width) {
        this.Width = Width;
    }

    /**
     * Get 是否保留视频,0:否,1:是。默认1。 
     * @return NeedVideo 是否保留视频,0:否,1:是。默认1。
     */
    public Long getNeedVideo() {
        return this.NeedVideo;
    }

    /**
     * Set 是否保留视频,0:否,1:是。默认1。
     * @param NeedVideo 是否保留视频,0:否,1:是。默认1。
     */
    public void setNeedVideo(Long NeedVideo) {
        this.NeedVideo = NeedVideo;
    }

    /**
     * Get 是否保留音频,0:否,1:是。默认1。 
     * @return NeedAudio 是否保留音频,0:否,1:是。默认1。
     */
    public Long getNeedAudio() {
        return this.NeedAudio;
    }

    /**
     * Set 是否保留音频,0:否,1:是。默认1。
     * @param NeedAudio 是否保留音频,0:否,1:是。默认1。
     */
    public void setNeedAudio(Long NeedAudio) {
        this.NeedAudio = NeedAudio;
    }

    /**
     * Get 高。0-3000 
     * @return Height 高。0-3000
     */
    public Long getHeight() {
        return this.Height;
    }

    /**
     * Set 高。0-3000
     * @param Height 高。0-3000
     */
    public void setHeight(Long Height) {
        this.Height = Height;
    }

    /**
     * Get 帧率。0-200 
     * @return Fps 帧率。0-200
     */
    public Long getFps() {
        return this.Fps;
    }

    /**
     * Set 帧率。0-200
     * @param Fps 帧率。0-200
     */
    public void setFps(Long Fps) {
        this.Fps = Fps;
    }

    /**
     * Get 关键帧间隔,单位:秒。0-50 
     * @return Gop 关键帧间隔,单位:秒。0-50
     */
    public Long getGop() {
        return this.Gop;
    }

    /**
     * Set 关键帧间隔,单位:秒。0-50
     * @param Gop 关键帧间隔,单位:秒。0-50
     */
    public void setGop(Long Gop) {
        this.Gop = Gop;
    }

    /**
     * Get 旋转角度。0 90 180 270 
     * @return Rotate 旋转角度。0 90 180 270
     */
    public Long getRotate() {
        return this.Rotate;
    }

    /**
     * Set 旋转角度。0 90 180 270
     * @param Rotate 旋转角度。0 90 180 270
     */
    public void setRotate(Long Rotate) {
        this.Rotate = Rotate;
    }

    /**
     * Get 编码质量:
baseline/main/high。 
     * @return Profile 编码质量:
baseline/main/high。
     */
    public String getProfile() {
        return this.Profile;
    }

    /**
     * Set 编码质量:
baseline/main/high。
     * @param Profile 编码质量:
baseline/main/high。
     */
    public void setProfile(String Profile) {
        this.Profile = Profile;
    }

    /**
     * Get 是否不超过原始码率。0:否,1:是。默认0。 
     * @return BitrateToOrig 是否不超过原始码率。0:否,1:是。默认0。
     */
    public Long getBitrateToOrig() {
        return this.BitrateToOrig;
    }

    /**
     * Set 是否不超过原始码率。0:否,1:是。默认0。
     * @param BitrateToOrig 是否不超过原始码率。0:否,1:是。默认0。
     */
    public void setBitrateToOrig(Long BitrateToOrig) {
        this.BitrateToOrig = BitrateToOrig;
    }

    /**
     * Get 是否不超过原始高。0:否,1:是。默认0。 
     * @return HeightToOrig 是否不超过原始高。0:否,1:是。默认0。
     */
    public Long getHeightToOrig() {
        return this.HeightToOrig;
    }

    /**
     * Set 是否不超过原始高。0:否,1:是。默认0。
     * @param HeightToOrig 是否不超过原始高。0:否,1:是。默认0。
     */
    public void setHeightToOrig(Long HeightToOrig) {
        this.HeightToOrig = HeightToOrig;
    }

    /**
     * Get 是否不超过原始帧率。0:否,1:是。默认0。 
     * @return FpsToOrig 是否不超过原始帧率。0:否,1:是。默认0。
     */
    public Long getFpsToOrig() {
        return this.FpsToOrig;
    }

    /**
     * Set 是否不超过原始帧率。0:否,1:是。默认0。
     * @param FpsToOrig 是否不超过原始帧率。0:否,1:是。默认0。
     */
    public void setFpsToOrig(Long FpsToOrig) {
        this.FpsToOrig = FpsToOrig;
    }

    /**
     * Get 急速高清相比VideoBitrate少多少码率,0.1到0.5 
     * @return AdaptBitratePercent 急速高清相比VideoBitrate少多少码率,0.1到0.5
     */
    public Float getAdaptBitratePercent() {
        return this.AdaptBitratePercent;
    }

    /**
     * Set 急速高清相比VideoBitrate少多少码率,0.1到0.5
     * @param AdaptBitratePercent 急速高清相比VideoBitrate少多少码率,0.1到0.5
     */
    public void setAdaptBitratePercent(Float AdaptBitratePercent) {
        this.AdaptBitratePercent = AdaptBitratePercent;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "TemplateId", this.TemplateId);
        this.setParamSimple(map, prefix + "Vcodec", this.Vcodec);
        this.setParamSimple(map, prefix + "Acodec", this.Acodec);
        this.setParamSimple(map, prefix + "AudioBitrate", this.AudioBitrate);
        this.setParamSimple(map, prefix + "Description", this.Description);
        this.setParamSimple(map, prefix + "VideoBitrate", this.VideoBitrate);
        this.setParamSimple(map, prefix + "Width", this.Width);
        this.setParamSimple(map, prefix + "NeedVideo", this.NeedVideo);
        this.setParamSimple(map, prefix + "NeedAudio", this.NeedAudio);
        this.setParamSimple(map, prefix + "Height", this.Height);
        this.setParamSimple(map, prefix + "Fps", this.Fps);
        this.setParamSimple(map, prefix + "Gop", this.Gop);
        this.setParamSimple(map, prefix + "Rotate", this.Rotate);
        this.setParamSimple(map, prefix + "Profile", this.Profile);
        this.setParamSimple(map, prefix + "BitrateToOrig", this.BitrateToOrig);
        this.setParamSimple(map, prefix + "HeightToOrig", this.HeightToOrig);
        this.setParamSimple(map, prefix + "FpsToOrig", this.FpsToOrig);
        this.setParamSimple(map, prefix + "AdaptBitratePercent", this.AdaptBitratePercent);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy