public class RateLimitResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
RateLimitResponse() |
RateLimitResponse(RateLimitResponse 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 |
getBody()
Get 自定义响应体
注意:此字段可能返回 null,表示取不到有效值。
|
KVMapping[] |
getHeaders()
Get Headers
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getHttpStatus()
Get http状态码
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setBody(String Body)
Set 自定义响应体
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHeaders(KVMapping[] Headers)
Set Headers
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setHttpStatus(Long HttpStatus)
Set http状态码
注意:此字段可能返回 null,表示取不到有效值。
|
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, toJsonString
public RateLimitResponse()
public RateLimitResponse(RateLimitResponse source)
public String getBody()
public void setBody(String Body)
Body
- 自定义响应体
注意:此字段可能返回 null,表示取不到有效值。public KVMapping[] getHeaders()
public void setHeaders(KVMapping[] Headers)
Headers
- Headers
注意:此字段可能返回 null,表示取不到有效值。public Long getHttpStatus()
public void setHttpStatus(Long HttpStatus)
HttpStatus
- http状态码
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.