com.tencentcloudapi.cme.v20191029.models.SwitcherPgmOutputConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-cme Show documentation
Show all versions of tencentcloud-sdk-java-cme Show documentation
Tencent Cloud Open API SDK for Java
/*
* 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.cme.v20191029.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class SwitcherPgmOutputConfig extends AbstractModel{
/**
* 导播台输出模板 ID,可取值:
10001:分辨率为1080 P;
10002:分辨率为720 P;
10003:分辨率为480 P。
*/
@SerializedName("TemplateId")
@Expose
private Long TemplateId;
/**
* 导播台输出宽,单位:像素。
*/
@SerializedName("Width")
@Expose
private Long Width;
/**
* 导播台输出高,单位:像素。
*/
@SerializedName("Height")
@Expose
private Long Height;
/**
* 导播台输出帧率,单位:帧/秒
*/
@SerializedName("Fps")
@Expose
private Long Fps;
/**
* 导播台输出码率, 单位:bit/s。
*/
@SerializedName("BitRate")
@Expose
private Long BitRate;
/**
* Get 导播台输出模板 ID,可取值:
10001:分辨率为1080 P;
10002:分辨率为720 P;
10003:分辨率为480 P。
* @return TemplateId 导播台输出模板 ID,可取值:
10001:分辨率为1080 P;
10002:分辨率为720 P;
10003:分辨率为480 P。
*/
public Long getTemplateId() {
return this.TemplateId;
}
/**
* Set 导播台输出模板 ID,可取值:
10001:分辨率为1080 P;
10002:分辨率为720 P;
10003:分辨率为480 P。
* @param TemplateId 导播台输出模板 ID,可取值:
10001:分辨率为1080 P;
10002:分辨率为720 P;
10003:分辨率为480 P。
*/
public void setTemplateId(Long TemplateId) {
this.TemplateId = TemplateId;
}
/**
* 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;
}
/**
* Get 导播台输出帧率,单位:帧/秒
* @return Fps 导播台输出帧率,单位:帧/秒
*/
public Long getFps() {
return this.Fps;
}
/**
* Set 导播台输出帧率,单位:帧/秒
* @param Fps 导播台输出帧率,单位:帧/秒
*/
public void setFps(Long Fps) {
this.Fps = Fps;
}
/**
* Get 导播台输出码率, 单位:bit/s。
* @return BitRate 导播台输出码率, 单位:bit/s。
*/
public Long getBitRate() {
return this.BitRate;
}
/**
* Set 导播台输出码率, 单位:bit/s。
* @param BitRate 导播台输出码率, 单位:bit/s。
*/
public void setBitRate(Long BitRate) {
this.BitRate = BitRate;
}
/**
* 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 + "Width", this.Width);
this.setParamSimple(map, prefix + "Height", this.Height);
this.setParamSimple(map, prefix + "Fps", this.Fps);
this.setParamSimple(map, prefix + "BitRate", this.BitRate);
}
}