public class ModifyWebPageProtectSwitchRequest extends AbstractModel
header, skipSign
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getIds()
Get Sites that require operating switches (maximum quantity is 100)
|
Long |
getStatus()
Get 1 - on; 0 - off; required when SwitchType is 1 | 2;
|
Long |
getSwitchType()
Get Switch type: 1 - protection switch; 2 - auto recovery switch; 3 - remove protection directory
|
void |
setIds(String[] Ids)
Set Sites that require operating switches (maximum quantity is 100)
|
void |
setStatus(Long Status)
Set 1 - on; 0 - off; required when SwitchType is 1 | 2;
|
void |
setSwitchType(Long SwitchType)
Set Switch type: 1 - protection switch; 2 - auto recovery switch; 3 - remove protection directory
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyWebPageProtectSwitchRequest()
public ModifyWebPageProtectSwitchRequest(ModifyWebPageProtectSwitchRequest source)
public Long getSwitchType()
public void setSwitchType(Long SwitchType)
SwitchType
- Switch type: 1 - protection switch; 2 - auto recovery switch; 3 - remove protection directorypublic String[] getIds()
public void setIds(String[] Ids)
Ids
- Sites that require operating switches (maximum quantity is 100)public Long getStatus()
public void setStatus(Long Status)
Status
- 1 - on; 0 - off; required when SwitchType is 1 | 2;Copyright © 2024. All rights reserved.