public class IPGroup extends AbstractModel
header, skipSign| Constructor and Description |
|---|
IPGroup() |
IPGroup(IPGroup 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[] |
getContent()
Get IP group content, supports ip and ip range.
|
Long |
getGroupId()
Get Group ID.
|
IPExpireInfo[] |
getIPExpireInfo()
Get Specifies the scheduled expiration information of the IP.
|
Long |
getIPTotalCount()
Get Number of ips or ranges in effect in the IP group.
|
String |
getName()
Get Group name.
|
void |
setContent(String[] Content)
Set IP group content, supports ip and ip range.
|
void |
setGroupId(Long GroupId)
Set Group ID.
|
void |
setIPExpireInfo(IPExpireInfo[] IPExpireInfo)
Set Specifies the scheduled expiration information of the IP.
|
void |
setIPTotalCount(Long IPTotalCount)
Set Number of ips or ranges in effect in the IP group.
|
void |
setName(String Name)
Set Group name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic IPGroup()
public IPGroup(IPGroup source)
public Long getGroupId()
public void setGroupId(Long GroupId)
GroupId - Group ID. Enter `0`.public String getName()
public void setName(String Name)
Name - Group name.public String[] getContent()
public void setContent(String[] Content)
Content - IP group content, supports ip and ip range.public Long getIPTotalCount()
public void setIPTotalCount(Long IPTotalCount)
IPTotalCount - Number of ips or ranges in effect in the IP group. valid as an output parameter, no need to specify this field as an input parameter.public IPExpireInfo[] getIPExpireInfo()
public void setIPExpireInfo(IPExpireInfo[] IPExpireInfo)
IPExpireInfo - Specifies the scheduled expiration information of the IP.
Specifies the IP address or IP range configuration with scheduled expiration time as an input parameter.
As an output parameter, contains the following two categories of information.
Copyright © 2025. All rights reserved.