Class SetDestroyModeCommandInput
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ame.v20190916.models.SetDestroyModeCommandInput
-
public class SetDestroyModeCommandInput extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SetDestroyModeCommandInput()
SetDestroyModeCommandInput(SetDestroyModeCommandInput 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
getDestroyExpireTime()
Get 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。String
getDestroyMode()
Get 销毁模式,取值有: Auto:房间没人时自动销毁 Expire:房间没人时过期自动销毁 Never:不自动销毁,需手动销毁默认为:Auto。void
setDestroyExpireTime(Long DestroyExpireTime)
Set 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。void
setDestroyMode(String DestroyMode)
Set 销毁模式,取值有: Auto:房间没人时自动销毁 Expire:房间没人时过期自动销毁 Never:不自动销毁,需手动销毁默认为:Auto。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
-
SetDestroyModeCommandInput
public SetDestroyModeCommandInput()
-
SetDestroyModeCommandInput
public SetDestroyModeCommandInput(SetDestroyModeCommandInput 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
-
getDestroyMode
public String getDestroyMode()
Get 销毁模式,取值有:- Auto:房间没人时自动销毁
- Expire:房间没人时过期自动销毁
- Never:不自动销毁,需手动销毁
默认为:Auto。- Returns:
- DestroyMode 销毁模式,取值有:
- Auto:房间没人时自动销毁
- Expire:房间没人时过期自动销毁
- Never:不自动销毁,需手动销毁
默认为:Auto。
-
setDestroyMode
public void setDestroyMode(String DestroyMode)
Set 销毁模式,取值有:- Auto:房间没人时自动销毁
- Expire:房间没人时过期自动销毁
- Never:不自动销毁,需手动销毁
默认为:Auto。- Parameters:
DestroyMode
- 销毁模式,取值有:- Auto:房间没人时自动销毁
- Expire:房间没人时过期自动销毁
- Never:不自动销毁,需手动销毁
默认为:Auto。
-
getDestroyExpireTime
public Long getDestroyExpireTime()
Get 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。- Returns:
- DestroyExpireTime 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。
-
setDestroyExpireTime
public void setDestroyExpireTime(Long DestroyExpireTime)
Set 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。- Parameters:
DestroyExpireTime
- 过期销毁时间,单位:秒,当DestroyMode取Expire时必填。
-
-