Class FirstPartConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.teo.v20220901.models.FirstPartConfig
-
public class FirstPartConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description FirstPartConfig()FirstPartConfig(FirstPartConfig 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 LonggetStatTime()Get 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。StringgetSwitch()Get 开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。voidsetStatTime(Long StatTime)Set 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。voidsetSwitch(String Switch)Set 开关,取值有: on:开启; off:关闭。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(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
-
FirstPartConfig
public FirstPartConfig()
-
FirstPartConfig
public FirstPartConfig(FirstPartConfig 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:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Switch 开关,取值有:
- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
setSwitch
public void setSwitch(String Switch)
Set 开关,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Switch- 开关,取值有:- on:开启;
- off:关闭。
注意:此字段可能返回 null,表示取不到有效值。
-
getStatTime
public Long getStatTime()
Get 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- StatTime 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。
-
setStatTime
public void setStatTime(Long StatTime)
Set 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
StatTime- 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 注意:此字段可能返回 null,表示取不到有效值。
-
-