Class Status.StatusBuilder
java.lang.Object
com.alibaba.dashscope.applications.agentstudio.common.Status.StatusBuilder
- Enclosing class:
- Status
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The error code from the server side.isJson(boolean isJson) The message is in json formatThe status messageThe request idstatusCode(int statusCode) The protocol (like http) status codetoString()usage(com.google.gson.JsonObject usage) The usage information.
-
Method Details
-
statusCode
The protocol (like http) status code- Returns:
this.
-
message
The status message- Returns:
this.
-
code
The error code from the server side.- Returns:
this.
-
isJson
The message is in json format- Returns:
this.
-
usage
The usage information.- Returns:
this.
-
requestId
The request id- Returns:
this.
-
build
-
toString
-