public class LoginWhiteListsRule extends AbstractModel
Constructor and Description |
---|
LoginWhiteListsRule() |
Modifier and Type | Method and Description |
---|---|
String |
getEndTime()
Get
|
String |
getHostIp()
Get Server for which the allowlist takes effect
|
Long |
getId()
Get Rule ID, used for rule updating
|
Boolean |
getIsGlobal()
Get Whether this rule is applied to all servers under the current account
|
Place[] |
getPlaces()
Get Whitelisted location
|
String |
getSrcIp()
Get Whitelisted IPs (separated by commas).
|
String |
getStartTime()
Get
|
String |
getUserName()
Get Whitelisted usernames (separated by commas)
|
void |
setEndTime(String EndTime)
Set
|
void |
setHostIp(String HostIp)
Set Server for which the allowlist takes effect
|
void |
setId(Long Id)
Set Rule ID, used for rule updating
|
void |
setIsGlobal(Boolean IsGlobal)
Set Whether this rule is applied to all servers under the current account
|
void |
setPlaces(Place[] Places)
Set Whitelisted location
|
void |
setSrcIp(String SrcIp)
Set Whitelisted IPs (separated by commas).
|
void |
setStartTime(String StartTime)
Set
|
void |
setUserName(String UserName)
Set Whitelisted usernames (separated by commas)
|
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 Place[] getPlaces()
public void setPlaces(Place[] Places)
Places
- Whitelisted locationpublic String getSrcIp()
public void setSrcIp(String SrcIp)
SrcIp
- Whitelisted IPs (separated by commas). This parameter can be an IP range.public String getUserName()
public void setUserName(String UserName)
UserName
- Whitelisted usernames (separated by commas)public Boolean getIsGlobal()
public void setIsGlobal(Boolean IsGlobal)
IsGlobal
- Whether this rule is applied to all servers under the current accountpublic String getHostIp()
public void setHostIp(String HostIp)
HostIp
- Server for which the allowlist takes effectpublic Long getId()
public void setId(Long Id)
Id
- Rule ID, used for rule updatingpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Copyright © 2020. All rights reserved.