public class IpFreqLimit extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| IpFreqLimit() | 
| IpFreqLimit(IpFreqLimit 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 | 
|---|---|
| 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 value can be obtained. | 
| String | getSwitch()Get Whether to enable IP rate limit. | 
| 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 value can be obtained. | 
| void | setSwitch(String Switch)Set Whether to enable IP rate limit. | 
| 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 IpFreqLimit()
public IpFreqLimit(IpFreqLimit source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - Whether to enable IP rate limit. Values:
`on`: Enable
`off`: Disablepublic 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 value can be obtained.Copyright © 2025. All rights reserved.