public class OriginProtectionInfo extends AbstractModel
skipSign
Constructor and Description |
---|
OriginProtectionInfo() |
OriginProtectionInfo(OriginProtectionInfo 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 |
---|---|
IPWhitelist |
getCurrentIPWhitelist()
Get The existing intermediate IPs.
|
DiffIPWhitelist |
getDiffIPWhitelist()
Get Differences between the latest and existing intermediate IPs.
|
String[] |
getHosts()
Get List of domain names.
|
Boolean |
getNeedUpdate()
Get Whether the intermediate IP update is needed for the site.
|
Boolean |
getPlanSupport()
Get Whether origin protection is supported in the plan.
|
String[] |
getProxyIds()
Get List of proxy IDs.
|
String |
getStatus()
Get Status of the origin protection configuration.
|
String |
getZoneId()
Get ID of the site.
|
void |
setCurrentIPWhitelist(IPWhitelist CurrentIPWhitelist)
Set The existing intermediate IPs.
|
void |
setDiffIPWhitelist(DiffIPWhitelist DiffIPWhitelist)
Set Differences between the latest and existing intermediate IPs.
|
void |
setHosts(String[] Hosts)
Set List of domain names.
|
void |
setNeedUpdate(Boolean NeedUpdate)
Set Whether the intermediate IP update is needed for the site.
|
void |
setPlanSupport(Boolean PlanSupport)
Set Whether origin protection is supported in the plan.
|
void |
setProxyIds(String[] ProxyIds)
Set List of proxy IDs.
|
void |
setStatus(String Status)
Set Status of the origin protection configuration.
|
void |
setZoneId(String ZoneId)
Set ID of the site.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public OriginProtectionInfo()
public OriginProtectionInfo(OriginProtectionInfo source)
public String getZoneId()
public void setZoneId(String ZoneId)
ZoneId
- ID of the site.public String[] getHosts()
public void setHosts(String[] Hosts)
Hosts
- List of domain names.public String[] getProxyIds()
public void setProxyIds(String[] ProxyIds)
ProxyIds
- List of proxy IDs.public IPWhitelist getCurrentIPWhitelist()
public void setCurrentIPWhitelist(IPWhitelist CurrentIPWhitelist)
CurrentIPWhitelist
- The existing intermediate IPs.
Note: This field may return `null`, indicating that no valid values can be obtained.public Boolean getNeedUpdate()
public void setNeedUpdate(Boolean NeedUpdate)
NeedUpdate
- Whether the intermediate IP update is needed for the site. Values:
public String getStatus()
public void setStatus(String Status)
Status
- Status of the origin protection configuration. Values:
public Boolean getPlanSupport()
public void setPlanSupport(Boolean PlanSupport)
PlanSupport
- Whether origin protection is supported in the plan. Values:
public DiffIPWhitelist getDiffIPWhitelist()
public void setDiffIPWhitelist(DiffIPWhitelist DiffIPWhitelist)
DiffIPWhitelist
- Differences between the latest and existing intermediate IPs.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.