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

com.tencentcloudapi.trtc.v20190722.models.SdkAppIdTrtcMcuTranscodeTimeUsage 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.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 SdkAppIdTrtcMcuTranscodeTimeUsage extends AbstractModel{

    /**
    * 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
    */
    @SerializedName("TimeKey")
    @Expose
    private String TimeKey;

    /**
    * 语音时长,单位:秒。
    */
    @SerializedName("AudioTime")
    @Expose
    private Long AudioTime;

    /**
    * 视频时长-标清SD,单位:秒。
    */
    @SerializedName("VideoTimeSd")
    @Expose
    private Long VideoTimeSd;

    /**
    * 视频时长-高清HD,单位:秒。
    */
    @SerializedName("VideoTimeHd")
    @Expose
    private Long VideoTimeHd;

    /**
    * 视频时长-全高清FHD,单位:秒。
    */
    @SerializedName("VideoTimeFhd")
    @Expose
    private Long VideoTimeFhd;

    /**
    * 带宽,单位:Mbps。
    */
    @SerializedName("Flux")
    @Expose
    private Float Flux;

    /**
     * Get 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。 
     * @return TimeKey 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
     */
    public String getTimeKey() {
        return this.TimeKey;
    }

    /**
     * Set 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
     * @param TimeKey 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
     */
    public void setTimeKey(String TimeKey) {
        this.TimeKey = TimeKey;
    }

    /**
     * Get 语音时长,单位:秒。 
     * @return AudioTime 语音时长,单位:秒。
     */
    public Long getAudioTime() {
        return this.AudioTime;
    }

    /**
     * Set 语音时长,单位:秒。
     * @param AudioTime 语音时长,单位:秒。
     */
    public void setAudioTime(Long AudioTime) {
        this.AudioTime = AudioTime;
    }

    /**
     * Get 视频时长-标清SD,单位:秒。 
     * @return VideoTimeSd 视频时长-标清SD,单位:秒。
     */
    public Long getVideoTimeSd() {
        return this.VideoTimeSd;
    }

    /**
     * Set 视频时长-标清SD,单位:秒。
     * @param VideoTimeSd 视频时长-标清SD,单位:秒。
     */
    public void setVideoTimeSd(Long VideoTimeSd) {
        this.VideoTimeSd = VideoTimeSd;
    }

    /**
     * Get 视频时长-高清HD,单位:秒。 
     * @return VideoTimeHd 视频时长-高清HD,单位:秒。
     */
    public Long getVideoTimeHd() {
        return this.VideoTimeHd;
    }

    /**
     * Set 视频时长-高清HD,单位:秒。
     * @param VideoTimeHd 视频时长-高清HD,单位:秒。
     */
    public void setVideoTimeHd(Long VideoTimeHd) {
        this.VideoTimeHd = VideoTimeHd;
    }

    /**
     * Get 视频时长-全高清FHD,单位:秒。 
     * @return VideoTimeFhd 视频时长-全高清FHD,单位:秒。
     */
    public Long getVideoTimeFhd() {
        return this.VideoTimeFhd;
    }

    /**
     * Set 视频时长-全高清FHD,单位:秒。
     * @param VideoTimeFhd 视频时长-全高清FHD,单位:秒。
     */
    public void setVideoTimeFhd(Long VideoTimeFhd) {
        this.VideoTimeFhd = VideoTimeFhd;
    }

    /**
     * Get 带宽,单位:Mbps。 
     * @return Flux 带宽,单位:Mbps。
     */
    public Float getFlux() {
        return this.Flux;
    }

    /**
     * Set 带宽,单位:Mbps。
     * @param Flux 带宽,单位:Mbps。
     */
    public void setFlux(Float Flux) {
        this.Flux = Flux;
    }

    public SdkAppIdTrtcMcuTranscodeTimeUsage() {
    }

    /**
     * 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 SdkAppIdTrtcMcuTranscodeTimeUsage(SdkAppIdTrtcMcuTranscodeTimeUsage source) {
        if (source.TimeKey != null) {
            this.TimeKey = new String(source.TimeKey);
        }
        if (source.AudioTime != null) {
            this.AudioTime = new Long(source.AudioTime);
        }
        if (source.VideoTimeSd != null) {
            this.VideoTimeSd = new Long(source.VideoTimeSd);
        }
        if (source.VideoTimeHd != null) {
            this.VideoTimeHd = new Long(source.VideoTimeHd);
        }
        if (source.VideoTimeFhd != null) {
            this.VideoTimeFhd = new Long(source.VideoTimeFhd);
        }
        if (source.Flux != null) {
            this.Flux = new Float(source.Flux);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "TimeKey", this.TimeKey);
        this.setParamSimple(map, prefix + "AudioTime", this.AudioTime);
        this.setParamSimple(map, prefix + "VideoTimeSd", this.VideoTimeSd);
        this.setParamSimple(map, prefix + "VideoTimeHd", this.VideoTimeHd);
        this.setParamSimple(map, prefix + "VideoTimeFhd", this.VideoTimeFhd);
        this.setParamSimple(map, prefix + "Flux", this.Flux);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy