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

com.tencentcloudapi.mdl.v20200326.models.AudioTrackInfo Maven / Gradle / Ivy

There is a newer version: 3.0.1034
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.mdl.v20200326.models;

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

public class AudioTrackInfo extends AbstractModel {

    /**
    * User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel.
    */
    @SerializedName("TrackName")
    @Expose
    private String TrackName;

    /**
    * Only AAC is supported.
    */
    @SerializedName("AudioCodec")
    @Expose
    private String AudioCodec;

    /**
    * Audio bitrate.
    */
    @SerializedName("AudioBitrate")
    @Expose
    private Long AudioBitrate;

    /**
    * Audio sample rate.
    */
    @SerializedName("AudioSampleRate")
    @Expose
    private Long AudioSampleRate;

    /**
    * Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered.
    */
    @SerializedName("AudioSelectorName")
    @Expose
    private String AudioSelectorName;

    /**
    * Audio loudness configuration.
    */
    @SerializedName("AudioNormalization")
    @Expose
    private AudioNormalizationSettings AudioNormalization;

    /**
    * Audio encoding configuration.
    */
    @SerializedName("AudioCodecDetails")
    @Expose
    private AudioCodecDetail AudioCodecDetails;

    /**
     * Get User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel. 
     * @return TrackName User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel.
     */
    public String getTrackName() {
        return this.TrackName;
    }

    /**
     * Set User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel.
     * @param TrackName User input is limited to letters and numbers, the length should not exceed 20, and should not be repeated in the same channel.
     */
    public void setTrackName(String TrackName) {
        this.TrackName = TrackName;
    }

    /**
     * Get Only AAC is supported. 
     * @return AudioCodec Only AAC is supported.
     */
    public String getAudioCodec() {
        return this.AudioCodec;
    }

    /**
     * Set Only AAC is supported.
     * @param AudioCodec Only AAC is supported.
     */
    public void setAudioCodec(String AudioCodec) {
        this.AudioCodec = AudioCodec;
    }

    /**
     * Get Audio bitrate. 
     * @return AudioBitrate Audio bitrate.
     */
    public Long getAudioBitrate() {
        return this.AudioBitrate;
    }

    /**
     * Set Audio bitrate.
     * @param AudioBitrate Audio bitrate.
     */
    public void setAudioBitrate(Long AudioBitrate) {
        this.AudioBitrate = AudioBitrate;
    }

    /**
     * Get Audio sample rate. 
     * @return AudioSampleRate Audio sample rate.
     */
    public Long getAudioSampleRate() {
        return this.AudioSampleRate;
    }

    /**
     * Set Audio sample rate.
     * @param AudioSampleRate Audio sample rate.
     */
    public void setAudioSampleRate(Long AudioSampleRate) {
        this.AudioSampleRate = AudioSampleRate;
    }

    /**
     * Get Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered. 
     * @return AudioSelectorName Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered.
     */
    public String getAudioSelectorName() {
        return this.AudioSelectorName;
    }

    /**
     * Set Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered.
     * @param AudioSelectorName Only values defined by AttachedInputs.$.AudioSelectors.$.audioPidSelection.pid can be entered.
     */
    public void setAudioSelectorName(String AudioSelectorName) {
        this.AudioSelectorName = AudioSelectorName;
    }

    /**
     * Get Audio loudness configuration. 
     * @return AudioNormalization Audio loudness configuration.
     */
    public AudioNormalizationSettings getAudioNormalization() {
        return this.AudioNormalization;
    }

    /**
     * Set Audio loudness configuration.
     * @param AudioNormalization Audio loudness configuration.
     */
    public void setAudioNormalization(AudioNormalizationSettings AudioNormalization) {
        this.AudioNormalization = AudioNormalization;
    }

    /**
     * Get Audio encoding configuration. 
     * @return AudioCodecDetails Audio encoding configuration.
     */
    public AudioCodecDetail getAudioCodecDetails() {
        return this.AudioCodecDetails;
    }

    /**
     * Set Audio encoding configuration.
     * @param AudioCodecDetails Audio encoding configuration.
     */
    public void setAudioCodecDetails(AudioCodecDetail AudioCodecDetails) {
        this.AudioCodecDetails = AudioCodecDetails;
    }

    public AudioTrackInfo() {
    }

    /**
     * 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 AudioTrackInfo(AudioTrackInfo source) {
        if (source.TrackName != null) {
            this.TrackName = new String(source.TrackName);
        }
        if (source.AudioCodec != null) {
            this.AudioCodec = new String(source.AudioCodec);
        }
        if (source.AudioBitrate != null) {
            this.AudioBitrate = new Long(source.AudioBitrate);
        }
        if (source.AudioSampleRate != null) {
            this.AudioSampleRate = new Long(source.AudioSampleRate);
        }
        if (source.AudioSelectorName != null) {
            this.AudioSelectorName = new String(source.AudioSelectorName);
        }
        if (source.AudioNormalization != null) {
            this.AudioNormalization = new AudioNormalizationSettings(source.AudioNormalization);
        }
        if (source.AudioCodecDetails != null) {
            this.AudioCodecDetails = new AudioCodecDetail(source.AudioCodecDetails);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "TrackName", this.TrackName);
        this.setParamSimple(map, prefix + "AudioCodec", this.AudioCodec);
        this.setParamSimple(map, prefix + "AudioBitrate", this.AudioBitrate);
        this.setParamSimple(map, prefix + "AudioSampleRate", this.AudioSampleRate);
        this.setParamSimple(map, prefix + "AudioSelectorName", this.AudioSelectorName);
        this.setParamObj(map, prefix + "AudioNormalization.", this.AudioNormalization);
        this.setParamObj(map, prefix + "AudioCodecDetails.", this.AudioCodecDetails);

    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy