public class CcGeoIPBlockConfig extends AbstractModel
| Constructor and Description | 
|---|
| CcGeoIPBlockConfig() | 
| CcGeoIPBlockConfig(CcGeoIPBlockConfig 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 | getAction()Get Blocking action. | 
| Long[] | getAreaList()Get This field is required when RegionType is `customized`; it can be left empty when RegionType is `china` or `oversea`. | 
| String | getId()Get Configuration ID, which is generated after a configuration is added. | 
| String | getRegionType()Get Region type. | 
| void | setAction(String Action)Set Blocking action. | 
| void | setAreaList(Long[] AreaList)Set This field is required when RegionType is `customized`; it can be left empty when RegionType is `china` or `oversea`. | 
| void | setId(String Id)Set Configuration ID, which is generated after a configuration is added. | 
| void | setRegionType(String RegionType)Set Region type. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic CcGeoIPBlockConfig()
public CcGeoIPBlockConfig(CcGeoIPBlockConfig source)
public String getRegionType()
public void setRegionType(String RegionType)
RegionType - Region type. Valid values:
`oversea`: Outside the Chinese mainland.
`china`: The Chinese mainland.
`customized`: User-specified region.
]public String getAction()
public void setAction(String Action)
Action - Blocking action. Valid values:
`drop`: Block the request.
`alg`: Verify the request via CAPTCHA.
]public String getId()
public void setId(String Id)
Id - Configuration ID, which is generated after a configuration is added. This field is only required to modify or delete a configuration.public Long[] getAreaList()
public void setAreaList(Long[] AreaList)
AreaList - This field is required when RegionType is `customized`; it can be left empty when RegionType is `china` or `oversea`.Copyright © 2023. All rights reserved.