public class LoginWhiteListsRule extends AbstractModel
| Constructor and Description | 
|---|
| LoginWhiteListsRule() | 
| LoginWhiteListsRule(LoginWhiteListsRule 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 | getEndTime()Get End time | 
| 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 Start time | 
| String | getUserName()Get Whitelisted usernames (separated by commas) | 
| void | setEndTime(String EndTime)Set End time | 
| 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 Start time | 
| 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, toJsonStringpublic LoginWhiteListsRule()
public LoginWhiteListsRule(LoginWhiteListsRule source)
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 - Start timepublic String getEndTime()
public void setEndTime(String EndTime)
EndTime - End timeCopyright © 2023. All rights reserved.