Class ModifyWebPageProtectSwitchRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cwp.v20180228.models.ModifyWebPageProtectSwitchRequest
-
public class ModifyWebPageProtectSwitchRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyWebPageProtectSwitchRequest()
ModifyWebPageProtectSwitchRequest(ModifyWebPageProtectSwitchRequest 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 String[]
getIds()
Get 需要操作开关的网站 最大100条Long
getStatus()
Get 1 开启 0 关闭 SwitchType 为 1 | 2 必填;Long
getSwitchType()
Get 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录void
setIds(String[] Ids)
Set 需要操作开关的网站 最大100条void
setStatus(Long Status)
Set 1 开启 0 关闭 SwitchType 为 1 | 2 必填;void
setSwitchType(Long SwitchType)
Set 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录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
-
ModifyWebPageProtectSwitchRequest
public ModifyWebPageProtectSwitchRequest()
-
ModifyWebPageProtectSwitchRequest
public ModifyWebPageProtectSwitchRequest(ModifyWebPageProtectSwitchRequest 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
-
getSwitchType
public Long getSwitchType()
Get 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录- Returns:
- SwitchType 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录
-
setSwitchType
public void setSwitchType(Long SwitchType)
Set 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录- Parameters:
SwitchType
- 开关类型 1 防护开关 2 自动恢复开关 3 移除防护目录
-
getIds
public String[] getIds()
Get 需要操作开关的网站 最大100条- Returns:
- Ids 需要操作开关的网站 最大100条
-
setIds
public void setIds(String[] Ids)
Set 需要操作开关的网站 最大100条- Parameters:
Ids
- 需要操作开关的网站 最大100条
-
getStatus
public Long getStatus()
Get 1 开启 0 关闭 SwitchType 为 1 | 2 必填;- Returns:
- Status 1 开启 0 关闭 SwitchType 为 1 | 2 必填;
-
setStatus
public void setStatus(Long Status)
Set 1 开启 0 关闭 SwitchType 为 1 | 2 必填;- Parameters:
Status
- 1 开启 0 关闭 SwitchType 为 1 | 2 必填;
-
-