Class FrameRateConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mps.v20190612.models.FrameRateConfig
-
public class FrameRateConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description FrameRateConfig()
FrameRateConfig(FrameRateConfig source)
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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getFps()
Get 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。String
getSwitch()
Get 能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。void
setFps(Long Fps)
Set 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。void
setSwitch(String Switch)
Set 能力配置开关,可选值: ON:开启; OFF:关闭。 默认值:ON。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
FrameRateConfig
public FrameRateConfig()
-
FrameRateConfig
public FrameRateConfig(FrameRateConfig source)
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.
-
-
Method Detail
-
getSwitch
public String getSwitch()
Get 能力配置开关,可选值:- ON:开启;
- OFF:关闭。
默认值:ON。- Returns:
- Switch 能力配置开关,可选值:
- ON:开启;
- OFF:关闭。
默认值:ON。
-
setSwitch
public void setSwitch(String Switch)
Set 能力配置开关,可选值:- ON:开启;
- OFF:关闭。
默认值:ON。- Parameters:
Switch
- 能力配置开关,可选值:- ON:开启;
- OFF:关闭。
默认值:ON。
-
getFps
public Long getFps()
Get 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Fps 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。
-
setFps
public void setFps(Long Fps)
Set 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Fps
- 帧率,取值范围:[0, 100],单位:Hz。 默认值 0。 注意:对于转码,该参数会覆盖 VideoTemplate 内部的 Fps。 注意:此字段可能返回 null,表示取不到有效值。
-
-