/*
 * 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.tiw.v20190919.models;

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

public class VideoInfo extends AbstractModel{

    /**
    * 视频开始播放的时间（单位：毫秒）
    */
    @SerializedName("VideoPlayTime")
    @Expose
    private Long VideoPlayTime;

    /**
    * 视频大小（字节）
    */
    @SerializedName("VideoSize")
    @Expose
    private Long VideoSize;

    /**
    * 视频格式
    */
    @SerializedName("VideoFormat")
    @Expose
    private String VideoFormat;

    /**
    * 视频播放时长（单位：毫秒）
    */
    @SerializedName("VideoDuration")
    @Expose
    private Long VideoDuration;

    /**
    * 视频文件URL
    */
    @SerializedName("VideoUrl")
    @Expose
    private String VideoUrl;

    /**
    * 视频文件Id
    */
    @SerializedName("VideoId")
    @Expose
    private String VideoId;

    /**
    * 视频流类型 
- 0：摄像头视频 
- 1：屏幕分享视频
- 2：白板视频 
- 3：混流视频
- 4：纯音频（mp3)
    */
    @SerializedName("VideoType")
    @Expose
    private Long VideoType;

    /**
    * 摄像头/屏幕分享视频所属用户的 Id（白板视频为空、混流视频tic_mixstream_房间号_混流布局类型、辅路视频tic_substream_用户Id）
    */
    @SerializedName("UserId")
    @Expose
    private String UserId;

    /**
    * 视频分辨率的宽
    */
    @SerializedName("Width")
    @Expose
    private Long Width;

    /**
    * 视频分辨率的高
    */
    @SerializedName("Height")
    @Expose
    private Long Height;

    /**
     * Get 视频开始播放的时间（单位：毫秒） 
     * @return VideoPlayTime 视频开始播放的时间（单位：毫秒）
     */
    public Long getVideoPlayTime() {
        return this.VideoPlayTime;
    }

    /**
     * Set 视频开始播放的时间（单位：毫秒）
     * @param VideoPlayTime 视频开始播放的时间（单位：毫秒）
     */
    public void setVideoPlayTime(Long VideoPlayTime) {
        this.VideoPlayTime = VideoPlayTime;
    }

    /**
     * Get 视频大小（字节） 
     * @return VideoSize 视频大小（字节）
     */
    public Long getVideoSize() {
        return this.VideoSize;
    }

    /**
     * Set 视频大小（字节）
     * @param VideoSize 视频大小（字节）
     */
    public void setVideoSize(Long VideoSize) {
        this.VideoSize = VideoSize;
    }

    /**
     * Get 视频格式 
     * @return VideoFormat 视频格式
     */
    public String getVideoFormat() {
        return this.VideoFormat;
    }

    /**
     * Set 视频格式
     * @param VideoFormat 视频格式
     */
    public void setVideoFormat(String VideoFormat) {
        this.VideoFormat = VideoFormat;
    }

    /**
     * Get 视频播放时长（单位：毫秒） 
     * @return VideoDuration 视频播放时长（单位：毫秒）
     */
    public Long getVideoDuration() {
        return this.VideoDuration;
    }

    /**
     * Set 视频播放时长（单位：毫秒）
     * @param VideoDuration 视频播放时长（单位：毫秒）
     */
    public void setVideoDuration(Long VideoDuration) {
        this.VideoDuration = VideoDuration;
    }

    /**
     * Get 视频文件URL 
     * @return VideoUrl 视频文件URL
     */
    public String getVideoUrl() {
        return this.VideoUrl;
    }

    /**
     * Set 视频文件URL
     * @param VideoUrl 视频文件URL
     */
    public void setVideoUrl(String VideoUrl) {
        this.VideoUrl = VideoUrl;
    }

    /**
     * Get 视频文件Id 
     * @return VideoId 视频文件Id
     */
    public String getVideoId() {
        return this.VideoId;
    }

    /**
     * Set 视频文件Id
     * @param VideoId 视频文件Id
     */
    public void setVideoId(String VideoId) {
        this.VideoId = VideoId;
    }

    /**
     * Get 视频流类型 
- 0：摄像头视频 
- 1：屏幕分享视频
- 2：白板视频 
- 3：混流视频
- 4：纯音频（mp3) 
     * @return VideoType 视频流类型 
- 0：摄像头视频 
- 1：屏幕分享视频
- 2：白板视频 
- 3：混流视频
- 4：纯音频（mp3)
     */
    public Long getVideoType() {
        return this.VideoType;
    }

    /**
     * Set 视频流类型 
- 0：摄像头视频 
- 1：屏幕分享视频
- 2：白板视频 
- 3：混流视频
- 4：纯音频（mp3)
     * @param VideoType 视频流类型 
- 0：摄像头视频 
- 1：屏幕分享视频
- 2：白板视频 
- 3：混流视频
- 4：纯音频（mp3)
     */
    public void setVideoType(Long VideoType) {
        this.VideoType = VideoType;
    }

    /**
     * Get 摄像头/屏幕分享视频所属用户的 Id（白板视频为空、混流视频tic_mixstream_房间号_混流布局类型、辅路视频tic_substream_用户Id） 
     * @return UserId 摄像头/屏幕分享视频所属用户的 Id（白板视频为空、混流视频tic_mixstream_房间号_混流布局类型、辅路视频tic_substream_用户Id）
     */
    public String getUserId() {
        return this.UserId;
    }

    /**
     * Set 摄像头/屏幕分享视频所属用户的 Id（白板视频为空、混流视频tic_mixstream_房间号_混流布局类型、辅路视频tic_substream_用户Id）
     * @param UserId 摄像头/屏幕分享视频所属用户的 Id（白板视频为空、混流视频tic_mixstream_房间号_混流布局类型、辅路视频tic_substream_用户Id）
     */
    public void setUserId(String UserId) {
        this.UserId = UserId;
    }

    /**
     * Get 视频分辨率的宽 
     * @return Width 视频分辨率的宽
     */
    public Long getWidth() {
        return this.Width;
    }

    /**
     * Set 视频分辨率的宽
     * @param Width 视频分辨率的宽
     */
    public void setWidth(Long Width) {
        this.Width = Width;
    }

    /**
     * Get 视频分辨率的高 
     * @return Height 视频分辨率的高
     */
    public Long getHeight() {
        return this.Height;
    }

    /**
     * Set 视频分辨率的高
     * @param Height 视频分辨率的高
     */
    public void setHeight(Long Height) {
        this.Height = Height;
    }

    public VideoInfo() {
    }

    /**
     * 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 VideoInfo(VideoInfo source) {
        if (source.VideoPlayTime != null) {
            this.VideoPlayTime = new Long(source.VideoPlayTime);
        }
        if (source.VideoSize != null) {
            this.VideoSize = new Long(source.VideoSize);
        }
        if (source.VideoFormat != null) {
            this.VideoFormat = new String(source.VideoFormat);
        }
        if (source.VideoDuration != null) {
            this.VideoDuration = new Long(source.VideoDuration);
        }
        if (source.VideoUrl != null) {
            this.VideoUrl = new String(source.VideoUrl);
        }
        if (source.VideoId != null) {
            this.VideoId = new String(source.VideoId);
        }
        if (source.VideoType != null) {
            this.VideoType = new Long(source.VideoType);
        }
        if (source.UserId != null) {
            this.UserId = new String(source.UserId);
        }
        if (source.Width != null) {
            this.Width = new Long(source.Width);
        }
        if (source.Height != null) {
            this.Height = new Long(source.Height);
        }
    }


    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap<String, String> map, String prefix) {
        this.setParamSimple(map, prefix + "VideoPlayTime", this.VideoPlayTime);
        this.setParamSimple(map, prefix + "VideoSize", this.VideoSize);
        this.setParamSimple(map, prefix + "VideoFormat", this.VideoFormat);
        this.setParamSimple(map, prefix + "VideoDuration", this.VideoDuration);
        this.setParamSimple(map, prefix + "VideoUrl", this.VideoUrl);
        this.setParamSimple(map, prefix + "VideoId", this.VideoId);
        this.setParamSimple(map, prefix + "VideoType", this.VideoType);
        this.setParamSimple(map, prefix + "UserId", this.UserId);
        this.setParamSimple(map, prefix + "Width", this.Width);
        this.setParamSimple(map, prefix + "Height", this.Height);

    }
}

