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

com.tencentcloudapi.trtc.v20190722.models.MixTranscodeParams Maven / Gradle / Ivy

There is a newer version: 3.0.1076
Show newest version
/*
 * 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.trtc.v20190722.models;

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

public class MixTranscodeParams extends AbstractModel{

    /**
    * The video transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
    */
    @SerializedName("VideoParams")
    @Expose
    private VideoParams VideoParams;

    /**
    * The audio transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
    */
    @SerializedName("AudioParams")
    @Expose
    private AudioParams AudioParams;

    /**
     * Get The video transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used. 
     * @return VideoParams The video transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     */
    public VideoParams getVideoParams() {
        return this.VideoParams;
    }

    /**
     * Set The video transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     * @param VideoParams The video transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     */
    public void setVideoParams(VideoParams VideoParams) {
        this.VideoParams = VideoParams;
    }

    /**
     * Get The audio transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used. 
     * @return AudioParams The audio transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     */
    public AudioParams getAudioParams() {
        return this.AudioParams;
    }

    /**
     * Set The audio transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     * @param AudioParams The audio transcoding parameters for recording. If you set this parameter, you must specify all its fields. If you do not set it, the default will be used.
     */
    public void setAudioParams(AudioParams AudioParams) {
        this.AudioParams = AudioParams;
    }

    public MixTranscodeParams() {
    }

    /**
     * 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 MixTranscodeParams(MixTranscodeParams source) {
        if (source.VideoParams != null) {
            this.VideoParams = new VideoParams(source.VideoParams);
        }
        if (source.AudioParams != null) {
            this.AudioParams = new AudioParams(source.AudioParams);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamObj(map, prefix + "VideoParams.", this.VideoParams);
        this.setParamObj(map, prefix + "AudioParams.", this.AudioParams);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy