Class PlayerLatencyPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.gse.v20191112.models.PlayerLatencyPolicy
-
public class PlayerLatencyPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description PlayerLatencyPolicy()PlayerLatencyPolicy(PlayerLatencyPolicy 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 LonggetMaximumIndividualPlayerLatencyMilliseconds()Get 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。LonggetPolicyDurationSeconds()Get 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 null,表示取不到有效值。voidsetMaximumIndividualPlayerLatencyMilliseconds(Long MaximumIndividualPlayerLatencyMilliseconds)Set 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。voidsetPolicyDurationSeconds(Long PolicyDurationSeconds)Set 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 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
-
PlayerLatencyPolicy
public PlayerLatencyPolicy()
-
PlayerLatencyPolicy
public PlayerLatencyPolicy(PlayerLatencyPolicy 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
-
getMaximumIndividualPlayerLatencyMilliseconds
public Long getMaximumIndividualPlayerLatencyMilliseconds()
Get 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MaximumIndividualPlayerLatencyMilliseconds 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。
-
setMaximumIndividualPlayerLatencyMilliseconds
public void setMaximumIndividualPlayerLatencyMilliseconds(Long MaximumIndividualPlayerLatencyMilliseconds)
Set 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MaximumIndividualPlayerLatencyMilliseconds- 任意player允许的最大延迟,单位:毫秒 注意:此字段可能返回 null,表示取不到有效值。
-
getPolicyDurationSeconds
public Long getPolicyDurationSeconds()
Get 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PolicyDurationSeconds 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
-
setPolicyDurationSeconds
public void setPolicyDurationSeconds(Long PolicyDurationSeconds)
Set 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PolicyDurationSeconds- 放置新GameServerSession时强制实施策略的时间长度,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
-
-