public class IPStrategy extends AbstractModel
Constructor and Description |
---|
IPStrategy() |
Modifier and Type | Method and Description |
---|---|
DesApisStatus[] |
getBindApis()
Get Bound API details.
|
Long |
getBindApiTotalCount()
Get Number of APIs bound to policy.
|
String |
getCreatedTime()
Get Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
String |
getModifiedTime()
Get Modification time
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getServiceId()
Get Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
String |
getStrategyData()
Get IP list.
|
String |
getStrategyId()
Get Unique policy ID.
|
String |
getStrategyName()
Get Custom policy name.
|
String |
getStrategyType()
Get Policy type.
|
void |
setBindApis(DesApisStatus[] BindApis)
Set Bound API details.
|
void |
setBindApiTotalCount(Long BindApiTotalCount)
Set Number of APIs bound to policy.
|
void |
setCreatedTime(String CreatedTime)
Set Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
void |
setModifiedTime(String ModifiedTime)
Set Modification time
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setServiceId(String ServiceId)
Set Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard.
|
void |
setStrategyData(String StrategyData)
Set IP list.
|
void |
setStrategyId(String StrategyId)
Set Unique policy ID.
|
void |
setStrategyName(String StrategyName)
Set Custom policy name.
|
void |
setStrategyType(String StrategyType)
Set Policy 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, toJsonString
public String getStrategyId()
public void setStrategyId(String StrategyId)
StrategyId
- Unique policy ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getStrategyName()
public void setStrategyName(String StrategyName)
StrategyName
- Custom policy name.
Note: this field may return null, indicating that no valid values can be obtained.public String getStrategyType()
public void setStrategyType(String StrategyType)
StrategyType
- Policy type. Valid values: WHITE (allowlist), BLACK (blocklist).
Note: this field may return null, indicating that no valid values can be obtained.public String getStrategyData()
public void setStrategyData(String StrategyData)
StrategyData
- IP list.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime
- Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Note: this field may return null, indicating that no valid values can be obtained.public String getModifiedTime()
public void setModifiedTime(String ModifiedTime)
ModifiedTime
- Modification time
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceId()
public void setServiceId(String ServiceId)
ServiceId
- Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Note: this field may return null, indicating that no valid values can be obtained.public Long getBindApiTotalCount()
public void setBindApiTotalCount(Long BindApiTotalCount)
BindApiTotalCount
- Number of APIs bound to policy.
Note: this field may return null, indicating that no valid values can be obtained.public DesApisStatus[] getBindApis()
public void setBindApis(DesApisStatus[] BindApis)
BindApis
- Bound API details.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.