public class IpFreqLimit extends AbstractModel
Constructor and Description |
---|
IpFreqLimit() |
Modifier and Type | Method and Description |
---|---|
Long |
getQps()
Get Sets the limited number of requests per second
514 will be returned for requests that exceed the limit
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getSwitch()
Get IP access limit configuration switch
on: enabled
off: disabled
|
void |
setQps(Long Qps)
Set Sets the limited number of requests per second
514 will be returned for requests that exceed the limit
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setSwitch(String Switch)
Set IP access limit configuration switch
on: enabled
off: disabled
|
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 getSwitch()
public void setSwitch(String Switch)
Switch
- IP access limit configuration switch
on: enabled
off: disabledpublic Long getQps()
public void setQps(Long Qps)
Qps
- Sets the limited number of requests per second
514 will be returned for requests that exceed the limit
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.